home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add erroneously uncommited template macros file.
[plomtask]
/
templates
/
processes.html
diff --git
a/templates/processes.html
b/templates/processes.html
index 6c3c64bc12b3d6b9c48d035bea28ee132f3f13af..977ac405ac89c57fd66d65bf8dd71d7c78cbfb67 100644
(file)
--- a/
templates/processes.html
+++ b/
templates/processes.html
@@
-1,11
+1,22
@@
{% extends '_base.html' %}
{% block content %}
{% extends '_base.html' %}
{% block content %}
-<a href="process">add</a>
-<ul>
+<h3>processes</h3>
+
+<table>
+<tr>
+<th><a href="?sort_by={% if sort_by == "steps" %}-{% endif %}steps">steps</a></th>
+<th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
+</tr>
{% for process in processes %}
{% 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 %}
{% endfor %}
-</ul>
-{% endblock %}
+</table>
+<p>
+<a href="process">add</a>
+</p>
+{% endblock %}