Changeset 1540
- Timestamp:
- 08/27/07 17:35:51
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.4/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1537 r1540 3723 3723 <xsl:apply-templates select="/bedework/freebusy" mode="freeBusyGrid"> 3724 3724 <xsl:with-param name="aggregation">true</xsl:with-param> 3725 <xsl:with-param name="type">meeting</xsl:with-param> 3725 3726 </xsl:apply-templates> 3726 3727 … … 3735 3736 <xsl:template match="freebusy" mode="freeBusyGrid"> 3736 3737 <xsl:param name="aggregation">false</xsl:param> 3737 <!-- there's only one collection of freebusy; this for-each is 3738 being used to pick out just the freebusy node and 3739 shorten the select statements below. --> 3738 <xsl:param name="type">normal</xsl:param> 3740 3739 <table id="freeBusy"> 3741 3740 <tr> … … 3818 3817 </xsl:choose> 3819 3818 </xsl:variable> 3820 <a href="{$action}&meetingStartdt={$startDate}&meetingDuration={$meetingDuration}&initDates=yes"> 3819 <xsl:variable name="urlString"> 3820 <xsl:choose> 3821 <xsl:when test="$type='meeting'"><xsl:value-of select="$action"/>&meetingStartdt=<xsl:value-of select="$startDate"/>&meetingDuration=<xsl:value-of select="$meetingDuration"/>&initDates=yes</xsl:when> 3822 <xsl:otherwise><xsl:value-of select="$action"/>&startdate=<xsl:value-of select="$startDate"/>&minutes=<xsl:value-of select="$meetingDuration"/></xsl:otherwise> 3823 </xsl:choose> 3824 </xsl:variable> 3825 <a href="{$urlString}"> 3821 3826 <xsl:choose> 3822 3827 <xsl:when test="((numBusy > 0) and (numBusy < 9)) or ((numTentative > 0) and (numTentative < 9)) and (number(numBusy) + number(numTentative) < 9)"> … … 4046 4051 <input type="submit" name="submit" value="Submit"/> 4047 4052 </form> 4048 <xsl:apply-templates select="." mode="freeBusyGrid"/> 4053 <xsl:apply-templates select="." mode="freeBusyGrid"> 4054 <xsl:with-param name="type">normal</xsl:with-param> 4055 </xsl:apply-templates> 4049 4056 </div> 4050 4057 </xsl:template>
