diff --git a/openslides/agenda/templates/agenda/item_row.html b/openslides/agenda/templates/agenda/item_row.html index b7bfe29a2..a318fb96a 100644 --- a/openslides/agenda/templates/agenda/item_row.html +++ b/openslides/agenda/templates/agenda/item_row.html @@ -20,8 +20,15 @@ {% if perms.agenda.can_manage_agenda %}
{% endif %} - {{ item }} - {% if item.related_sid %} + {{ item }} + {% if item.get_related_type == 'application' %} + ({% trans 'Application' %} + {% if item.get_related_slide.number %} + {{ item.get_related_slide.number }}) + {% else %} + [{% trans "no number" %}]) + {% endif %} + {% elif item.related_sid %} ({{ item.print_related_type }}) {% endif %} diff --git a/openslides/agenda/templates/agenda/widget.html b/openslides/agenda/templates/agenda/widget.html index 0df14acd9..18f6276c0 100644 --- a/openslides/agenda/templates/agenda/widget.html +++ b/openslides/agenda/templates/agenda/widget.html @@ -39,7 +39,17 @@ {% for p in item.get_ancestors %} {% endfor %} - {{ item }}{% if item.related_sid %} ({{ item.print_related_type }}){% endif %} + {{ item }} + {% if item.get_related_type == 'application' %} + ({% trans 'Application' %} + {% if item.get_related_slide.number %} + {{ item.get_related_slide.number }}) + {% else %} + [{% trans "no number" %}]) + {% endif %} + {% elif item.related_sid %} + ({{ item.print_related_type }}) + {% endif %} {% empty %}