Skip to content
Snippets Groups Projects
Commit eddf9aa5 authored by Nils Steinger's avatar Nils Steinger
Browse files

Reorder AK timeslot columns: Display actual time first

parent ef9c473d
No related branches found
No related tags found
1 merge request!76Readable AK times on details page
......@@ -174,9 +174,11 @@
<table class="table">
<thead>
<tr>
<th>{% trans "Duration" %}</th>
{% if not ak.event.plan_hidden or user.is_staff %}
<th>{% trans "When?" %}</th>
{% endif %}
<th>{% trans "Duration" %}</th>
{% if not ak.event.plan_hidden or user.is_staff %}
<th>{% trans "Room" %}</th>
{% endif %}
<th></th>
......@@ -185,9 +187,11 @@
<tbody>
{% for slot in ak.akslot_set.all %}
<tr>
<td>{{ slot.duration_simplified }}</td>
{% if not ak.event.plan_hidden or user.is_staff %}
<td>{{ slot.time_simplified }}</td>
{% endif %}
<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>
......
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