{% load static %} {% for project in projects %}

{{project.name}}

{{project.open_user_tasks_count}} Open {% if project.open_user_tasks_count == 1 %} Task {% else %} Tasks {% endif %}

Total Time: {{project.total_time_worked_hours}}hr {{project.total_time_worked_minutes}}min {{project.total_time_worked_seconds}}sec

View Edit
{% if project.note_set.exists %} {% with last_note=project.note_set.last %}

{{ last_note.text }}

{% endwith %} {% else %}

No Recent Note

{% endif %}
{% endfor %}