diff --git a/openslides/agenda/templates/agenda/item_row.html b/openslides/agenda/templates/agenda/item_row.html index 89fc545a0..f6a39e51b 100644 --- a/openslides/agenda/templates/agenda/item_row.html +++ b/openslides/agenda/templates/agenda/item_row.html @@ -83,5 +83,8 @@ {% endwith %} {% if node.type == node.ORGANIZATIONAL_ITEM %}[{% endif %}{{ node }}{% if node.type == node.ORGANIZATIONAL_ITEM %}]{% endif %} {{ node.get_title_supplement|safe }} + {% for tag in node.tags.all %} + {{ tag }} + {% endfor %} diff --git a/openslides/agenda/templates/agenda/overview.html b/openslides/agenda/templates/agenda/overview.html index eaee7a1f2..19de2f53d 100644 --- a/openslides/agenda/templates/agenda/overview.html +++ b/openslides/agenda/templates/agenda/overview.html @@ -41,7 +41,7 @@ {% endif %} {% if perms.core.can_manage_tags %} - + {% trans 'Tags' %} {% endif %} diff --git a/openslides/agenda/templates/agenda/view.html b/openslides/agenda/templates/agenda/view.html index 99813b900..adb9d5b46 100644 --- a/openslides/agenda/templates/agenda/view.html +++ b/openslides/agenda/templates/agenda/view.html @@ -41,6 +41,13 @@ + + +{% for tag in item.tags.all %} + {{ tag }} +{% endfor %} + +
{% if not item.content_object %} {{ item.text|safe }} @@ -49,6 +56,7 @@ {% endif %}
+ {% if perms.agenda.can_manage_agenda %} {% if item.comment %}{% if perms.agenda.can_manage_agenda %} diff --git a/openslides/agenda/templates/search/indexes/agenda/item_text.txt b/openslides/agenda/templates/search/indexes/agenda/item_text.txt index 61e3e6538..b7c4eae96 100644 --- a/openslides/agenda/templates/search/indexes/agenda/item_text.txt +++ b/openslides/agenda/templates/search/indexes/agenda/item_text.txt @@ -1,2 +1,3 @@ {{ object.title }} {{ object.text }} +{{ object.tags.all }} diff --git a/openslides/assignment/templates/assignment/assignment_detail.html b/openslides/assignment/templates/assignment/assignment_detail.html index 2744f5f4a..c50f09f25 100644 --- a/openslides/assignment/templates/assignment/assignment_detail.html +++ b/openslides/assignment/templates/assignment/assignment_detail.html @@ -50,6 +50,11 @@ + +{% for tag in assignment.tags.all %} + {{ tag }} +{% endfor %} +
{% trans "Tag name" %} | +{% trans "Tag" %} | {% trans "Actions" %} |
---|
{% trans "You can use these tags for agenda items, motions and elections." %}
{% endblock %} {% block javascript %} diff --git a/openslides/motion/templates/motion/motion_detail.html b/openslides/motion/templates/motion/motion_detail.html index 306a9193c..2add57d23 100644 --- a/openslides/motion/templates/motion/motion_detail.html +++ b/openslides/motion/templates/motion/motion_detail.html @@ -71,8 +71,6 @@ -{{ motion.tags.all|join:', ' }} -@@ -268,13 +268,19 @@ {% endwith %} -