diff --git a/froide_govplan/templates/froide_govplan/plugins/updates.html b/froide_govplan/templates/froide_govplan/plugins/updates.html index 1345608..ae0b7da 100644 --- a/froide_govplan/templates/froide_govplan/plugins/updates.html +++ b/froide_govplan/templates/froide_govplan/plugins/updates.html @@ -3,52 +3,50 @@ {% for update in updates %} {% if wrapper_classes %}
{% endif %}
-
- -
-
- {% if show_context %} -
- - {{ update.plan.get_section }} - -
- {% endif %} -

- {% if show_context %} - {{ update.plan }} - {% else %} - {{ update.title }} - {% endif %} -

-
-
- - {% if update.user %}von {{ update.user.get_full_name }}{% endif %}{% if update.organization %}, {{ update.organization.name }}{% endif %} -
-
-
- {% if update.content %} -
+ +
+
{% if show_context %} -

{{ update.title }}

+
+ + {{ update.plan.get_section }} + +
{% endif %} - {{ update.content|markdown }} +

+ {% if show_context %} + {{ update.plan }} + {% else %} + {{ update.title }} + {% endif %} +

+
+
+ + {% if update.user %}von {{ update.user.get_full_name }}{% endif %}{% if update.organization %}, {{ update.organization.name }}{% endif %}
+
+
+ {% if update.content %} +
+ {% if show_context %} +

{{ update.title }}

+ {% endif %} + {{ update.content|markdown }} +
+ {% endif %} + + {% if update.url or update.foirequest %} +
+ {% if update.url %} + → Mehr auf {{ update.get_url_domain }} lesen… {% endif %} - {% if update.url or update.foirequest %} -
- {% if update.url %} - → Mehr auf {{ update.get_url_domain }} lesen… - {% endif %} - - {% if update.foirequest %} - → zur Anfrage - {% endif %} -
+ {% if update.foirequest %} + → zur Anfrage {% endif %}
+ {% endif %}
{% if wrapper_classes %}
{% endif %} {% endfor %} \ No newline at end of file