Changeset 2116

Show
Ignore:
Timestamp:
04/04/09 16:25:59
Author:
johnsa
Message:

public calendar: update calendar suite to reflect topical areas in the calendar listings. More work needs to be done here.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl

    r2098 r2116  
    14241424  <!-- list of available calendars --> 
    14251425  <xsl:template match="calendars"> 
    1426     <xsl:variable name="topLevelCalCount" select="count(calendar/calendar[name='aliases']/calendar)"/> 
     1426    <xsl:variable name="topLevelCalCount" select="count(calendar/calendar[calType != 5 and calType != 6 and calType != 2 and calType != 3])"/> 
    14271427    <table id="calPageTable" border="0" cellpadding="0" cellspacing="0"> 
    14281428      <tr> 
     
    14411441        <td class="leftCell"> 
    14421442          <ul class="calendarTree"> 
    1443             <xsl:apply-templates select="calendar/calendar[name='aliases']/calendar[position() &lt;= ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
     1443            <xsl:apply-templates select="calendar/calendar[calType != 5 and calType != 6 and calType != 2 and calType != 3 and position() &lt;= ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
    14441444          </ul> 
    14451445        </td> 
    14461446        <td> 
    14471447          <ul class="calendarTree"> 
    1448             <xsl:apply-templates select="calendar/calendar[name='aliases']/calendar[position() &gt; ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
     1448            <xsl:apply-templates select="calendar/calendar[calType != 5 and calType != 6 and calType != 2 and calType != 3 and position() &gt; ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
    14491449          </ul> 
    14501450        </td>