feat: extend teamer dashboard

This commit is contained in:
Björn Fromme
2023-12-12 18:04:01 +01:00
parent 8ff59b3068
commit b5781df8d9
16 changed files with 286 additions and 30 deletions
+12 -8
View File
@@ -3,12 +3,14 @@
{% block content %}
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
<h2 class="font-bold text-lg">
<h2 class="font-bold text-lg pb-2">
Neue Bewerbungen
</h2>
<h3 class="font-bold pb-2">
{{ newApplicationsCount }} neu, {{ pendingApplicationsCount }} in Bearbeitung
</h3>
{% if newApplicationsCount > 0 or pendingApplicationsCount > 0 %}
<h3 class="font-bold pb-2">
{{ newApplicationsCount }} neu, {{ pendingApplicationsCount }} in Bearbeitung
</h3>
{% endif %}
<ul class="divide-y divide-gray-200">
{% for application in applications %}
{% set assignment = application.assignment %}
@@ -32,12 +34,14 @@
</ul>
</div>
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
<h2 class="font-bold text-lg">
<h2 class="font-bold text-lg pb-2">
Neue Dokumente
</h2>
<h3 class="font-bold pb-2">
{{ newDocumentsCount }} neu {{ pendingDocumentsCount }} in Bearbeitung
</h3>
{% if newDocumentsCount > 0 or pendingDocumentsCount > 0 %}
<h3 class="font-bold pb-2">
{{ newDocumentsCount }} neu {{ pendingDocumentsCount }} in Bearbeitung
</h3>
{% endif %}
<ul class="divide-y divide-gray-200">
{% for document in documents %}
<li class="py-2 first:pt-0 last:pb-0">