home · contact · privacy
Add titles and other metadata to pages.
[plomtask] / templates / processes.html
index 6c3c64bc12b3d6b9c48d035bea28ee132f3f13af..5cd00b5c279b0f14b25cb258549a05596230422b 100644 (file)
@@ -1,11 +1,22 @@
 {% extends '_base.html' %}
 
 {% block content %}
-<a href="process">add</a>
-<ul>
+<h3>processes</h3>
+
+<table>
+<tr>
+<th>steps</th>
+<th>title</th>
+</tr>
 {% for process in processes %}
-<li><a href="process?id={{process.id_}}">{{process.title.newest}}</a>
+<tr>
+<td>{{ process.explicit_steps|count }}</td>
+<td><a href="process?id={{process.id_}}">{{process.title.newest}}</a></td>
+</tr>
 {% endfor %}
-</ul>
-{% endblock %}
+</table>
 
+<p>
+<a href="process">add</a>
+</p>
+{% endblock %}