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

{{ page_name }}


Details

{% if pool.managers.count %}
Managers
{% for pos in pool.managers.all %} {% if not forloop.first %}, {% endif %} {{ pos.title }} {% if pos.incumbent %} ({{ pos.incumbent }}) {% else %} (No incumbent) {% endif %} {% endfor %}
{% endif %}
Hour Requirements
{{ pool.show_hours }} 
{% if pool.first_fine_date %}
First Fine Date
{{ pool.first_fine_date }}
{% endif %} {% if pool.second_fine_date %}
Second Fine Date
{{ pool.second_fine_date }}
{% endif %} {% if pool.third_fine_date %}
Third Fine Date
{{ pool.third_fine_date }}
{% endif %}
{% if shifts %}

Recurring Workshifts

{% for shift in shifts %} {% endfor %}
Title Days Starts Ends Hours Workshifter
{{ shift.workshift_type.title }} {% if shift.week_long %} Week long {% else %} {{ shift.get_day_display }} {% endif %} {% if shift.start_time %}{{ shift.start_time }}{% endif %} {% if shift.end_time %}{{ shift.end_time }}{% endif %} {{ shift.hours }} {% if shift.current_assignee %} {% for assignee in shift.current_assignees.all %}{% if not forloop.first %}, {% endif %}{{ shift.current_assignee.user.get_full_name }}{% endfor %} {% endif %}
{% if shifts.count > 10 %} {% with id_prefix="recurring" %} {% include "pager.html" %} {% endwith %} {% endif %} {% endif %} {% if upcoming_pool_shifts %} {% if shifts %}
{% endif %}

Vacant Shifts

{% for shift, form in upcoming_pool_shifts %} {% endfor %}
Title Date Starts Ends Sign In
{{ shift.title }} {{ shift.date }} {{ shift.start_time }} {{ shift.end_time }}
{% csrf_token %}{{ form }}
{% if upcoming_pool_shifts|length > 10 %} {% with id_prefix="vacant" %} {% include "pager.html" %} {% endwith %} {% endif %} {% endif %}
{% endblock %} {% block w_endscripts %} {% endblock %}