make whole shift container clickable in team backend

pull/1/head
parent 63925b2893
commit f9da38e4f1

@ -10,7 +10,9 @@
<h5 class="subtitle">Schichten</h5>
<div class="columns is-multiline">
{% for reg in helper.shiftregistration_set.all %}
{% include 'partials/shift_list_item.html' with shift=reg.shift %}
<a class="" href="{% url 'team:shift' reg.shift.id %}">
{% include 'partials/shift_list_item.html' with shift=reg.shift %}
</a>
{% endfor %}
</div>
{% endblock %}

@ -6,7 +6,9 @@
<h3 class="title">{{ title }}</h3>
<div class="columns is-multiline">
{% for shift in object_list %}
{% include "partials/shift_list_item.html" %}
<a class="" href="{% url 'team:shift' shift.id %}">
{% include "partials/shift_list_item.html" %}
</a>
{% endfor %}
</div>
{% endblock %}

@ -17,7 +17,9 @@
{% for shift in next_shifts %}
<div class="column is-one-quarter">
<h5 class="subtitle">{{ shift.room.name }}</h5>
{% include "partials/shift_box.html" %}
<a class="" href="{% url 'team:shift' shift.id %}">
{% include "partials/shift_box.html" %}
</a>
</div>
{% endfor %}
</div>

Loading…
Cancel
Save