From 0f49a4c85c51833186c4fb0f2e040149f0b6345e Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sun, 14 Sep 2025 11:18:56 +0200 Subject: [PATCH] fix update card styling --- .../froide_govplan/plugins/updates.html | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/froide_govplan/templates/froide_govplan/plugins/updates.html b/froide_govplan/templates/froide_govplan/plugins/updates.html index f448620..739cb7d 100644 --- a/froide_govplan/templates/froide_govplan/plugins/updates.html +++ b/froide_govplan/templates/froide_govplan/plugins/updates.html @@ -1,5 +1,18 @@ {% load markup %} + + + {% if request.path == '/' %}
@@ -97,6 +110,7 @@
+ {% else %}
@@ -106,7 +120,7 @@

-
+
{% for update in updates %}
@@ -119,9 +133,17 @@ {% endif %} {% if show_context %} -

{{ update.plan }}

+

+ + {{ update.plan }} + +

{% else %} -

{{ update.title }}

+

+ + {{ update.title }} + +

{% endif %}