home · contact · privacy
For Processes and Conditions, in edit page title warn if creation NEW.
[plomtask] / templates / condition.html
index 324c8f8a0efe9c6c05dba0307fd682807983bcdf..b20b5fe04c3520264a4e4864769889b46b7d9227 100644 (file)
@@ -4,7 +4,7 @@
 
 
 {% block content %}
-<h3>condition</h3>
+<h3>{% if is_new %}NEW {% endif %}condition</h3>
 <form action="condition?id={{condition.id_ or ''}}" method="POST">
 <table>
 
@@ -27,7 +27,7 @@
 <th>enables</th>
 <td>
 {% for process in enabled_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>
@@ -36,7 +36,7 @@
 <th>disables</th>
 <td>
 {% for process in disabled_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>
@@ -45,7 +45,7 @@
 <th>enabled by</th>
 <td>
 {% for process in enabling_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>
@@ -54,7 +54,7 @@
 <th>disabled by</th>
 <td>
 {% for process in disabling_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>