home · contact · privacy
Re-factor Day.todos code.
[plomtask] / templates / day.html
index 2941105747db5a7e0ca5b2f26e2c1234b9d0a2c2..f980cd1f5ad93d271e8103c981c8cdf49523e8fe 100644 (file)
@@ -124,7 +124,7 @@ O 
 
 
 {% block content %}
-<h3>{{day.date}} / {{day.weekday}} ({{total_effort|round(1)}})</h3>
+<h3>{{day.date}} / {{day.weekday}} ({{day.total_effort|round(1)}})</h3>
 <p>
 <a href="day?date={{day.prev_date}}">prev</a> | <a href="day?date={{day.next_date}}">next</a>
 </p>
@@ -141,6 +141,12 @@ comment:
 <p>
 add: <input type="text" name="new_todo" list="processes">
 </p>
+<p>
+<select name="make_type">
+<option value="full">make new todos with children</option>
+<option value="empty"{% if make_type == "empty" %}selected {% endif %}>make new todos without children</option>
+</select>
+</p>
 
 <table>