X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=templates%2Fcalendar.html;fp=templates%2Fcalendar.html;h=11ac2a8816800eb0c11516610fe9e71eecda4027;hb=344d6c234e50953b36ac9fed2cfce8d4ba64a5b3;hp=4e835734c026fa1612e2ec18d4a9dfb1bd10ac29;hpb=5ced0155ad11f5fb87aaa0848402e95f8ff49acd;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 4e83573..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 %} @@ -58,7 +61,10 @@ to {% endif %} -{{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}} {% for todo in day.calendarized_todos %}