From 0963524a0632a92d38defa6a3a22c33009610e65 Mon Sep 17 00:00:00 2001 From: krmax44 Date: Thu, 17 Mar 2022 17:10:09 +0100 Subject: [PATCH] adjust update card spacing --- .../froide_govplan/plugins/updates.html | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/froide_govplan/templates/froide_govplan/plugins/updates.html b/froide_govplan/templates/froide_govplan/plugins/updates.html index ae0b7da..bfda4db 100644 --- a/froide_govplan/templates/froide_govplan/plugins/updates.html +++ b/froide_govplan/templates/froide_govplan/plugins/updates.html @@ -5,22 +5,19 @@
-
- {% if show_context %} -
- - {{ update.plan.get_section }} - -
+ {% if show_context %} +
+ + {{ update.plan.get_section }} + {% endif %} -

- {% if show_context %} - {{ update.plan }} - {% else %} - {{ update.title }} - {% 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 %}