{% extends 'pendulum/pendulum_base.html' %}
{% load pendulum_tags %}
{% block title %}Pendulum Entries{% endblock %}
{% block content %}
«
{{ 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 |
{% 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.is_closed %}{% endif %}{{ entry.start_time|date:"j N Y" }}{% if entry.is_closed %}{% endif %}
|
{{ entry.start_time|date:"P" }} |
{% if entry.end_time %}
{{ entry.end_time|date:"P" }}{% else %}
Clock Out
{% endif %} |
{% if entry.end_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 %}
×
|
{% if entry.comments %}
{% endif %}
{% endfor %}
{% if entries %}