{% extends "w_base.html" %} {% load static from staticfiles %} {% load request_tags %} {% load bootstrap %} {% load workshift_tags %} {% block w_content %}
{% if prev_day %} {% endif %}

{{ day|date:"D., N d, Y" }}

{% if next_day %} {% endif %}
{% for shift, forms in day_shifts %} {% endfor %}
Title Starts Ends Hours Workshifter Verifier Action
{{ shift.title }} {{ shift.start_time }} {{ shift.end_time }} {% if shift.intended_hours == shift.hours %} {{ shift.hours }} {% else %} {{ shift.intended_hours}} {{ shift.hours }} {% endif %} {% if shift.workshifter %} {{ shift.workshifter.user.get_full_name }} {% elif shift.liable %} {{ shift.liable.user.get_full_name }} {% endif %} {% if shift.blown %} BLOWN {% elif shift.verifier %} {{ shift.verifier.user.get_full_name }} {% endif %} {% for form in forms %}
{% csrf_token %} {{ form }}
{% endfor %}
{% if week_shifts %}

Weeklong Shifts

{% for shift, forms in week_shifts %} {% endfor %}
Title Hours Workshifter Verifier Action
{{ shift.title }} {% if shift.intended_hours == shift.hours %} {{ shift.hours }} {% else %} {{ shift.intended_hours}} {{ shift.hours }} {% endif %} {% if shift.workshifter %} {{ shift.workshifter.user.get_full_name }} {% endif %} {% if shift.blown %} BLOWN {% elif shift.verify == 'A' %} Auto Verify {% elif shift.verifier %} {{ shift.verifier.user.get_full_name }} {% elif shift.liable %} {{ shift.liable.user.get_full_name }} {% endif %} {% for form in forms %}
{% csrf_token %} {{ form }}
{% endfor %}
{% endif %} {% endblock %} {% block sidebartop %}
{% if switch_form %}
{% csrf_token %} {{ switch_form|bootstrap }}
{% endif %} {% endblock %} {% block w_endscripts %} {% endblock %}