Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
now extends base.html
Browse files Browse the repository at this point in the history
  • Loading branch information
snarlygoster committed May 24, 2012
1 parent ecbc2de commit aa6dcce
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions templates/timeclock/work_totals.html
@@ -1,11 +1,8 @@
{% extends 'timeclock/base.html' %}
{% load timedelta %}
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Work Totals</title>
</head>
<body>
{% block title %}Work Totals{% endblock title %}

{% block content %}

{% if params %}
<ul>
Expand Down Expand Up @@ -35,14 +32,14 @@ <h2>By Job</h2>
{% for job,details in jobs.items %}
<li>{{job.ticket}} -- {{details.total|timedelta_fmt}}
<ul>

{% for wp in details.work_periods %}
<li>{{ wp.worker.name }} {{ wp.start_time|date:"M d H:i" }} {{ wp.duration|timedelta_fmt }}</li>
{% endfor %}

</ul>
{% endfor %}

</ul>
<table>
<tr><th>Complete</th><th>ticket</th><th>description</th><th>total hours:minutes</th></tr>
Expand Down Expand Up @@ -72,5 +69,4 @@ <h2>By Person</h2>
</tr>
{% endfor %}
</table>
</body>
</html>
{% endblock content %}

0 comments on commit aa6dcce

Please sign in to comment.