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
@@ -23,9 +23,8 @@
Gesamtnote
</th>
<th>
Kommentar
Kommentar öffentlich/intern
</th>
<th></th>
</tr>
</thead>
<tbody>
@@ -40,25 +39,25 @@
</td>
<td>
{% if disposition.feedback %}
{{ disposition.feedback.averageRating }}
{{ (disposition.feedback.averageRating/100)|format_number({fraction_digit: 2}) }}
{% else %}
-
{% endif %}
</td>
<td>
{% if disposition.feedback %}
<div class="truncate">
<div class="divide-y">
<div class="pb-2">
{{ disposition.feedback.comment|default('-') }}
</div>
<div class="pt-2">
{{ disposition.feedback.commentInternal|default('-') }}
</div>
</div>
{% else %}
-
{% endif %}
</td>
<td>
<button>
{{ icon('feedback') }}
</button>
</td>
</tr>
{% else %}
<td colspan="7">