Changeset 405

Show
Ignore:
Timestamp:
04/20/06 17:27:45
Author:
johnsa
Message:

added duration (based on free/busy period) to add event link from free/busy display

Files:

Legend:

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

    r404 r405  
    20012001            <!-- the start date for the add event link is a concat of the day's date plus the period's time (+ seconds)--> 
    20022002            <xsl:variable name="startDate"><xsl:value-of select="substring(../start,1,8)"/>T<xsl:value-of select="start"/>00</xsl:variable> 
     2003            <xsl:variable name="minutes" select="length"/> 
    20032004            <xsl:choose> 
    20042005              <xsl:when test="fbtype = '0'"> 
    20052006                <td class="busy"> 
    2006                   <a href="{$initEvent}?startdate={$startDate}" title="{$startTime}">*</a> 
     2007                  <a href="{$initEvent}?startdate={$startDate}&amp;minutes={$minutes}" title="{$startTime}">*</a> 
    20072008                </td> 
    20082009              </xsl:when> 
    20092010              <xsl:otherwise> 
    20102011                <td class="free"> 
    2011                   <a href="{$initEvent}?startdate={$startDate}" title="{$startTime}">*</a> 
     2012                  <a href="{$initEvent}?startdate={$startDate}&amp;minutes={$minutes}" title="{$startTime}">*</a> 
    20122013                </td> 
    20132014              </xsl:otherwise>