Changeset 1324
- Timestamp:
- 04/06/07 12:29:02
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1323 r1324 166 166 <xsl:call-template name="headSection"/> 167 167 </head> 168 <xsl:variable name="inboxNumActive" select="/bedework/inboxState/numActive"/> 169 <xsl:variable name="inboxChanged" select="/bedework/inboxState/changed"/> 170 <body onload="checkStatus({$inboxNumActive},{$inboxChanged},'{$showInbox}')"> 171 <xsl:choose> 172 <xsl:when test="/bedework/page='selectCalForEvent'"> 173 <xsl:call-template name="selectCalForEvent"/> 174 </xsl:when> 175 <xsl:when test="/bedework/page='rdates'"> 176 <xsl:call-template name="rdates"/> 177 </xsl:when> 178 <xsl:when test="/bedework/page='attendees'"> 179 <xsl:call-template name="attendees"/> 180 </xsl:when> 181 <xsl:when test="/bedework/page='eventAccess'"> 182 <xsl:call-template name="messagesAndErrors"/> 183 <xsl:apply-templates select="/bedework/eventAccess"/> 184 </xsl:when> 185 <xsl:otherwise> 168 <body> 169 <xsl:if test="/bedework/page!='inbox'"> 170 <xsl:attribute name="onload">checkStatus(<xsl:value-of select="/bedework/inboxState/numActive"/>,<xsl:value-of select="/bedework/inboxState/changed"/>,'<xsl:value-of select="$showInbox"/>')</xsl:attribute> 171 </xsl:if> 172 <xsl:choose> 173 <xsl:when test="/bedework/page='selectCalForEvent'"> 174 <xsl:call-template name="selectCalForEvent"/> 175 </xsl:when> 176 <xsl:when test="/bedework/page='rdates'"> 177 <xsl:call-template name="rdates"/> 178 </xsl:when> 179 <xsl:when test="/bedework/page='attendees'"> 180 <xsl:call-template name="attendees"/> 181 </xsl:when> 182 <xsl:when test="/bedework/page='eventAccess'"> 183 <xsl:call-template name="messagesAndErrors"/> 184 <xsl:apply-templates select="/bedework/eventAccess"/> 185 </xsl:when> 186 <xsl:otherwise> 186 187 <xsl:call-template name="headBar"/> 187 188 <xsl:call-template name="messagesAndErrors"/> … … 4934 4935 <xsl:template name="subInaccessible"> 4935 4936 <h2 class="bwStatusConfirmed">Inaccessible</h2> 4936 <p> 4937 <strong>The underlying calendar is inaccessible.</strong><br/> 4938 </p> 4939 <p> 4940 Possible causes: 4941 </p> 4942 <ol> 4943 <li>Access control was changed such that you may no longer access the underlying calendar</li> 4944 <li>The underlying calendar was deleted</li> 4945 </ol> 4937 <div class="noEventsCell"> 4938 <p> 4939 <strong>This subscription cannot be displayed.</strong><br/> 4940 The underlying calendar 4941 is inaccessible. 4942 </p> 4943 <p> 4944 Possible causes: 4945 </p> 4946 <ol> 4947 <li>Access control was changed, and you may no longer access the underlying calendar.</li> 4948 <li>The underlying calendar was deleted.</li> 4949 </ol> 4950 </div> 4946 4951 </xsl:template> 4947 4952 … … 5291 5296 <table id="inoutbox" class="common" cellspacing="0"> 5292 5297 <tr> 5298 <th class="commonHeader"> </th> 5293 5299 <th class="commonHeader">sent</th> 5294 5300 <th class="commonHeader">organizer</th> … … 5300 5306 </tr> 5301 5307 <xsl:for-each select="events/event"> 5308 <xsl:sort select="dtstamp/unformatted" order="descending"/> 5302 5309 <xsl:variable name="subscriptionId" select="subscription/id"/> 5303 5310 <xsl:variable name="calPath" select="calendar/encodedPath"/> … … 5322 5329 </xsl:attribute> 5323 5330 <td> 5324 <xsl:value-of select="dtstamp/shortdate"/><xsl:text> </xsl:text><xsl:value-of select="dtstamp/time"/> 5331 <a href="{$inboxItemAction}&subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 5332 <img src="{$resourcesRoot}/resources/calIconSchedule-sm.gif" width="13" height="13" border="0" alt="check message"/> 5333 </a> 5334 </td> 5335 <td> 5336 <a href="{$inboxItemAction}&subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 5337 <xsl:value-of select="dtstamp/shortdate"/><xsl:text> </xsl:text><xsl:value-of select="dtstamp/time"/> 5338 </a> 5325 5339 </td> 5326 5340 <td> … … 5367 5381 <table id="inoutbox" class="common" cellspacing="0"> 5368 5382 <tr> 5383 <th class="commonHeader"> </th> 5369 5384 <th class="commonHeader">sent</th> 5370 5385 <th class="commonHeader">organizer</th> … … 5376 5391 </tr> 5377 5392 <xsl:for-each select="events/event"> 5393 <xsl:sort select="dtstamp/unformatted" order="descending"/> 5378 5394 <xsl:variable name="subscriptionId" select="subscription/id"/> 5379 5395 <xsl:variable name="calPath" select="calendar/encodedPath"/> … … 5396 5412 </xsl:choose> 5397 5413 </xsl:attribute> 5414 <td> 5415 <a href="{$inboxItemAction}&subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 5416 <img src="{$resourcesRoot}/resources/calIconSchedule-sm.gif" width="13" height="13" border="0" alt="check message"/> 5417 </a> 5418 </td> 5398 5419 <td> 5399 5420 <xsl:value-of select="dtstamp/shortdate"/><xsl:text> </xsl:text><xsl:value-of select="dtstamp/time"/>
