{% extends ":/org.kde.pim/kcalutils/template_base.html" %}


{% block body %}
{% with _("Journal") as type %}
{% include ":/org.kde.pim/kcalutils/incidence_header.html" %}
{% endwith %}

<table>

    <!-- Calendar -->
    {% if incidence.calendar %}
    <tr>
        <th>{% i18n "Calendar:" %}</th>
        <td>{{ incidence.calendar }}</td>
    </tr>
    {% endif %}

    <!-- Date -->
    {% if incidence.date %}
    <tr>
        <th valign="top">{% i18n "Date:" %}</th>
        <td>{{ incidence.date|kdate }}</td>
    </tr>
    {% endif %}

    <!-- Description -->
    {% if incidence.description %}
    <tr>
        <th valign="top">{% i18n "Description:" %}</th>
        <td>{{ incidence.description|safe }}</td>
    </tr>
    {% endif %}

    <!-- Categories -->
    {% if incidence.categories %}
    <tr>
        <th>{% i18np "Tag:" "Tags:" incidence.categories|length %}</th>
        <td>{{ incidence.categories|join:", " }}</td>
    </tr>
    {% endif %}

</table>

<!-- Creation date -->
<p>
<em>{% i18n "Creation date: %1" incidence.creationDate|kdatetime %}</em><br/>
<em>{% i18n "Revision: %1" incidence.revision %}</em>
</p>

{% endblock body %}
