{% extends 'base.html' %} {% load commonmark %} {% load bootstrap3 %} {% block content %} Back to team detail
{% if request.user in team.responsible_members.all %} Create a single shift Create multiple shifts {% endif %} {% for shift in shifts %} {% ifchanged shift.shift_range.lower|date:'d' %}

{{ shift.shift_range.lower|date:'Y-m-d l' }}

From To People required People Actions {% endifchanged %}
{{ shift.shift_range.lower|date:'H:i' }} {{ shift.shift_range.upper|date:'H:i' }} {{ shift.people_required }} {{ shift.team_members }} {% if request.user in team.responsible_members.all %} Edit Delete {% endif %} {% endfor %}
{% endblock %}