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 @@ ...@@ -174,9 +174,11 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>{% trans "Duration" %}</th>
{% if not ak.event.plan_hidden or user.is_staff %} {% if not ak.event.plan_hidden or user.is_staff %}
<th>{% trans "When?" %}</th> <th>{% trans "When?" %}</th>
{% endif %}
<th>{% trans "Duration" %}</th>
{% if not ak.event.plan_hidden or user.is_staff %}
<th>{% trans "Room" %}</th> <th>{% trans "Room" %}</th>
{% endif %} {% endif %}
<th></th> <th></th>
...@@ -185,9 +187,11 @@ ...@@ -185,9 +187,11 @@
<tbody> <tbody>
{% for slot in ak.akslot_set.all %} {% for slot in ak.akslot_set.all %}
<tr> <tr>
<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>{{ slot.time_simplified }}</td> <td>{{ slot.time_simplified }}</td>
{% endif %}
<td>{{ slot.duration_simplified }}</td>
{% if not ak.event.plan_hidden or user.is_staff %}
<td> <td>
{% if "AKPlan"|check_app_installed and slot.room %} {% 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> <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