Changeset 1645

Show
Ignore:
Timestamp:
11/30/07 08:04:07
Author:
kllin
Message:

taking care to output the correct strings for public/private cal.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/xslt-rewrite/deployment/resources/xsl/default/default/navigation.xsl

    r1641 r1645  
    7777        <td colspan="3" id="logoCell"><a href="/bedework/"><img src="{$resourcesRoot}/resources/bedeworkLogo.gif" width="292" height="75" border="0" alt="Bedework"/></a></td> 
    7878        <td colspan="2" id="schoolLinksCell"> 
    79           <h2>Personal Calendar</h2> 
    80           <a href="{$publicCal}">Public Calendar</a> | 
     79          <xsl:choose> 
     80            <xsl:when test="bedework/publicview = 'false'"> 
     81              <h2>Personal Calendar</h2> 
     82              <a href="{$publicCal}">Public Calendar</a> | 
     83            </xsl:when> 
     84            <xsl:otherwise> 
     85              <h2>Public Calendar</h2> 
     86              <a href="{$privateCal}">Personal Calendar</a> | 
     87            </xsl:otherwise> 
     88          </xsl:choose> 
    8189          <a href="http://www.yourschoolhere.edu">School Home</a> | 
    8290          <a href="http://www.bedework.org/">Other Link</a> |