| 80 | | <div id="dateInfo"> |
|---|
| 81 | | <xsl:if test="/bedework/page!='calendarList' and /bedework/page!='event'"> |
|---|
| 82 | | <<a href="{$setViewPeriod}&date={$prevdate}">prev</a> |
|---|
| 83 | | <xsl:text> </xsl:text> |
|---|
| 84 | | <strong> |
|---|
| 85 | | <xsl:choose> |
|---|
| 86 | | <xsl:when test="/bedework/periodname='Day'"> |
|---|
| 87 | | <xsl:value-of select="substring(/bedework/eventscalendar/year/month/week/day/name,1,3)"/>, <xsl:value-of select="/bedework/eventscalendar/year/month/shortname"/> <xsl:value-of select="/bedework/eventscalendar/year/month/week/day/value"/>, <xsl:value-of select="/bedework/eventscalendar/year/value"/> |
|---|
| 88 | | </xsl:when> |
|---|
| 89 | | <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''"> |
|---|
| 90 | | Week of <xsl:value-of select="/bedework/eventscalendar/year/month/shortname"/> <xsl:value-of select="/bedework/eventscalendar/year/month/week/day/value"/>, <xsl:value-of select="/bedework/eventscalendar/year/value"/> |
|---|
| 91 | | </xsl:when> |
|---|
| 92 | | <xsl:when test="/bedework/periodname='Month'"> |
|---|
| 93 | | <xsl:value-of select="/bedework/eventscalendar/year/month/longname"/>, <xsl:value-of select="/bedework/eventscalendar/year/value"/> |
|---|
| 94 | | </xsl:when> |
|---|
| 95 | | <xsl:otherwise> |
|---|
| 96 | | <xsl:value-of select="/bedework/eventscalendar/year/value"/> |
|---|
| 97 | | </xsl:otherwise> |
|---|
| 98 | | </xsl:choose> |
|---|
| 99 | | </strong> |
|---|
| 100 | | <xsl:text> </xsl:text> |
|---|
| 101 | | <a href="{$setViewPeriod}&date={$nextdate}">next</a>> |
|---|
| 102 | | <br /> |
|---|
| 103 | | </xsl:if> |
|---|
| 104 | | </div> |
|---|
| 139 | | <a href="{$setViewPeriod}&viewType=todayView&date={$curdate}"> |
|---|
| 140 | | today |
|---|
| 141 | | </a><br /> |
|---|
| 142 | | <xsl:choose> |
|---|
| 143 | | <xsl:when test="/bedework/selectionState/selectionType = 'calendar'"> |
|---|
| 144 | | Calendar: <xsl:value-of select="/bedework/selectionState/subscriptions/subscription/calendar/name"/> |
|---|
| 145 | | <span class="link">[<a href="{$setSelection}">show all</a>]</span> |
|---|
| 146 | | </xsl:when> |
|---|
| 147 | | <xsl:otherwise> |
|---|
| 148 | | <xsl:if test="/bedework/page != 'calendarList'"> |
|---|
| 149 | | <span class="calLinks"><a href="{$fetchPublicCalendars}">available calendars</a></span> |
|---|
| 150 | | </xsl:if> |
|---|
| 151 | | </xsl:otherwise> |
|---|
| 152 | | </xsl:choose> |
|---|
| | 108 | <a href="{$setViewPeriod}&viewType=todayView&date={$curdate}">today</a><br/> |
|---|
| | 109 | <<a href="{$setViewPeriod}&date={$prevdate}">prev</a> |
|---|
| | 110 | <xsl:text> </xsl:text> |
|---|
| | 111 | <a href="{$setViewPeriod}&date={$nextdate}">next</a>> |
|---|
| | 112 | <xsl:if test="/bedework/selectionState/selectionType = 'calendar'"> |
|---|
| | 113 | <br/>Calendar: <xsl:value-of select="/bedework/selectionState/subscriptions/subscription/calendar/name"/> |
|---|
| | 114 | <span class="link">[<a href="{$setSelection}">show all</a>]</span> |
|---|
| | 115 | </xsl:if> |
|---|
| 465 | | <td class="date"> |
|---|
| 466 | | <xsl:choose> |
|---|
| 467 | | <xsl:when test="start/allday = 'true' and |
|---|
| 468 | | start/shortdate = end/shortdate"> |
|---|
| 469 | | all day |
|---|
| 470 | | </xsl:when> |
|---|
| 471 | | <xsl:when test="start/shortdate = end/shortdate and |
|---|
| 472 | | start/time = end/time"> |
|---|
| 473 | | <xsl:value-of select="start/time"/> |
|---|
| 474 | | </xsl:when> |
|---|
| 475 | | <xsl:otherwise> |
|---|
| 476 | | <xsl:choose> |
|---|
| 477 | | <xsl:when test="start/allday = 'true' and |
|---|
| 478 | | parent::day/shortdate = start/shortdate"> |
|---|
| 479 | | today |
|---|
| 480 | | </xsl:when> |
|---|
| 481 | | <xsl:when test="parent::day/shortdate != start/shortdate"> |
|---|
| 482 | | <span class="littleArrow">«</span> |
|---|
| 483 | | <xsl:value-of select="start/month"/>/<xsl:value-of select="start/day"/> |
|---|
| 484 | | </xsl:when> |
|---|
| 485 | | <xsl:otherwise> |
|---|
| 486 | | <xsl:value-of select="start/time"/> |
|---|
| 487 | | </xsl:otherwise> |
|---|
| 488 | | </xsl:choose> |
|---|
| 489 | | - |
|---|
| 490 | | <xsl:choose> |
|---|
| 491 | | <xsl:when test="end/allday = 'true' and |
|---|
| 492 | | parent::day/shortdate = end/shortdate"> |
|---|
| 493 | | today |
|---|
| 494 | | </xsl:when> |
|---|
| 495 | | <xsl:when test="parent::day/shortdate != end/shortdate"> |
|---|
| 496 | | <xsl:value-of select="end/month"/>/<xsl:value-of select="end/day"/> |
|---|
| 497 | | <span class="littleArrow">»</span> |
|---|
| 498 | | </xsl:when> |
|---|
| 499 | | <xsl:otherwise> |
|---|
| 500 | | <xsl:value-of select="end/time"/> |
|---|
| 501 | | </xsl:otherwise> |
|---|
| 502 | | </xsl:choose> |
|---|
| 503 | | </xsl:otherwise> |
|---|
| 504 | | </xsl:choose> |
|---|
| 505 | | </td> |
|---|
| 506 | | <td class="description"> |
|---|
| 507 | | <xsl:if test="status='CANCELLED'"><strong>CANCELED: </strong></xsl:if> |
|---|
| 508 | | <xsl:choose> |
|---|
| 509 | | <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> |
|---|
| 510 | | <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> |
|---|
| 511 | | <strong> |
|---|
| 512 | | <xsl:value-of select="summary"/>: |
|---|
| 513 | | </strong> |
|---|
| 514 | | <xsl:value-of select="description"/>  |
|---|
| 515 | | <em> |
|---|
| 516 | | <xsl:value-of select="location/address"/> |
|---|
| 517 | | <xsl:if test="location/subaddress != ''"> |
|---|
| 518 | | , <xsl:value-of select="location/subaddress"/> |
|---|
| 519 | | </xsl:if>.  |
|---|
| 520 | | <xsl:if test="cost!=''"> |
|---|
| 521 | | <xsl:value-of select="cost"/>.  |
|---|
| 522 | | </xsl:if> |
|---|
| 523 | | <xsl:if test="contact/name!='none'"> |
|---|
| 524 | | Contact: <xsl:value-of select="contact/name"/> |
|---|
| 525 | | </xsl:if> |
|---|
| 526 | | </em> |
|---|
| 527 | | - <xsl:value-of select="calendar/name"/> |
|---|
| 528 | | </a> |
|---|
| 529 | | <xsl:if test="link != ''"> |
|---|
| 530 | | <xsl:variable name="link" select="link"/> |
|---|
| 531 | | <a href="{$link}" class="moreLink"><xsl:value-of select="link"/></a> |
|---|
| 532 | | </xsl:if> |
|---|
| 533 | | </xsl:when> |
|---|
| 534 | | <xsl:otherwise> |
|---|
| 535 | | <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> |
|---|
| 536 | | <xsl:value-of select="summary"/> |
|---|
| 537 | | </a> |
|---|
| 538 | | </xsl:otherwise> |
|---|
| 539 | | </xsl:choose> |
|---|
| 540 | | </td> |
|---|
| 541 | | </tr> |
|---|
| | 419 | <xsl:value-of select="start/dayname"/>, <xsl:value-of select="start/longdate"/> |
|---|
| | 420 | <xsl:choose> |
|---|
| | 421 | <xsl:when test="start/allday = 'true'">(all day)</xsl:when> |
|---|
| | 422 | <xsl:otherwise> at <xsl:value-of select="start/time"/></xsl:otherwise> |
|---|
| | 423 | </xsl:choose> |
|---|
| | 424 | <br/> |
|---|
| | 425 | <strong> |
|---|
| | 426 | <xsl:if test="status='CANCELLED'">CANCELED: </xsl:if> |
|---|
| | 427 | <xsl:value-of select="summary"/> |
|---|
| | 428 | </strong> |
|---|
| | 429 | </li> |
|---|