From 2f2371d8df320eccb92e75cc68a918ebaebd236a Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 19 Jun 2025 17:50:03 +0200 Subject: [PATCH] feat: Rework update queue to use card --- .../partial-check-adoption-notice.html | 56 +++++++++++-------- .../fellchensammlung/updatequeue.html | 4 +- 2 files changed, 34 insertions(+), 26 deletions(-) diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/partial-check-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/partials/partial-check-adoption-notice.html index fbdf114..70b5c6e 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/partial-check-adoption-notice.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/partial-check-adoption-notice.html @@ -1,29 +1,37 @@ {% load i18n %} {% load custom_tags %}
-

- {{ adoption_notice.name }} -

- {% translate 'Zuletzt geprüft:' %} {{ adoption_notice.last_checked_hr }} - {% if adoption_notice.further_information %} -

{% translate "Externe Quelle" %}: {{ adoption_notice.link_to_more_information | safe }}

- {% endif %} -
-
- {% csrf_token %} - - - -
-
- {% csrf_token %} - - - -
+ +
+ {{ adoption_notice.name }} +
+
+
+ {% translate 'Zuletzt geprüft:' %} {{ adoption_notice.last_checked_hr }} + {% if adoption_notice.further_information %} +

{% translate "Externe Quelle" %}: {{ adoption_notice.link_to_more_information | safe }}

+ {% endif %} +
\ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/updatequeue.html b/src/fellchensammlung/templates/fellchensammlung/updatequeue.html index 41abdd5..384f7f1 100644 --- a/src/fellchensammlung/templates/fellchensammlung/updatequeue.html +++ b/src/fellchensammlung/templates/fellchensammlung/updatequeue.html @@ -3,13 +3,13 @@ {% block content %}

{% translate "Aktualitätscheck" %}

{% translate "Überprüfe ob Vermittlungen noch aktuell sind" %}

-
+

{% translate 'Deaktivierte Vermittlungen zur Überprüfung' %}

{% for adoption_notice in adoption_notices_disabled %} {% include "fellchensammlung/partials/partial-check-adoption-notice.html" %} {% endfor %}
-
+

{% translate 'Aktive Vermittlungen zur Überprüfung' %}

{% for adoption_notice in adoption_notices_active %} {% include "fellchensammlung/partials/partial-check-adoption-notice.html" %}