diff --git a/src/templates/todo.html b/src/templates/todo.html index 5c84d4b59..72e399b99 100644 --- a/src/templates/todo.html +++ b/src/templates/todo.html @@ -1,197 +1,201 @@ {% extends ":/template_base.html" %} {% block body %} {% with _("Todo") as type %} {% include ":/incidence_header.html" %} {% endwith %} {% if incidence.calendar %} {% endif %} {% if incidence.location %} {% endif %} {% if incidence.startDate %} + {% if incidence.allDay %} + + {% else %} + {% endif %} {% endif %} {% if incidence.dueDate %} {% if incidence.allDay %} {% else %} {% endif %} {% endif %} {% if incidence.duration %} {% endif %} {% if incidence.recurs or incidence.isException %} {% if incidence.isException %} {% else %} {% endif %} {% endif %} {% if incidence.description %} {% endif %} {# TODO #} {% if incidence.reminders %} {% endif %} {% if incidence.organizer %} {% endif %} {% if incidence.chairs %} {% endif %} {% if incidence.requiredParticipants %} {% endif %} {% if incidence.optionalParticipants %} {% endif %} {% if incidence.observers %} {% endif %} {% if incidence.categories %} {% endif %} {% ifnotequal incidence.priority 0 %} {% endifnotequal %} {% if incidence.completedDate %} {% else %} {% endif %} {% if incidence.attachments %} {% endif %}
{% i18n "Calendar:" %} {{ incidence.calendar }}
{% i18n "Location:" %} {{ incidence.location|safe }}
{% i18nc "to-do start date/time" "Start:" %}{{ incidence.startDate|kdatetime:"dateonly" }}{{ incidence.startDate|kdatetime }}
{% i18nc "to-do due date/time" "Due:" %}{{ incidence.dueDate|kdatetime:"dateonly" }}{{ incidence.dueDate|kdatetime }}
{% i18n "Duration:" %} {{ incidence.duration }}
{% i18n "Recurrence:" %}{% i18n "Exception" %}{{ incidence.recurrence }}
{% i18n "Description:" %} {{ incidence.description|safe }}
{% i18np "Reminder:" "Reminders:" incidence.reminders|length %} {{ incidence.reminders|join:"
" }}
{% i18n "Organizer:" %} {% with incidence.organizer as attendee %} {% include ":/attendee_row.html" %} {% endwith %}
{% i18n "Chair:" %} {% for attendee in incidence.chair %} {% include ":/attendee_row.html" %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% i18n "Required Participants:" %} {% for attendee in incidence.requiredParticipants %} {% include ":/attendee_row.html" %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% i18n "Optional participants:" %} {% for attendee in incidence.optionalParticipants %} {% include ":/attendee_row.html" %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% i18n "Observers:" %} {% for attendee in incidence.chair %} {% include ":/attendee_row.html" %} {% if not forloop.last %}
{% endif %} {% endfor %}
{% i18np "Category:" "Categories:" incidence.categories|length %} {{ incidence.categories|join:", " }}
{% i18n "Priority:" %} {{ incidence.priority }}
{% i18nc "Completed: date" "Completed:" %} {{ incidence.completedDate|kdate }}
{% i18n "Percent done:" %} {% i18n "%1%" incidence.percent %}
{% i18np "Attachment:" "Attachments:" incidence.attachments|length %} {% for attachment in incidence.attachments %} {{ attachment.label }} {% if not forloop.last %}
{% endif %} {% endfor %}

{% i18n "Creation date: %1" incidence.creationDate|kdatetime %}

{% endblock body %}