home · contact · privacy
Also allow creation of new Processes as owner of current Process, with respective...
[plomtask] / templates / processes.html
1 {% extends '_base.html' %}
2
3 {% block content %}
4 <h3>processes</h3>
5
6 <form action="processes" method="GET">
7 <input type="submit" value="filter" />
8 <input name="pattern" value="{{pattern}}" />
9 </form>
10
11 <table>
12 <tr>
13 <th><a href="?sort_by={% if sort_by == "steps" %}-{% endif %}steps">steps</a></th>
14 <th><a href="?sort_by={% if sort_by == "effort" %}-{% endif %}effort">effort</a></th>
15 <th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
16 </tr>
17 {% for process in processes %}
18 <tr>
19 <td>{{ process.explicit_steps|count }}</td>
20 <td>{{ process.effort.newest }}</td>
21 <td><a href="process?id={{process.id_}}">{{process.title.newest}}</a></td>
22 </tr>
23 {% endfor %}
24 </table>
25
26 <p>
27 <a href="process">add</a>
28 </p>
29 {% endblock %}