home · contact · privacy
To Condition view, add listings of related Processes.
[plomtask] / templates / condition.html
index 1fc5902025c7cc21a04a656880a973ed5b6ed312..324c8f8a0efe9c6c05dba0307fd682807983bcdf 100644 (file)
 <td><textarea name="description">{{condition.description.newest|e}}</textarea>{% if condition.id_ %} [<a href="condition_descriptions?id={{condition.id_}}">history</a>]{% endif %}</td>
 <tr/>
 
+<tr>
+<th>enables</th>
+<td>
+{% for process in enabled_processes %}
+<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+{% endfor %}
+</td>
+</tr>
+
+<tr>
+<th>disables</th>
+<td>
+{% for process in disabled_processes %}
+<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+{% endfor %}
+</td>
+</tr>
+
+<tr>
+<th>enabled by</th>
+<td>
+{% for process in enabling_processes %}
+<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+{% endfor %}
+</td>
+</tr>
+
+<tr>
+<th>disabled by</th>
+<td>
+{% for process in disabling_processes %}
+<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+{% endfor %}
+</td>
+</tr>
+
 </table>
 {{ macros.edit_buttons() }}
 {% endblock %}