Changeset 1975
- Timestamp:
- 11/19/08 23:49:15
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r1971 r1975 1544 1544 font-weight: bold; 1545 1545 } 1546 #bedework li. subscription{1547 list-style-image: url(../../resources/ subIcon.gif);1546 #bedework li.alias { 1547 list-style-image: url(../../resources/calIconAlias-sm.gif); 1548 1548 font-style: italic; 1549 1549 margin-left: 0; trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1973 r1975 585 585 <!-- normal calendars --> 586 586 <ul class="calendarTree"> 587 <xsl:apply-templates select="/bedework/myCalendars/calendars/calendar " mode="myCalendars"/>587 <xsl:apply-templates select="/bedework/myCalendars/calendars/calendar[calType != 5 and calType != 6 and calType != 2 and calType != 3]" mode="myCalendars"/> 588 588 </ul> 589 589 <!-- special calendars: inbox, outbox, and trash --> … … 4274 4274 </xsl:template> 4275 4275 4276 <!-- 4277 Calendar templates depend heavily on calendar types: 4278 4279 calTypes: 0 - Folder 4280 1 - Calendar 4281 2 - Trash 4282 3 - Deleted 4283 4 - Busy 4284 5 - Inbox 4285 6 - Outbox 4286 7 - Alias 4287 8 - External subscription 4288 9 - Resource collection 4289 --> 4290 4276 4291 <xsl:template match="calendar" mode="myCalendars"> 4292 <!-- this template receives calType 0,1,4,7,8,9 --> 4277 4293 <xsl:variable name="id" select="id"/> 4278 4294 <li> … … 4280 4296 <xsl:choose> 4281 4297 <xsl:when test="/bedework/selectionState/selectionType = 'calendar' 4282 and path = /bedework/selectionState/ subscriptions/subscription/calendar/path">selected</xsl:when>4283 <xsl:when test=" name='Trash'">trash</xsl:when>4284 <xsl:when test="cal endarCollection='false'">folder</xsl:when>4298 and path = /bedework/selectionState/calendar/path">selected</xsl:when> 4299 <xsl:when test="calType = 0">folder</xsl:when> 4300 <xsl:when test="calType = 7">alias</xsl:when> 4285 4301 <xsl:otherwise>calendar</xsl:otherwise> 4286 4302 </xsl:choose> … … 4299 4315 4300 4316 <xsl:template match="calendar" mode="mySpecialCalendars"> 4301 <!-- calTypes: Trash = 2, Deleted = 3, Busy = 4, 4302 Inbox = 5, Outbox = 6 4303 Alias = 7, eternal subscription = 8 --> 4317 <!-- this template receives calType 2,3,5,6 --> 4304 4318 <xsl:variable name="id" select="id"/> 4305 4319 <li>
