feat: display new and pending feedbacks on admin dashboard

This commit is contained in:
Björn Fromme
2023-12-06 18:14:49 +01:00
parent 62d8d4d253
commit 7824153836
3 changed files with 53 additions and 10 deletions
+26
View File
@@ -110,5 +110,31 @@
{% endfor %}
</ul>
</div>
<div class="bg-gray-100 border border-gray-200 rounded-md px-4 py-2">
<h2 class="font-bold text-lg pb-2">
Neue Feedbacks
</h2>
<h3 class="font-bold pb-2">
{{ pendingFeedbacksCount }} freizugeben
</h3>
<ul class="divide-y divide-gray-200">
{% for feedback in feedbacks %}
<li class="py-2 first:pt-0 last:pb-0">
<a href="#" class="flex items-center space-x-1 truncate">
{{ icon('feedback', 'w-4 h-4 shrink-0') }}
<span class="whitespace-nowrap">{{ feedback.teamer }}</span>
{{ _self.dot() }}
<span class="whitespace-nowrap">{{ feedback.destinationName }}</span>
{{ _self.dot() }}
<span class="whitespace-nowrap">{{ feedback.jobProfileName }}</span>
</a>
</li>
{% else %}
<li class="py-2 first:pt-0 last:pb-0">
-
</li>
{% endfor %}
</ul>
</div>
</div>
{% endblock %}