{% extends 'pendulum/pendulum_base.html' %} {% load pendulum_tags %} {% block title %}Pendulum Entries{% endblock %} {% block content %}

Pendulum Entries

{{ block.super }} {% for entry in entries %} {% with entry.start_time|date:"W" as week_of_year %} {% ifchanged week_of_year %}{% week_totals entry.start_time.date %}{% endifchanged %} {% endwith %} {% ifchanged entry.start_time.date %}{% day_totals entry.start_time.date %}{% endifchanged %} {% if entry.seconds_paused %}{% endif %} {% if entry.comments %}{% endif %} {% endfor %}
« {{ period.0|date:"N j, Y" }} - {{ period.1|date:"N j, Y" }} {% if has_next %} » {% else %} » {% endif %}
Date Start Time End Time Hours Project Activity
{{ entry.start_time|date:"P" }} {% if entry.end_time %} {{ entry.end_time|date:"P" }}{% else %} Clock Out {% endif %} {% if entry.end_time %} {{ entry.total_time }}
({{ entry.hours }}){% else %} {% if entry.is_paused %} Unpause {% else %} Pause {% endif %} {% endif %}
{{ entry.project }} {% if entry.activity.code %} {{ entry.activity.code }} {% else %} ... {% endif %} {% if entry.is_closed %}δ{% endif %} ×
  Breaks: {{ entry.paused_time }}  
{{ entry.comments }}
{% if entries %}
Statistics
Projects Activities
{% entries_projects entries as projects %} {% for project in projects %} {% if forloop.first %}{% endif %} {% if forloop.last %}
{{ project.name }} {% time_in_period project period %} ({% filter floatformat:2 %}{% hours_in_period project period %}{% endfilter %})
{% endif %} {% endfor %}
{% entries_activities entries as activities %} {% for activity in activities %} {% if forloop.first %}{% endif %} {% if forloop.last %}
{{ activity.name }} {% time_in_period activity period %} ({% filter floatformat:2 %}{% hours_in_period activity period %}{% endfilter %})
{% endif %} {% endfor %}
Total Hours {% total_time_for_period period user %} ({% filter floatformat:2 %}{% total_hours_for_period period user %}{% endfilter %})
Total Entries {{ entries.count }}
{% endif %} {% endblock %}