File indexing completed on 2025-11-09 05:10:05
0001 {% extends ":/template_base.html" %}
0002
0003 {% block style %}
0004 #invitation {
0005 font-size: %1px !important;
0006 }
0007 #invitation h2 {
0008 margin: 5px 0 0 0 !important;
0009 }
0010 #invitation table {
0011 line-height: 140% !important;
0012 border-spacing: 0 !important;
0013 }
0014 #invitation th {
0015 padding: 5px 0 5px 0 !important;
0016 }
0017 #invitation td {
0018 padding: 5px 10px 5px 5px !important;
0019 }
0020 #invitation small {
0021 color: #555 !important;
0022 }
0023 #invitation hr {
0024 border: 1px solid #678db2 !important;
0025 }
0026 #invitation .button {
0027 display: inline-block !important;
0028 font-weight: bold !important;
0029 padding: 4px 8px !important;
0030 margin-bottom: 4px !important;
0031 border: 1px solid {{ incidence.style.buttonBorder }} !important;
0032 border-radius: 3px !important;
0033 background: {{ incidence.style.buttonBg }} !important;
0034 vertical-align: middle !important;
0035 }
0036 #invitation a.button {
0037 color: {{ incidence.style.buttonFg }} !important;
0038 }
0039 #invitation .button img{
0040 vertical-align: middle !important;
0041 padding-right: 3px !important;
0042 }
0043 #invitation th {
0044 font-weight: bold !important;
0045 }
0046 #invitation .summary img {
0047 padding-right: 10px !important;
0048 width: 48px !important;
0049 vertical-align: middle !important;
0050 }
0051 {% endblock style %}
0052
0053 {% block body %}
0054
0055 <div id="invitation">
0056
0057 <p>{{ incidence.head|safe }}</p>
0058
0059 <p><i>{{ incidence.eventInfo|safe }}</i></p>
0060
0061 {% if incidence.myStatus %}
0062 <p><i>{{ incidence.myStatus|safe }}</i></p>
0063 {% endif %}
0064
0065 <!-- Response buttons/groupware links -->
0066 {% for button in incidence.buttons %}
0067 <a class="button"
0068 {% if button.uri %}
0069 href="{{ button.uri }}"
0070
0071 {% endif %}
0072 >{% if button.icon %}{% icon button.icon %}{% endif %}{{ button.label|safe }}</a>
0073 {% endfor %}
0074
0075 <!-- Comments -->
0076 {% if incidence.comments %}
0077 <table border="0" cellspacing="0" cellpadding="4">
0078 <tr>
0079 {% ifequal incidence.comments|length 1 %}
0080 <th valign="top">{% i18n "Comment:" %}</th>
0081 <td>{{ incidence.comments|first }}</td>
0082 {% else %}
0083 <th valign="top">{% i18n "Comments:" %}</th>
0084 <td><ul>
0085 {% for comment in incidence.comments %}
0086 <li>{{ comment }}</li>
0087 {% endfor %}
0088 </ul></td>
0089 {% endifequal %}
0090 </tr>
0091 </table>
0092 {% endif %}
0093
0094 <hr/>
0095
0096 <div dir="{{ incidence.ltr }}">
0097
0098 <h2 class="summary">
0099 {% if incidence.iconName %}{% icon incidence.iconName desktop %} {% endif %}{{ incidence.summary|safe }}</h2>
0100
0101 <table border="0">
0102
0103 {% block incidenceDetail %}
0104 {% endblock %}
0105
0106 <!-- RSVP/attadees -->
0107 {% if incidence.attendees %}
0108 <tr>
0109 <th valign="top">{{ incidence.attendeesTitle }}</th>
0110 <td>
0111 {% for attendee in incidence.attendees %}
0112 {% include ":/attendee_row.html" %}
0113 {% if not forloop.last %}<br/>{% endif %}
0114 {% endfor %}
0115 </td>
0116 </tr>
0117 {% endif %}
0118
0119 <!-- Attachments //-->
0120 {% if incidence.attachments %}
0121 <tr>
0122 <th valign="top">{% i18n "Attachments:" %}</th>
0123 <td>
0124 {% for attachment in incidence.attachments %}
0125 {% icon attachment.icon Small %}
0126 <a href="{{ attachment.uri }}"><font size="-1">{{ attachment.name }}</font></a>
0127 {% if not forloop.last %}<br/>{% endif %}
0128 {% endfor %}
0129 </td>
0130 </tr>
0131 {% endif %}
0132 </table>
0133
0134 <hr/>
0135
0136 {% block incidenceEnd %}
0137 {% endblock %}
0138
0139 </div>
0140
0141 </div>
0142
0143 {% endblock body %}