{% extends 'timepiece/schedule/base.html' %} {% load url from future %} {% load bootstrap_toolkit %} {% block title %}Schedule for the Week of {{ week|date:'M j, Y' }}{% endblock %} {% block bodyid %}project-hours{% endblock bodyid %} {% block content %}

Schedule for the Week of {{ week|date:'M j, Y'}}

{{ form|as_bootstrap:"inline" }}
{% if perms.timepiece.add_projecthours %}
Edit Schedule
{% endif %}
{% if projects %} {% for id, first_name, last_name in users %} {% endfor %} {% for id, name, entries in projects %} {% for entry in entries %} {% endfor %} {% endfor %}
Project{{ first_name }} {{ last_name|first }}.
{{ name }} {% if entry %}{{ entry|floatformat:0 }}{% endif %}
{% else %}

There are no entries this week.

{% endif %}
{% endblock content %}