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 %}
{% i18n "Calendar:" %} | {{ incidence.calendar }} | |
---|---|---|
{% i18n "Location:" %} | {{ incidence.location|safe }} | |
{% i18nc "to-do start date/time" "Start:" %} | + {% if incidence.allDay %} +{{ incidence.startDate|kdatetime:"dateonly" }} | + {% else %}{{ incidence.startDate|kdatetime }} | + {% endif %}
{% i18nc "to-do due date/time" "Due:" %} | {% if incidence.allDay %}{{ incidence.dueDate|kdatetime:"dateonly" }} | {% else %}{{ incidence.dueDate|kdatetime }} | {% endif %}
{% i18n "Duration:" %} | {{ incidence.duration }} | |
{% i18n "Recurrence:" %} | {% if incidence.isException %}{% i18n "Exception" %} | {% else %}{{ incidence.recurrence }} | {% endif %}
{% 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 %}