feat: manually mark teamer as viewed

This commit is contained in:
Björn Fromme
2024-07-15 14:30:26 +02:00
parent e07238b983
commit dcaf338da8
3 changed files with 26 additions and 11 deletions
@@ -94,6 +94,13 @@
</td>
<td>
<div class="flex items-center space-x-1 justify-end">
{% if not teamer.viewed %}
<button type="button"
hx-post="{{ path('app_administrative_teamer_viewed', { 'uuid': teamer.uuid }) }}"
title="Teamer als gesichtet markieren">
{{ icon('check') }}
</button>
{% endif %}
{% if is_granted('CAN_IMPERSONATE', teamer.user) %}
<a href="{{ path('app_teamer_index', { '_switch_user': teamer.user.email }) }}" title="Als Teamer:in maskieren">
{{ icon('mask') }}