home · contact · privacy
To Processes listing, add sortable column for number of owners.
[plomtask] / templates / processes.html
index 42beafcdffce9458388b35f3cdbcda0bbee07224..c057890a9964ae317820cd4563277bcf31a3d89e 100644 (file)
 <table>
 <tr>
 <th><a href="?sort_by={% if sort_by == "steps" %}-{% endif %}steps">steps</a></th>
+<th><a href="?sort_by={% if sort_by == "owners" %}-{% endif %}owners">owners</a></th>
 <th><a href="?sort_by={% if sort_by == "effort" %}-{% endif %}effort">effort</a></th>
 <th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
 </tr>
 {% for process in processes %}
 <tr>
 <td>{{ process.explicit_steps|count }}</td>
+<td>{{ process.n_owners }}</td>
 <td>{{ process.effort.newest }}</td>
 <td><a href="process?id={{process.id_}}">{{process.title.newest}}</a></td>
 </tr>