File indexing completed on 2025-11-09 05:10:05
0001 {% extends ":/template_base.html" %}
0002
0003
0004 {% block body %}
0005 {% with _("Event") as type %}
0006 {% include ":/incidence_header.html" %}
0007 {% endwith %}
0008
0009 <table>
0010 <!-- Calendar name -->
0011 {% if incidence.calendar %}
0012 <tr>
0013 <th valign="top">{% i18n "Calendar:" %}</th>
0014 <td>{{ incidence.calendar }}</td>
0015 </tr>
0016 {% endif %}
0017
0018 <!-- Location -->
0019 {% if incidence.location %}
0020 <tr>
0021 <th valign="top">{% i18n "Location:" %}</th>
0022 <td>{{ incidence.location|safe }}</td>
0023 </tr>
0024 {% endif %}
0025
0026 <!-- Start/end -->
0027 {% if incidence.isAllDay %}
0028 <tr>
0029 {% if incidence.isMultiDay %}
0030 <th valign="top">{% i18n "Date:" %}</th>
0031 <td>{% i18nc "<beginDate> - <endDate>" "%1 - %2" incidence.startDate|kdate incidence.endDate|kdate %}</td>
0032 {% else %}
0033 <th valign="top">{% i18n "Date:" %}</th>
0034 <td>{% i18nc "Date as string" "%1" incidence.startDate|kdate %}</td>
0035 {% endif %}
0036 </tr>
0037 {% else %}
0038 <tr>
0039 {% if incidence.isMultiDay %}
0040 <th valign="top">{% i18n "Date:" %}</th>
0041 <td>{% i18nc "<beginDate> - <endDate>" "%1 - %2" incidence.startDate|kdate incidence.endDate|kdate %}</td>
0042 {% else %}
0043 <th valign="top">{% i18n "Date:" %}</th>
0044 <td>{% i18nc "Date as string" "%1" incidence.startDate|kdate %}</td>
0045 </tr>
0046 <tr>
0047 <th valign="top">{% i18n "Time:" %}</th>
0048 {% if incidence.startTime != incidence.endTime %}
0049 <td>{% i18nc "<beginTime> - <endTime>" "%1 - %2" incidence.startTime|ktime:"short" incidence.endTime|ktime:"short" %}</td>
0050 {% else %}
0051 <td>{% i18nc "Time as string" "%1" incidence.startTime|ktime:"short" %}</td>
0052 {% endif %}
0053 {% endif %}
0054 </tr>
0055 {% endif %}
0056
0057 <!-- Duration -->
0058 {% if incidence.duration %}
0059 <tr>
0060 <th valign="top">{% i18n "Duration:" %}</th>
0061 <td>{{ incidence.duration }}</td>
0062 </tr>
0063 {% endif %}
0064
0065 <!-- Recurrence -->
0066 {% if incidence.recurs or incidence.isException %}
0067 <tr>
0068 <th valign="top">{% i18n "Recurrence:" %}</th>
0069 {% if incidence.isException %}
0070 <td>{% i18nc "Exception in event recurrence" "Exception" %}</td>
0071 {% else %}
0072 <td>{{ incidence.recurrence }}</td>
0073 {% endif %}
0074 </tr>
0075 {% endif %}
0076
0077 <!-- Birthday -->
0078 {% if incidence.birthday %}
0079 <tr>
0080 <th valign="top">{% i18n "Birthday:" %}</th>
0081 <td>{{ incidence.birthday }}</td>
0082 </tr>
0083 {% endif %}
0084
0085 <!-- Anniversary -->
0086 {% if incidence.anniversary %}
0087 <tr>
0088 <th valign="top">{% i18n "Anniversary:" %}</th>
0089 <td>{{ incidence.anniversary }}</td>
0090 </tr>
0091 {% endif %}
0092
0093 <!-- Description -->
0094 {% if incidence.description %}
0095 <tr>
0096 <th valign="top">{% i18n "Description:" %}</th>
0097 <td>{{ incidence.description|safe }}</td>
0098 </tr>
0099 {% endif %}
0100
0101 <!-- Alarms -->
0102 {% if incidence.reminders %}
0103 <tr>
0104 <th valign="top">{% i18np "Reminder:" "Reminders:" incidence.reminders|length %}</th>
0105 <td>{{ incidence.reminders|join:"<br/>" }}</td>
0106 </tr>
0107 {% endif %}
0108
0109 <!-- Organizer -->
0110 {% if incidence.organizer %}
0111 <tr>
0112 <th valign="top">{% i18n "Organizer:" %}</th>
0113 <td>
0114 {% with incidence.organizer as attendee %}
0115 {% include ":/attendee_row.html" %}
0116 {% endwith %}
0117 </td>
0118 </tr>
0119 {% endif %}
0120
0121 <!-- Attendees - Chair -->
0122 {% if incidence.chairs %}
0123 <tr>
0124 <th valign="top">{% i18n "Chair:" %}</th>
0125 <td>
0126 {% for attendee in incidence.chair %}
0127 {% include ":/attendee_row.html" %}
0128 {% if not forloop.last %}<br/>{% endif %}
0129 {% endfor %}
0130 </td>
0131 </tr>
0132 {% endif %}
0133
0134 <!-- Attendees - Required Participants -->
0135 {% if incidence.requiredParticipants %}
0136 <tr>
0137 <th valign="top">{% i18n "Required Participants:" %}</th>
0138 <td>
0139 {% for attendee in incidence.requiredParticipants %}
0140 {% include ":/attendee_row.html" %}
0141 {% if not forloop.last %}<br/>{% endif %}
0142 {% endfor %}
0143 </td>
0144 </tr>
0145 {% endif %}
0146
0147 <!-- Attendees - Optional Participants -->
0148 {% if incidence.optionalParticipants %}
0149 <tr>
0150 <th valign="top">{% i18n "Optional participants:" %}</th>
0151 <td>
0152 {% for attendee in incidence.optionalParticipants %}
0153 {% include ":/attendee_row.html" %}
0154 {% if not forloop.last %}<br/>{% endif %}
0155 {% endfor %}
0156 </td>
0157 </tr>
0158 {% endif %}
0159
0160 <!-- Attendees - Observers -->
0161 {% if incidence.observers %}
0162 <tr>
0163 <th valign="top">{% i18n "Observers:" %}</th>
0164 <td>
0165 {% for attendee in incidence.chair %}
0166 {% include ":/attendee_row.html" %}
0167 {% if not forloop.last %}<br/>{% endif %}
0168 {% endfor %}
0169 </td>
0170 </tr>
0171 {% endif %}
0172
0173 <!-- Categories -->
0174 {% if incidence.categories %}
0175 <tr>
0176 <th valign="top">{% i18np "Tag:" "Tags:" incidence.categories|length %}</th>
0177 <td>{{ incidence.categories|join:", " }}</td>
0178 </tr>
0179 {% endif %}
0180
0181 <!-- Attachments -->
0182 {% if incidence.attachments %}
0183 <tr>
0184 <th valign="top">{% i18np "Attachment:" "Attachments:" incidence.attachments|length %}</th>
0185 <td>{% for attachment in incidence.attachments %}
0186 <a href="{{ attachment.uri }}">{{ attachment.label }}</a>
0187 {% if not forloop.last %}<br/>{% endif %}
0188 {% endfor %}
0189 </td>
0190 </tr>
0191 {% endif %}
0192
0193 </table>
0194
0195 <!-- Creation -->
0196 <p><em>{% i18n "Creation date: %1" incidence.creationDate|kdatetime %}</em></p>
0197
0198 {% endblock body %}