diff --git a/AKSubmission/templates/AKSubmission/ak_detail.html b/AKSubmission/templates/AKSubmission/ak_detail.html index d9d661ff93366a066fe29082fd22d7ac66552c28..7dd41ea5886385c15df85fe5c94701f5c13cd97a 100644 --- a/AKSubmission/templates/AKSubmission/ak_detail.html +++ b/AKSubmission/templates/AKSubmission/ak_detail.html @@ -193,10 +193,14 @@ <td>{{ slot.duration_simplified }}</td> {% if not ak.event.plan_hidden or user.is_staff %} <td> - {% if "AKPlan"|check_app_installed and slot.room %} - <a href="{% url 'plan:plan_room' event_slug=ak.event.slug pk=slot.room.pk %}">{{ slot.room }}</a> + {% if slot.room %} + {% if "AKPlan"|check_app_installed %} + <a href="{% url 'plan:plan_room' event_slug=ak.event.slug pk=slot.room.pk %}">{{ slot.room }}</a> + {% else %} + {{ slot.room }} + {% endif %} {% else %} - {{ slot.room }} + - {% endif %} </td> {% endif %}