diff --git a/openslides/agenda/templates/agenda/item_row.html b/openslides/agenda/templates/agenda/item_row.html index 1ae13e9c2..386f00ee8 100644 --- a/openslides/agenda/templates/agenda/item_row.html +++ b/openslides/agenda/templates/agenda/item_row.html @@ -31,7 +31,7 @@ {% if perms.agenda.can_see_orga_items %}
Titel: {{ motion.title }}
-Text: {{ motion.text }}
-Reason: {{ motion.reason }}
-Submitter: {% for submitter in motion.submitter.all %}{{ submitter.person }} {% endfor %}
-Supporter: {% for supporter in motion.supporter.all %}{{ supporter.person }} {% endfor %}
-Active Version: {{ motion.active_version }}
-State: {{ motion.state }}
-+ | {% trans "Version" %} | +{% trans "Time" %} | +{% trans "Title" %} | +{% trans "Text" %} | +{% trans "Reason" %} | +
---|---|---|---|---|---|
+ {% if version == motion.active_version %} + + {% else %} + {% if perms.motion.can_manage_motion %} + + {% endif %} + {% if not version.rejected and version.id > motion.active_version.id and perms.motion.can_manage_motion %} + + {% endif %} + {% endif %} + {% if version.rejected %} + + {% endif %} + | +{{ version.version_number }} | +{{ version.creation_time }} | ++ {% ifchanged %} + {{ version.title }} + {% else %} + [{% trans "unchanged" %}] + {% endifchanged %} + | ++ {% ifchanged %} + {{ version.text|linebreaks }} + {% else %} + [{% trans "unchanged" %}] + {% endifchanged %} + | ++ {% ifchanged %} + {{ version.reason|linebreaks }} + {% else %} + [{% trans "unchanged" %}] + {% endifchanged %} + | +
{% trans "#" %} | +{% trans "Motion title" %} | + {% if min_supporters > 0 %} +{% trans "Number of supporters" %} | + {% endif %} +{% trans "Status" %} | +{% trans "Submitter" %} | +{% trans "Creation Time" %} | +{% trans "Actions" %} | +
---|---|---|---|---|---|---|
{{ motion.number }} | +{{ motion.title }} | + {% if min_supporters > 0 %} +{# motion.count_supporters #} | + {% endif %} +{{ motion.state }} | ++ {% for submitter in motion.submitter.all %} + {{ submitter.person }}{% if not forloop.last %}, {% endif %} + {% endfor %} + | + {# TODO: user creation_time of _first_ version #} +{{ motion.version.creation_time }} | ++ + {% if perms.projector.can_manage_projector %} + + + + {% endif %} + {% if perms.motion.can_manage_motion %} + + + + {% if "delete" in useractions %} + + + + {% endif %} + {% endif %} + + PDF + + + | +
{% trans "No motions available." %} | +