home · contact · privacy
Add VersionedAttribute history display pages for Processes.
[plomtask] / templates / process_efforts.html
diff --git a/templates/process_efforts.html b/templates/process_efforts.html
new file mode 100644 (file)
index 0000000..31efcc3
--- /dev/null
@@ -0,0 +1,23 @@
+{% extends '_base.html' %}
+
+
+
+{% block content %}
+<h3>process default effort history</h3>
+<table>
+
+<tr>
+<th>process</th>
+<td><a href="process?id={{process.id_}}">{{process.title.newest|e}}</a></td>
+</tr>
+
+{% for date in process.effort.history.keys() | sort(reverse=True) %}
+<tr>
+<th>{{date | truncate(19, True, '') }}</th>
+<td>{{process.effort.history[date]}}</td>
+</tr>
+{% endfor %}
+
+</table>
+{% endblock %}
+