Skip to content
Snippets Groups Projects
Commit f73f1a72 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Fix link in AKSlot admin

parent 65f06367
Branches
No related tags found
No related merge requests found
......@@ -422,8 +422,8 @@ class AKSlotAdmin(EventTimezoneFormMixin, PrepopulateWithNextActiveEventMixin, a
:rtype: str
"""
if apps.is_installed("AKSubmission") and akslot.ak is not None:
link = f"<a href={{ akslot.detail_url }}>{str(akslot.ak)}</a>"
return mark_safe(link)
link = f"<a href='{ akslot.ak.detail_url }'>{str(akslot.ak)}</a>"
return mark_safe(str(link))
return "-"
ak_details_link.short_description = _('AK Details')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment