Changeset 2272
- Timestamp:
- 07/16/09 13:19:46
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2267 r2272 2566 2566 <td> 2567 2567 <ul class="aliasTree"> 2568 <xsl:apply-templates select="form/subscriptions/calsuite/calendars/calendar " mode="showEventFormAliases">2569 <xsl:with-param name="root"> true</xsl:with-param>2568 <xsl:apply-templates select="form/subscriptions/calsuite/calendars/calendar/calendar[isTopicalArea = 'true']" mode="showEventFormAliases"> 2569 <xsl:with-param name="root">false</xsl:with-param> 2570 2570 </xsl:apply-templates> 2571 2571 </ul> … … 2791 2791 </xsl:if> 2792 2792 2793 <xsl:if test="calendar[isSubscription = 'true' or calType = '0']"> 2793 <!-- Return topical areas and all underlying calendars. 2794 Check for topical areas only if the subscription is owned by the calendar suite: 2795 If the subscription points out to a calendar or folder in another tree, 2796 return the branch regardless of the topical area setting. --> 2797 <xsl:if test="calendar[(isSubscription = 'true' or calType = '0') and ((isTopicalArea = 'true' and starts-with(path,/bedework/currentCalSuite/resourcesHome)) or not(starts-with(path,/bedework/currentCalSuite/resourcesHome)))]"> 2794 2798 <ul> 2795 <xsl:apply-templates select="calendar[ isSubscription = 'true' or calType = '0']" mode="showEventFormAliases"/>2799 <xsl:apply-templates select="calendar[(isSubscription = 'true' or calType = '0') and ((isTopicalArea = 'true' and starts-with(path,/bedework/currentCalSuite/resourcesHome)) or not(starts-with(path,/bedework/currentCalSuite/resourcesHome)))]" mode="showEventFormAliases"/> 2796 2800 </ul> 2797 2801 </xsl:if> … … 4929 4933 </tr> 4930 4934 <tr> 4935 <th>Topical Area:</th> 4936 <td> 4937 <input type="radio" name="calendar.isTopicalArea" value="true" checked="checked"/> true 4938 <input type="radio" name="calendar.isTopicalArea" value="false"/> false 4939 </td> 4940 </tr> 4941 <tr> 4931 4942 <th>Description:</th> 4932 4943 <td>
