Changeset 1349
- Timestamp:
- 04/18/07 12:34:14
- Files:
-
- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl (modified) (4 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r1348 r1349 4317 4317 4318 4318 <xsl:variable name="viewName" select="/bedeworkadmin/views/view/name"/> 4319 <p>The following view will be removed. <em>Be forewarned: removing views from a4320 production system can cause the public interface to throw errors while the4321 cache is updated. To avoid this, plan on restarting the server when removing4322 views from a production system.</em>4319 <p>The following view will be removed. <em>Be forewarned: if caching is 4320 enabled, removing views from a 4321 production system can cause the public interface to throw errors until the 4322 cache is flushed (a few minutes).</em> 4323 4323 </p> 4324 4324 trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl
r1313 r1349 13 13 14 14 DEMONSTRATION CALENDAR STYLESHEET 15 16 MainCampus Calendar Suite 15 17 16 18 This stylesheet is devoid of school branding. It is a good … … 720 722 <th class="icalIcon" rowspan="2"> 721 723 <div id="eventIcons"> 722 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 723 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 724 add to my calendar</a> 724 <xsl:if test="recurrenceId = ''"> 725 <!-- hide this for a 3.3.1 bug: can't add a reference to a recurring event at this time --> 726 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 727 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 728 add to my calendar</a> 729 </xsl:if> 725 730 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 726 731 <a href="{$export}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> … … 953 958 </xsl:choose> 954 959 </xsl:variable> 955 <td class="{$descriptionClass}"> 960 <!-- Subscription styles. 961 These are set in the add/modify subscription forms in the admin client; 962 if present, these override the background-color set by eventClass. The 963 subscription styles should not be used for cancelled events (tentative is ok). --> 964 <xsl:variable name="subscriptionClass"> 965 <xsl:if test="status != 'CANCELLED' and 966 subscription/subStyle != '' and 967 subscription/subStyle != 'default'"><xsl:value-of select="subscription/subStyle"/></xsl:if> 968 </xsl:variable> 969 <td class="{$descriptionClass} {$subscriptionClass}"> 956 970 <xsl:if test="status='CANCELLED'"><strong>CANCELLED: </strong></xsl:if> 957 971 <xsl:choose> … … 991 1005 </td> 992 1006 <td class="icons"> 993 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 994 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 995 </a> 1007 <xsl:if test="recurrenceId = ''"> 1008 <!-- hide this for a 3.3.1 bug: can't add a reference to a recurring event at this time --> 1009 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 1010 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 1011 </a> 1012 </xsl:if> 996 1013 <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 997 1014 <a href="{$export}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl
r1313 r1349 13 13 14 14 DEMONSTRATION "DEPARTMENTAL" CALENDAR STYLESHEET 15 16 SoEDepartmental Calendar Suite 15 17 16 18 This stylesheet is for the "soe" (School of Engineering) … … 722 724 <th class="icalIcon" rowspan="2"> 723 725 <div id="eventIcons"> 724 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 725 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 726 add to my calendar</a> 726 <xsl:if test="recurrenceId = ''"> 727 <!-- hide this for a 3.3.1 bug: can't add a reference to a recurring event at this time --> 728 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 729 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 730 add to my calendar</a> 731 </xsl:if> 727 732 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 728 733 <a href="{$export}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> … … 955 960 </xsl:choose> 956 961 </xsl:variable> 957 <td class="{$descriptionClass}"> 962 <!-- Subscription styles. 963 These are set in the add/modify subscription forms in the admin client; 964 if present, these override the background-color set by eventClass. The 965 subscription styles should not be used for cancelled events (tentative is ok). --> 966 <xsl:variable name="subscriptionClass"> 967 <xsl:if test="status != 'CANCELLED' and 968 subscription/subStyle != '' and 969 subscription/subStyle != 'default'"><xsl:value-of select="subscription/subStyle"/></xsl:if> 970 </xsl:variable> 971 <td class="{$descriptionClass} {$subscriptionClass}"> 958 972 <xsl:if test="status='CANCELLED'"><strong>CANCELLED: </strong></xsl:if> 959 973 <xsl:choose> … … 993 1007 </td> 994 1008 <td class="icons"> 995 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 996 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 997 </a> 1009 <xsl:if test="recurrenceId = ''"> 1010 <!-- hide this for a 3.3.1 bug: can't add a reference to a recurring event at this time --> 1011 <a href="{$privateCal}/event/addEventRef.do?subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 1012 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/> 1013 </a> 1014 </xsl:if> 998 1015 <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 999 1016 <a href="{$export}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">
