home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename "condition"/"blocker" input names to plurals, like they are everywhere else.
[plomtask]
/
templates
/
process.html
diff --git
a/templates/process.html
b/templates/process.html
index 4027f502cbc19e46afe42c400e0c9eb3e8a36a81..7bb503eeafd2a68e21987021a7db0a110c4e548b 100644
(file)
--- a/
templates/process.html
+++ b/
templates/process.html
@@
-84,8
+84,8
@@
edit process of ID {{process.id_}}
<td><input name="title" type="text" value="{{process.title.newest|e}}" />{% if process.id_ %} [<a href="process_titles?id={{process.id_}}">history</a>]{% endif %}</td>
</tr>
<tr>
<td><input name="title" type="text" value="{{process.title.newest|e}}" />{% if process.id_ %} [<a href="process_titles?id={{process.id_}}">history</a>]{% endif %}</td>
</tr>
<tr>
-<th>
default
effort</th>
-<td><input
name="effort" type="number
" step=0.1 value={{process.effort.newest}} />{% if process.id_ %} [<a href="process_efforts?id={{process.id_}}">history</a>]{% endif %}</td>
+<th>effort</th>
+<td><input
type="number" name="effort
" step=0.1 value={{process.effort.newest}} />{% if process.id_ %} [<a href="process_efforts?id={{process.id_}}">history</a>]{% endif %}</td>
</tr>
<tr>
<th>description</th>
</tr>
<tr>
<th>description</th>
@@
-97,11
+97,11
@@
edit process of ID {{process.id_}}
</tr>
<tr>
<th>conditions</th>
</tr>
<tr>
<th>conditions</th>
-<td>{{ macros.simple_checkbox_table("condition", process.conditions, "condition", "condition_candidates") }}</td>
+<td>{{ macros.simple_checkbox_table("condition
s
", process.conditions, "condition", "condition_candidates") }}</td>
</tr>
<tr>
<th>blockers</th>
</tr>
<tr>
<th>blockers</th>
-<td>{{ macros.simple_checkbox_table("blocker", process.blockers, "condition", "condition_candidates") }}</td>
+<td>{{ macros.simple_checkbox_table("blocker
s
", process.blockers, "condition", "condition_candidates") }}</td>
</tr>
<tr>
<th>enables</th>
</tr>
<tr>
<th>enables</th>
@@
-114,12
+114,14
@@
edit process of ID {{process.id_}}
<tr>
<th>steps</th>
<td>
<tr>
<th>steps</th>
<td>
+{% if steps %}
<table>
{% for step_id, step_node in steps.items() %}
{{ step_with_steps(step_id, step_node, 0) }}
{% endfor %}
</table>
<table>
{% for step_id, step_node in steps.items() %}
{{ step_with_steps(step_id, step_node, 0) }}
{% endfor %}
</table>
-add: <input name="new_top_step" list="process_candidates" autocomplete="off" value="{{preset_top_step or ''}}" />
+{% endif %}
+add: <input type="text" name="new_top_step" list="process_candidates" autocomplete="off" value="{{preset_top_step or ''}}" />
</td>
</tr>
<tr>
</td>
</tr>
<tr>