home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
In calendar day gap filling, ensure days before and after existing days.
[plomtask]
/
templates
/
calendar.html
diff --git
a/templates/calendar.html
b/templates/calendar.html
index f6208bbc79d08bdad6301480293d548d89a09923..4d672421329c95208cb1ca5050130c78065bfe9b 100644
(file)
--- a/
templates/calendar.html
+++ b/
templates/calendar.html
@@
-21,6
+21,8
@@
td.day_name {
{% block content %}
{% block content %}
+<h3>calendar</h3>
+
<form action="calendar" method="GET">
from <input name="start" value="{{start}}" />
to <input name="end" value="{{end}}" />
<form action="calendar" method="GET">
from <input name="start" value="{{start}}" />
to <input name="end" value="{{end}}" />
@@
-47,6
+49,14
@@
to <input name="end" value="{{end}}" />
<td>{{day.comment|e}}</td>
</tr>
<td>{{day.comment|e}}</td>
</tr>
+{% for todo in day.calendarized_todos %}
+<tr>
+<td>[{% if todo.is_done %}X{% else %} {% endif %}]</td>
+<td><a href="todo?id={{todo.id_}}">{{todo.title_then|e}}</td>
+<td>{{todo.comment|e}}</td>
+</tr>
+{% endfor %}
+
{% endfor %}
</table>
{% endblock %}
{% endfor %}
</table>
{% endblock %}