From 2a7318eca205f40c35c51d3bf7c89dc9f2b635f8 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 17 Jul 2020 22:08:34 +0100 Subject: Add descriptions to tags, and show in multiselect --- app/templates/admin/tags/edit.html | 1 + app/templates/admin/tags/list.html | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'app/templates/admin') diff --git a/app/templates/admin/tags/edit.html b/app/templates/admin/tags/edit.html index f25312e..bb8d462 100644 --- a/app/templates/admin/tags/edit.html +++ b/app/templates/admin/tags/edit.html @@ -17,6 +17,7 @@ {{ form.hidden_tag() }} {{ render_field(form.title) }} + {{ render_field(form.description) }} {% if tag %} {{ render_field(form.name) }} {% endif %} diff --git a/app/templates/admin/tags/list.html b/app/templates/admin/tags/list.html index 8db66ca..14baf02 100644 --- a/app/templates/admin/tags/list.html +++ b/app/templates/admin/tags/list.html @@ -14,13 +14,16 @@

-
-
+
{{ _("Name") }}
+
+ {{ _("Description") }} +
+ {{ _("Views") }} @@ -35,10 +38,14 @@
-
+
{{ t.title }}
+
+ {{ t.description or "" }} +
+
{{ t.views }}
-- cgit v1.2.3