Changeset 2299
- Timestamp:
- 07/28/09 14:56:36
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.5/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r2235 r2299 1592 1592 Location: <xsl:value-of select="location/address"/><br/> 1593 1593 </xsl:if> 1594 Calendar:1595 <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable>1596 <xsl:choose>1597 <xsl:when test="contains(calendar/path,$userPath)">1598 <xsl:value-of select="substring-after(calendar/path,$userPath)"/>1599 </xsl:when>1600 <xsl:otherwise>1601 <xsl:value-of select="calendar/path"/>1602 </xsl:otherwise>1603 </xsl:choose><br/>1604 1594 Type: 1605 1595 <xsl:variable name="entityType"> … … 1613 1603 recurring 1614 1604 </xsl:if> 1615 <xsl:variable name="userStr"> /principals/users/<xsl:value-of select="/bedework/userid"/></xsl:variable>1605 <xsl:variable name="userStr"><xsl:value-of select="/bedework/syspars/userPrincipalRoot"/>/<xsl:value-of select="/bedework/userid"/></xsl:variable> 1616 1606 <xsl:choose> 1617 1607 <xsl:when test="$userStr = owner"> … … 1622 1612 </xsl:when> 1623 1613 <xsl:otherwise> 1624 <xsl:value-of select="$entityType"/> (<xsl:value-of select="calendar/owner"/>) 1614 <xsl:value-of select="$entityType"/> 1615 </xsl:otherwise> 1616 </xsl:choose><br/> 1617 Calendar: 1618 <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable> 1619 <xsl:choose> 1620 <xsl:when test="contains(calendar/path,$userPath)"> 1621 <xsl:value-of select="substring-after(calendar/path,$userPath)"/> 1622 </xsl:when> 1623 <xsl:otherwise> 1624 <xsl:value-of select="calendar/path"/> 1625 1625 </xsl:otherwise> 1626 1626 </xsl:choose>
