Fix: Properly toggle assignment bookmark

This commit is contained in:
Björn Fromme committed 2023-10-20 18:00:22 +02:00
1 parent 12cfdafd79
commit 30ce617cf7
2 files changed
+4 -6

No files matched your search

+3 -5
View File
@@ -43,11 +43,9 @@
Hier bewerben!
</a>
{% endif %}
{% if not isBookmarked %}
<a href="{{ path('app_teamer_bookmark_toggle', { 'uuid': assignment.uuid, 'r': return_url() }) }}" class="underline">
auf die Merkliste setzen
</a>
{% endif %}
<a href="{{ path('app_teamer_bookmark_toggle', { 'uuid': assignment.uuid, 'r': return_url() }) }}" class="underline">
{% if not isBookmarked %}auf die Merkliste setzen{% else %}von der Merkliste löschen{% endif %}
</a>
<a href="{{ returnUrl }}" class="underline">
zurück
</a>