From f8b290fc45842e67e86a28e837bdac5fa536d0eb Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 30 Mar 2019 15:41:38 +0000 Subject: Add badges next to packages awaiting approval list --- app/templates/todo/list.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/templates') 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 @@
{% for p in packages %} + {% if p.getState() == "thread" %} + Thread + {% elif p.getState() == "ready" %} + Ready + {% elif p.getState() == "wip" %} + WIP + {% elif p.getState() == "license" %} + WIP + {% endif %} + {{ p.title }} by {{ p.author.display_name }} {% else %} -- cgit v1.2.3