Changeset 2206
- Timestamp:
- 05/28/09 16:28:03
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2203 r2206 2805 2805 <div class="submitBox"> 2806 2806 <xsl:choose> 2807 <xsl:when test="starts-with(form/calendar/event/path,$submissionsRootUnencoded)"> 2807 <!-- xsl:when test="starts-with(form/calendar/event/path,$submissionsRootUnencoded)"--> 2808 <xsl:when test="/bedework/page = 'modEventPending'"> 2808 2809 <div class="right"> 2809 2810 <input type="submit" name="delete" value="Delete Event"/> trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r2203 r2206 1899 1899 <em>(recurrence master)</em> 1900 1900 </xsl:if> 1901 <!-- 1901 1902 <xsl:if test="scheduleMethod = '2' and not(/bedework/userid = substring-before(substring-after(organizer/organizerUri,':'),'@'))"> 1902 <!-- this is a scheduled event (meeting or task) - allow a direct refresh -->1903 <!--NOTE: we need to actually output the organizer account for testing, rather1904 than testing against the organizerUri...might not be the same -->1903 /* this is a scheduled event (meeting or task) - allow a direct refresh 1904 NOTE: we need to actually output the organizer account for testing, rather 1905 than testing against the organizerUri...might not be the same */ 1905 1906 <a href="{$schedule-refresh}&method=REFRESH" id="refreshEventAction"> 1906 1907 <img src="{$resourcesRoot}/resources/std-icalRefresh-icon-small.gif" width="12" height="16" border="0" alt="send a request to refresh this scheduled event"/> … … 1908 1909 </a> 1909 1910 </xsl:if> 1911 --> 1910 1912 </th> 1911 1913 </tr> … … 2244 2246 <td class="fieldname">Calendar:</td> 2245 2247 <td class="fieldval"> 2248 <xsl:variable name="virtualPath"><xsl:call-template name="url-encode"><xsl:with-param name="str">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:with-param></xsl:call-template></xsl:variable> 2246 2249 <xsl:variable name="calUrl" select="calendar/encodedPath"/> 2247 2250 <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable> 2248 <a href="{$setSelection}& calUrl={$calUrl}">2251 <a href="{$setSelection}&virtualPath={$virtualPath}&calUrl={$calUrl}"> 2249 2252 <xsl:choose> 2250 2253 <xsl:when test="contains(calendar/path,$userPath)"> … … 4578 4581 <xsl:text> </xsl:text> 4579 4582 </xsl:if> 4583 <xsl:variable name="virtualPath"><xsl:call-template name="url-encode"><xsl:with-param name="str">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:with-param></xsl:call-template></xsl:variable> 4580 4584 <xsl:variable name="calPath" select="encodedPath"/> 4581 <a href="{$setSelection}& calUrl={$calPath}">4585 <a href="{$setSelection}&virtualPath={$virtualPath}&calUrl={$calPath}"> 4582 4586 <xsl:value-of select="name"/> 4583 4587 </a> … … 4613 4617 </xsl:attribute> 4614 4618 <xsl:variable name="calPath" select="encodedPath"/> 4615 <xsl:choose> 4616 <xsl:when test="calType='5'"> 4617 <a href="{$showInbox}" title="incoming scheduling requests"> 4618 <xsl:value-of select="name"/> 4619 </a> 4620 <xsl:text> </xsl:text> 4621 <xsl:if test="/bedework/inboxState/numActive != '0'"> 4622 <span class="inoutboxActive">(<xsl:value-of select="/bedework/inboxState/numActive"/>)</span> 4623 </xsl:if> 4624 </xsl:when> 4625 <xsl:when test="calType='6'"> 4626 <a href="{$showOutbox}" title="outgoing scheduling requests"> 4627 <xsl:value-of select="name"/> 4628 </a> 4629 <xsl:text> </xsl:text> 4630 <xsl:if test="/bedework/outboxState/numActive != '0'"> 4631 <span class="inoutboxActive">(<xsl:value-of select="/bedework/outboxState/numActive"/>)</span> 4632 </xsl:if> 4633 </xsl:when> 4634 <xsl:otherwise> 4635 <a href="{$setSelection}&calUrl={$calPath}"> 4636 <xsl:attribute name="title"> 4637 <xsl:choose> 4638 <xsl:when test="calType = 2">Contains items you have access to delete.</xsl:when> 4639 <xsl:when test="calType = 3">Used to mask items you do not have access to truly delete, such as many subscribed events.</xsl:when> 4640 </xsl:choose> 4641 </xsl:attribute> 4642 <xsl:value-of select="name"/> 4643 </a> 4644 </xsl:otherwise> 4645 </xsl:choose> 4619 <xsl:choose> 4620 <xsl:when test="calType='5'"> 4621 <a href="{$showInbox}" title="incoming scheduling requests"> 4622 <xsl:value-of select="name"/> 4623 </a> 4624 <xsl:text> </xsl:text> 4625 <xsl:if test="/bedework/inboxState/numActive != '0'"> 4626 <span class="inoutboxActive">(<xsl:value-of select="/bedework/inboxState/numActive"/>)</span> 4627 </xsl:if> 4628 </xsl:when> 4629 <xsl:when test="calType='6'"> 4630 <a href="{$showOutbox}" title="outgoing scheduling requests"> 4631 <xsl:value-of select="name"/> 4632 </a> 4633 <xsl:text> </xsl:text> 4634 <xsl:if test="/bedework/outboxState/numActive != '0'"> 4635 <span class="inoutboxActive">(<xsl:value-of select="/bedework/outboxState/numActive"/>)</span> 4636 </xsl:if> 4637 </xsl:when> 4638 <xsl:otherwise> 4639 <xsl:variable name="virtualPath"><xsl:call-template name="url-encode"><xsl:with-param name="str">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:with-param></xsl:call-template></xsl:variable> 4640 <a href="{$setSelection}&virtualPath={$virtualPath}&calUrl={$calPath}"> 4641 <xsl:attribute name="title"> 4642 <xsl:choose> 4643 <xsl:when test="calType = 2">Contains items you have access to delete.</xsl:when> 4644 <xsl:when test="calType = 3">Used to mask items you do not have access to truly delete, such as many subscribed events.</xsl:when> 4645 </xsl:choose> 4646 </xsl:attribute> 4647 <xsl:value-of select="name"/> 4648 </a> 4649 </xsl:otherwise> 4650 </xsl:choose> 4646 4651 <xsl:if test="calendar"> 4647 4652 <ul> … … 8113 8118 </td> 8114 8119 <td> 8120 <xsl:variable name="virtualPath"><xsl:call-template name="url-encode"><xsl:with-param name="str">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:with-param></xsl:call-template></xsl:variable> 8115 8121 <xsl:variable name="calUrl" select="event/calendar/encodedPath"/> 8116 <a href="{$setSelection}& calUrl={$calUrl}">8122 <a href="{$setSelection}&virtualPath={$virtualPath}&calUrl={$calUrl}"> 8117 8123 <xsl:value-of select="event/calendar/name"/> 8118 8124 </a>
