aboutsummaryrefslogtreecommitdiff
path: root/app/templates/todo
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/todo')
-rw-r--r--app/templates/todo/list.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/templates/todo/list.html b/app/templates/todo/list.html
index 2a6fa5e..3eb3251 100644
--- a/app/templates/todo/list.html
+++ b/app/templates/todo/list.html
@@ -15,6 +15,16 @@
<div class="list-group list-group-flush">
{% for p in packages %}
<a href="{{ p.getDetailsURL() }}" class="list-group-item list-group-item-action">
+ {% if p.getState() == "thread" %}
+ <span class="mr-2 badge badge-danger">Thread</span>
+ {% elif p.getState() == "ready" %}
+ <span class="mr-2 badge badge-success">Ready</span>
+ {% elif p.getState() == "wip" %}
+ <span class="mr-2 badge badge-warning">WIP</span>
+ {% elif p.getState() == "license" %}
+ <span class="mr-2 badge badge-info">WIP</span>
+ {% endif %}
+
{{ p.title }} by {{ p.author.display_name }}
</a>
{% else %}