From fa0ffcf636a14cf4d6de01b85adbcc3c994f97fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 12 Nov 2026 11:13:30 +0100 Subject: [PATCH] style: show the dashboard boxes as cards --- templates/admin/index.html.twig | 88 ++++++++++++------------- templates/house_manager/index.html.twig | 12 ++-- templates/manager/index.html.twig | 36 +++++----- templates/teamer/index.html.twig | 30 ++++----- 4 files changed, 83 insertions(+), 83 deletions(-) diff --git a/templates/admin/index.html.twig b/templates/admin/index.html.twig index 801a635..03a8406 100644 --- a/templates/admin/index.html.twig +++ b/templates/admin/index.html.twig @@ -3,14 +3,14 @@ {% block content %}
-
-

- Neue Bewerbungen +
+

+ Neue Bewerbungen {% if newApplicationsCount > 0 or pendingApplicationsCount > 0 %} - {{ newApplicationsCount }} neu, {{ pendingApplicationsCount }} in Bearbeitung + {{ newApplicationsCount }} neu, {{ pendingApplicationsCount }} in Bearbeitung {% endif %}

-
    +
      {% for application in applications %} {% set assignment = application.assignment %}
    • @@ -33,11 +33,11 @@
-
-

+
+

Neue Einteilungen

-
    +
      {% for disposition in newDispositions %} {% set assignment = disposition.assignment %}
    • @@ -54,15 +54,15 @@
-
-

- Neue Honorarverträge +
+

+ Neue Honorarverträge {% if newContractsCount > 0 or pendingContractsCount > 0 %} - {{ newContractsCount }} neu, {{ pendingContractsCount }} in Bearbeitung + {{ newContractsCount }} neu, {{ pendingContractsCount }} in Bearbeitung {% endif %}

-
    +
      {% for document in newContracts %} {% set assignment = document.disposition.assignment %}
    • @@ -88,15 +88,15 @@
-
-

- Neue Honorarnoten +
+

+ Neue Honorarnoten {% if newInvoicesCount > 0 or pendingInvoicesCount > 0 %} - {{ newInvoicesCount }} neu, {{ pendingInvoicesCount }} in Bearbeitung + {{ newInvoicesCount }} neu, {{ pendingInvoicesCount }} in Bearbeitung {% endif %}

-
    +
      {% for document in newInvoices %} {% set assignment = document.disposition.assignment %}
    • @@ -121,15 +121,15 @@
-
-

- Neue Führerscheine +
+

+ Neue Führerscheine {% if newDriverLicensesCount > 0 %} - {{ newDriverLicensesCount }} neu + {{ newDriverLicensesCount }} neu {% endif %}

-
    +
      {% for document in newDriverLicenses %}
-
-

+
+

Neue Einsätze

-
    +
      {% for assignment in assignments %}
-
-

+ -
-

- Neue Feedbacks +
+

+ Neue Feedbacks {% if pendingFeedbacksCount > 0 %} - {{ pendingFeedbacksCount }} freizugeben + {{ pendingFeedbacksCount }} freizugeben {% endif %}

-
    +
      {% for feedback in feedbacks %}
-