diff --git a/templates/admin/index.html.twig b/templates/admin/index.html.twig index b9469e8..d693332 100644 --- a/templates/admin/index.html.twig +++ b/templates/admin/index.html.twig @@ -3,30 +3,25 @@ {% block content %}
-

- Neue Bewerbungen +

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

- {% if newApplicationsCount > 0 or pendingApplicationsCount > 0 %} -

- {{ newApplicationsCount }} neu, {{ pendingApplicationsCount }} in Bearbeitung -

- {% endif %}
-

- Neue Dokumente +

+ Neue Dokumente + {% if newDocumentsCount > 0 or pendingDocumentsCount > 0 %} + {{ newDocumentsCount }} neu, {{ pendingDocumentsCount }} in Bearbeitung + {% endif %}

- {% if newDocumentsCount > 0 or pendingDocumentsCount > 0 %} -

- {{ newDocumentsCount }} neu {{ pendingDocumentsCount }} in Bearbeitung -

- {% endif %}
-

- Neue Feedbacks +

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

- {% if pendingFeedbacksCount > 0 %} -

- {{ pendingFeedbacksCount }} freizugeben -

- {% endif %}