X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=templates%2Fcalendar.html;h=11ac2a8816800eb0c11516610fe9e71eecda4027;hb=99672306cdb97d76d00829b2e491f2df0abcbbd5;hp=699caabdd05b687a262be37ea32ac1da7ca3c1bc;hpb=eea64af900512aaa83146a02f6e7c6d0092b5b3a;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 699caab..11ac2a8 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -28,6 +28,9 @@ td.day_name { td.today { font-weight: bold; } +span.total_effort { + white-space: pre; +} {% endblock %} @@ -38,8 +41,8 @@ td.today {

basic view

-from -to +from +to
@@ -58,7 +61,10 @@ to {% endif %} - + {% for todo in day.calendarized_todos %}
{{day.weekday|truncate(2,True,'',0)}} {% if day.date == today %} {% endif %}{{day.date}} {{day.comment|e}} +{{day.weekday|truncate(2,True,'',0)}} {% if day.date == today %} {% endif %}{{day.date}} +[{{ '{:5.1f}'.format(day.total_effort) }}] +{{day.comment|e}}