diff options
Diffstat (limited to 'app/templates/todo/list.html')
| -rw-r--r-- | app/templates/todo/list.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/templates/todo/list.html b/app/templates/todo/list.html index c3b8118..30b90bb 100644 --- a/app/templates/todo/list.html +++ b/app/templates/todo/list.html @@ -34,7 +34,11 @@ <div class="list-group list-group-flush"> {% for p in wip_packages %} <a href="{{ p.getDetailsURL() }}" class="list-group-item list-group-item-action"> - <span class="mr-2 badge badge-warning">{{ p.state.value }}</span> + {% if p.state == p.state.WIP %} + <span class="mr-2 badge badge-warning">WIP</span> + {% else %} + <span class="mr-2 badge badge-danger">{{ p.state.value }}</span> + {% endif %} {{ p.title }} by {{ p.author.display_name }} </a> |
