Changeset 2635
- Timestamp:
- 01/06/10 13:20:35
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r2634 r2635 6620 6620 </xsl:when> 6621 6621 </xsl:choose> 6622 <!-- 6622 6623 <tr> 6623 6624 <td class="fieldname"> … … 6627 6628 <xsl:choose> 6628 6629 <xsl:when test="not(guidcals/calendar)"> 6629 <!- - the event has not been added to a calendar, so this is the6630 first request - ->6631 6632 <!- - the string "user/" should not be hard coded; fix this -->6630 <!- - the event has not been added to a calendar, so this is the 6631 first request - - > 6632 6633 <!- - the string "user/" should not be hard coded; fix this - - > 6633 6634 <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/></xsl:variable> 6634 6635 <xsl:variable name="writableCalendars"> … … 6642 6643 <xsl:choose> 6643 6644 <xsl:when test="$writableCalendars = 1"> 6644 <!- - there is only 1 writable calendar, so find it by looking down both trees at once -->6645 <!- - there is only 1 writable calendar, so find it by looking down both trees at once - - > 6645 6646 <xsl:variable name="newCalPath"><xsl:value-of select="/bedework/myCalendars//calendar[calType = '1' and 6646 6647 currentAccess/current-user-privilege-set/privilege/write-content]/path"/><xsl:value-of select="/bedework/mySubscriptions//calendar[calType = '1' and … … 6664 6665 <xsl:otherwise> 6665 6666 <input type="hidden" name="newCalPath" id="bwNewCalPathField" value=""/> 6666 <!- -6667 <!- - 6667 6668 <xsl:if test="form/calendar/calType = '1'"><xsl:attribute name="value"><xsl:value-of select="form/calendar/path"/></xsl:attribute></xsl:if> 6668 </input>- ->6669 </input>- - > 6669 6670 6670 6671 <xsl:variable name="userFullPath"><xsl:value-of select="$userPath"/>/</xsl:variable> … … 6682 6683 </xsl:if> 6683 6684 <xsl:text> </xsl:text> 6684 <!- - this final text element is required to avoid an empty6685 span element which is improperly rendered in the browser - ->6685 <!- - this final text element is required to avoid an empty 6686 span element which is improperly rendered in the browser - - > 6686 6687 </span> 6687 6688 … … 6693 6694 </xsl:when> 6694 6695 <xsl:otherwise> 6695 <!- - the event exists in calendars already, so this is a6696 <!- - the event exists in calendars already, so this is a 6696 6697 subsequent follow-up. Let the user choose which copies 6697 6698 of the event to update. For now, we'll just list them … … 6699 6700 6700 6701 This should be changed - we will only have one of these so 6701 the for-each is not needed - ->6702 the for-each is not needed - - > 6702 6703 <ul> 6703 6704 <xsl:for-each select="guidcals/calendar"> … … 6714 6715 </td> 6715 6716 </tr> 6717 --> 6716 6718 <xsl:if test="scheduleMethod != '8'"> 6717 6719 <tr>
