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

AKSubmission: Show placeholder for slots with nonspecified rooms in slot table on AK detail page

parent eddf9aa5
No related branches found
No related tags found
No related merge requests found
...@@ -193,10 +193,14 @@ ...@@ -193,10 +193,14 @@
<td>{{ slot.duration_simplified }}</td> <td>{{ slot.duration_simplified }}</td>
{% if not ak.event.plan_hidden or user.is_staff %} {% if not ak.event.plan_hidden or user.is_staff %}
<td> <td>
{% if "AKPlan"|check_app_installed and slot.room %} {% if slot.room %}
<a href="{% url 'plan:plan_room' event_slug=ak.event.slug pk=slot.room.pk %}">{{ slot.room }}</a> {% 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 %} {% else %}
{{ slot.room }} -
{% endif %} {% endif %}
</td> </td>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment