X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/%7B%7Bdb.prefix%7D%7D/task?a=blobdiff_plain;f=todo_templates%2Fday.html;h=7dd8f66fa99c28e55f8a892cc1a05543e8e02305;hb=942c977e0052d09300625e7a5c1b5fc2eede9098;hp=a6ad249f55baedbebfd50241b1528db1deb553ed;hpb=40021a447d9a6444205c82b2bdcd924e0586a07f;p=misc diff --git a/todo_templates/day.html b/todo_templates/day.html index a6ad249..7dd8f66 100644 --- a/todo_templates/day.html +++ b/todo_templates/day.html @@ -31,40 +31,41 @@ comment:
task | choose? | done? | weight | edit? | day tags | comment | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
task | choose? | done? | effort | importance | edit? | day tags | comment | ||||||||||||||||||
] {{ t.current_title|e }}tags: {% for tag in t.tags | sort %}{{ tag }} {% endfor %} |
-{% if uuid in db.selected_day.todos.keys() %}
-- | - | - | edit | -{% for tag in db.selected_day.todos[uuid].day_tags | sort %}{{ tag }} {% endfor %} | -{{ db.selected_day.todos[uuid].comment|e }} | + +] {{ row.task.current_title|e }}tags: {% for tag in row.task.tags | sort %}{{ tag }} {% endfor %} |
+{% if row.todo %}
++ | + | + | + | edit | +{% for tag in row.todo.day_tags | sort %}{{ tag }} {% endfor %} | +{{ row.todo.comment|e }} | {% else %} -- | - | + | + | + | + | + | edit | {% endif %} |