From f6d0a96126bb4be4c5dc787945f1736c50a0eca8 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Thu, 19 Jun 2014 12:12:48 +0200 Subject: [PATCH] Show supporters on motion slide if available. --- CHANGELOG | 3 +++ openslides/motion/templates/motion/slide.html | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 8e28b5e64..a8a2bd2c3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,9 @@ Version 1.6.1 (unreleased) ========================== [https://github.com/OpenSlides/OpenSlides/issues?milestone=16] +Motions: +- Show supporters on motion slide if available. + Participants: - Fixed participant csv import for group id: * Allowed to add multiple groups in csv group id field, e.g. "3,4". diff --git a/openslides/motion/templates/motion/slide.html b/openslides/motion/templates/motion/slide.html index bd8804385..2a6c97f03 100644 --- a/openslides/motion/templates/motion/slide.html +++ b/openslides/motion/templates/motion/slide.html @@ -55,6 +55,17 @@ - {% endfor %} + + {% with motion.supporter.all as supporters %} + {% if supporters|length > 0 %} +

{% trans "Supporters" %}:

+ {% for supporter in supporters %} + {{ supporter.person }}{% if not forloop.last %},
{% endif %} + {% endfor %} +

+ {% endif %} + {% endwith %} + {% if motion.category %}

{% trans "Category" %}: