make whole shift container clickable in team backend
This commit is contained in:
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 %}
|
||||
<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 %}
|
||||
<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>
|
||||
<a class="" href="{% url 'team:shift' shift.id %}">
|
||||
{% include "partials/shift_box.html" %}
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue