free shifts in team view, eye candy
parent
bf3b276e39
commit
4048c7d9ac
@ -0,0 +1,3 @@
|
||||
<li class="box"><b>{{ shift.room.name }}</b> {{ shift.start_at }} ({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})
|
||||
<a class="button is-info is-small" href="{% url 'team:shift' shift.id %}">Details</a>
|
||||
</li>
|
@ -1,11 +1,11 @@
|
||||
{% extends "team_base.html" %}
|
||||
|
||||
{% block title %}Alle Schichten{% endblock %}
|
||||
{% block title %}{{title}}{% endblock %}
|
||||
{% block content %}
|
||||
<h2>Schichten</h2>
|
||||
<h3 class="title is-3">{{title}}</h3>
|
||||
<ul>
|
||||
{% for shift in object_list %}
|
||||
<li>{{ shift.room.name }} {{ shift.start_at }}({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})<a href="{% url 'team:shift' shift.id %}">Details</a></li>
|
||||
{% include "partials/shift_list_item.html" %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue