Changeset 2094

Show
Ignore:
Timestamp:
03/05/09 15:28:11
Author:
johnsa
Message:

public client: temporarily set title on list view

Files:

Legend:

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

    r2091 r2094  
    332332      </ul> 
    333333    </div> 
    334     <!-- xsl:choose> 
    335       <xsl:when test="/bedework/page='eventscalendar'"> 
    336         <table border="0" cellpadding="0" cellspacing="0" id="tabsTable"> 
    337           <tr> 
    338             <td> 
    339               <xsl:choose> 
    340                 <xsl:when test="/bedework/periodname='Day'"> 
    341                   <a href="{$setViewPeriod}&amp;viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-on.gif" width="91" height="20" border="0" alt="DAY"/></a> 
    342                 </xsl:when> 
    343                 <xsl:otherwise> 
    344                   <a href="{$setViewPeriod}&amp;viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 
    345                 </xsl:otherwise> 
    346               </xsl:choose> 
    347             </td> 
    348             <td> 
    349               <xsl:choose> 
    350                 <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''"> 
    351                   <a href="{$setViewPeriod}&amp;viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-on.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
    352                  </xsl:when> 
    353                 <xsl:otherwise> 
    354                   <a href="{$setViewPeriod}&amp;viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
    355                  </xsl:otherwise> 
    356               </xsl:choose> 
    357             </td> 
    358             <td> 
    359               <xsl:choose> 
    360                 <xsl:when test="/bedework/periodname='Month'"> 
    361                   <a href="{$setViewPeriod}&amp;viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-on.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
    362                 </xsl:when> 
    363                 <xsl:otherwise> 
    364                   <a href="{$setViewPeriod}&amp;viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
    365                 </xsl:otherwise> 
    366               </xsl:choose> 
    367             </td> 
    368             <td> 
    369               <xsl:choose> 
    370                 <xsl:when test="/bedework/periodname='Year'"> 
    371                   <a href="{$setViewPeriod}&amp;viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-on.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
    372                 </xsl:when> 
    373                 <xsl:otherwise> 
    374                   <a href="{$setViewPeriod}&amp;viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
    375                 </xsl:otherwise> 
    376               </xsl:choose> 
    377             </td> 
    378             <td class="centerCell"> 
    379               &#160; 
    380             </td> 
    381             <td class="rightCell"> 
    382               &#160; 
    383             </td> 
    384           </tr> 
    385         </table> 
    386       </xsl:when> 
    387       <xsl:otherwise> 
    388         <table border="0" cellpadding="0" cellspacing="0" id="tabsTable"> 
    389           <tr> 
    390             <td> 
    391               <a href="{$setViewPeriod}&amp;viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a> 
    392             </td> 
    393             <td> 
    394               <a href="{$setViewPeriod}&amp;viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a> 
    395             </td> 
    396             <td> 
    397               <a href="{$setViewPeriod}&amp;viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a> 
    398             </td> 
    399             <td> 
    400               <a href="{$setViewPeriod}&amp;viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a> 
    401             </td> 
    402             <td class="centerCell"> 
    403               &#160; 
    404             </td> 
    405             <td class="rightCell"> 
    406               &#160; 
    407             </td> 
    408           </tr> 
    409         </table> 
    410       </xsl:otherwise> 
    411     </xsl:choose--> 
    412334  </xsl:template> 
    413335 
     
    11561078  <xsl:template match="events" mode="eventList"> 
    11571079    <h2 class="bwStatusConfirmed"> 
    1158       Event List: 
    1159       <xsl:choose> 
     1080      Next 7 Days 
     1081      <!-- xsl:choose> 
    11601082        <xsl:when test="/bedework/now/longdate = /bedework/events/event[position()=last()]/start/longdate"><xsl:value-of select="/bedework/now/longdate"/></xsl:when> 
    11611083        <xsl:otherwise><xsl:value-of select="/bedework/now/longdate"/> - <xsl:value-of select="/bedework/events/event[position()=last()]/start/longdate"/></xsl:otherwise> 
    1162       </xsl:choose
     1084      </xsl:choose--
    11631085    </h2> 
    11641086