| 152 | | <!-- Notices List --> |
|---|
| 153 | | <xsl:template name="noticesList"> |
|---|
| 154 | | <h3 class="secondaryColHeader">Notices</h3> |
|---|
| 155 | | <ul> |
|---|
| 156 | | <xsl:for-each |
|---|
| 157 | | select="/bedework/eventscalendar/year/month/week/day/event[categories/category/value = 'Reminder']"> |
|---|
| 158 | | <li> |
|---|
| 159 | | <xsl:variable name="subscriptionId" |
|---|
| 160 | | select="subscription/id" /> |
|---|
| 161 | | <xsl:variable name="calPath" |
|---|
| 162 | | select="calendar/encodedPath" /> |
|---|
| 163 | | <xsl:variable name="guid" select="guid" /> |
|---|
| 164 | | <xsl:variable name="recurrenceId" |
|---|
| 165 | | select="recurrenceId" /> |
|---|
| 166 | | <xsl:variable name="statusClass"> |
|---|
| 167 | | <xsl:choose> |
|---|
| 168 | | <xsl:when test="status='CANCELLED'"> |
|---|
| 169 | | bwStatusCancelled |
|---|
| 170 | | </xsl:when> |
|---|
| 171 | | <xsl:when test="status='TENTATIVE'"> |
|---|
| 172 | | bwStatusTentative |
|---|
| 173 | | </xsl:when> |
|---|
| 174 | | <xsl:otherwise> |
|---|
| 175 | | bwStatusConfirmed |
|---|
| 176 | | </xsl:otherwise> |
|---|
| 177 | | </xsl:choose> |
|---|
| 178 | | </xsl:variable> |
|---|
| 179 | | <xsl:if test="status != 'CONFIRMED'"> |
|---|
| 180 | | <xsl:value-of select="status" /> |
|---|
| 181 | | <xsl:text>: </xsl:text> |
|---|
| 182 | | </xsl:if> |
|---|
| 183 | | <xsl:value-of select="summary" /> |
|---|
| 184 | | <xsl:text> | </xsl:text> |
|---|
| 185 | | <a |
|---|
| 186 | | href="{$eventView}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> |
|---|
| 187 | | more |
|---|
| 188 | | </a> |
|---|
| 189 | | <xsl:text> |</xsl:text> |
|---|
| 190 | | </li> |
|---|
| 191 | | </xsl:for-each> |
|---|
| 192 | | </ul> |
|---|
| 193 | | </xsl:template> |
|---|
| 194 | | |
|---|