X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fcalendar.html;h=11ac2a8816800eb0c11516610fe9e71eecda4027;hb=HEAD;hp=42c821ae7a31de4bce3161e945cb3ec0b7919609;hpb=8542cd471f1aeea1abbe0b237a94f7863fb12dd0;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 42c821a..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 %} @@ -35,9 +38,11 @@ td.today { {% block content %}

calendar

+

basic view

+
-from -to +from +to
@@ -56,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}}