home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Display historical VersionedAttributes where it makes sense.
[plomtask]
/
templates
/
calendar.html
diff --git
a/templates/calendar.html
b/templates/calendar.html
index eae103d9929ccc061b6eff1d296ecf2767325e81..4d672421329c95208cb1ca5050130c78065bfe9b 100644
(file)
--- a/
templates/calendar.html
+++ b/
templates/calendar.html
@@
-1,4
+1,6
@@
-{% extends 'base.html' %}
+{% extends '_base.html' %}
+
+
{% block css %}
tr.week_row td {
{% block css %}
tr.week_row td {
@@
-19,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}}" />
@@
-45,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 %}