Changeset 3483

Show
Ignore:
Timestamp:
03/01/12 19:46:58
Author:
johnsa
Message:

admin client : add the ability to set calendar suite defaultViewMode
public client:

- add "upcoming" tab to expose listEvents action in the UI.
- style the list of upcoming events

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r3482 r3483  
    62956295        <tr> 
    62966296          <th> 
     6297            <xsl:copy-of select="$bwStr-CSPf-DefaultViewMode"/> 
     6298          </th> 
     6299          <td> 
     6300            <select name="defaultViewMode"> 
     6301              <option value="daily"> 
     6302                <xsl:if test="/bedework/prefs/defaultViewMode = 'daily'"> 
     6303                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6304                </xsl:if> 
     6305                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeDaily"/> 
     6306              </option> 
     6307              <option value="list"> 
     6308                <xsl:if test="/bedework/prefs/defaultViewMode = 'list'"> 
     6309                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6310                </xsl:if> 
     6311                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeList"/> 
     6312              </option> 
     6313              <option value="grid"> 
     6314                <xsl:if test="/bedework/prefs/defaultViewMode = 'grid'"> 
     6315                  <xsl:attribute name="selected">selected</xsl:attribute> 
     6316                </xsl:if> 
     6317                <xsl:copy-of select="$bwStr-CSPf-DefaultViewModeGrid"/> 
     6318              </option> 
     6319            </select> 
     6320          </td> 
     6321        </tr> 
     6322        <tr> 
     6323          <th> 
    62976324            <xsl:copy-of select="$bwStr-CSPf-PreferredViewPeriod"/> 
    62986325          </th> 
  • trunk/deployment/webadmin/webapp/resources/default/default/strings.xsl

    r3481 r3483  
    768768  <xsl:variable name="bwStr-CSPf-CalSuite">Calendar Suite:</xsl:variable> 
    769769  <xsl:variable name="bwStr-CSPf-PreferredView">Preferred view:</xsl:variable> 
     770  <xsl:variable name="bwStr-CSPf-DefaultViewMode">Preferred view mode:</xsl:variable> 
     771  <xsl:variable name="bwStr-CSPf-DefaultViewModeList">LIST (a list of discrete events from now into the future)</xsl:variable> 
     772  <xsl:variable name="bwStr-CSPf-DefaultViewModeDaily">DAILY (a list of events grouped by date showing entire view period)</xsl:variable> 
     773  <xsl:variable name="bwStr-CSPf-DefaultViewModeGrid">GRID (calendar grid - in week and month view periods)</xsl:variable> 
    770774  <xsl:variable name="bwStr-CSPf-PreferredViewPeriod">Preferred view period:</xsl:variable> 
    771775  <xsl:variable name="bwStr-CSPf-Day">day</xsl:variable> 
  • trunk/deployment/webadmin/webapp/resources/es_ES/default/strings.xsl

    r3481 r3483  
    768768  <xsl:variable name="bwStr-CSPf-CalSuite">Calendar Suite:</xsl:variable> 
    769769  <xsl:variable name="bwStr-CSPf-PreferredView">Vista preferida:</xsl:variable> 
     770  <xsl:variable name="bwStr-CSPf-DefaultViewMode">Modo de vista preferida:</xsl:variable> 
     771  <xsl:variable name="bwStr-CSPf-DefaultViewModeList">LIST (a list of discrete events from now into the future)</xsl:variable> 
     772  <xsl:variable name="bwStr-CSPf-DefaultViewModeDaily">DAILY (a list of events grouped by date showing entire view period)</xsl:variable> 
     773  <xsl:variable name="bwStr-CSPf-DefaultViewModeGrid">GRID (calendar grid - in week and month view periods)</xsl:variable> 
    770774  <xsl:variable name="bwStr-CSPf-PreferredViewPeriod">Periodo de vista preferida:</xsl:variable> 
    771775  <xsl:variable name="bwStr-CSPf-Day">día</xsl:variable> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/de_DE/strings.xsl

    r3448 r3483  
    6060  <xsl:variable name="bwStr-Tabs-Logout">abmelden</xsl:variable> 
    6161  <xsl:variable name="bwStr-Tabs-Today">HEUTE</xsl:variable> 
     62  <xsl:variable name="bwStr-Tabs-Upcoming">AKTUELLE</xsl:variable> 
    6263  <xsl:variable name="bwStr-Tabs-Day">TAG</xsl:variable> 
    6364  <xsl:variable name="bwStr-Tabs-Week">WOCHE</xsl:variable> 
     
    211212  <xsl:variable name="bwStr-LsEv-Tentative">ENTWURF:</xsl:variable> 
    212213  <xsl:variable name="bwStr-LsEv-EventList">Veranstaltungsliste</xsl:variable> 
     214  <xsl:variable name="bwStr-LsEv-Upcoming">Aktuelle Veranstaltungen</xsl:variable> 
    213215 
    214216  <!--  xsl:template name="buildListEventsDaysOptions" --> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl

    r3448 r3483  
    6060  <xsl:variable name="bwStr-Tabs-Logout">logout</xsl:variable> 
    6161  <xsl:variable name="bwStr-Tabs-Today">TODAY</xsl:variable> 
     62  <xsl:variable name="bwStr-Tabs-Upcoming">UPCOMING</xsl:variable> 
    6263  <xsl:variable name="bwStr-Tabs-Day">DAY</xsl:variable> 
    6364  <xsl:variable name="bwStr-Tabs-Week">WEEK</xsl:variable> 
     
    211212  <xsl:variable name="bwStr-LsEv-Tentative">TENTATIVE:</xsl:variable> 
    212213  <xsl:variable name="bwStr-LsEv-EventList">Event List</xsl:variable> 
     214  <xsl:variable name="bwStr-LsEv-Upcoming">Upcoming Events</xsl:variable> 
    213215 
    214216  <!--  xsl:template name="buildListEventsDaysOptions" --> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/strings.xsl

    r3448 r3483  
    6060  <xsl:variable name="bwStr-Tabs-Logout">desconectar</xsl:variable> 
    6161  <xsl:variable name="bwStr-Tabs-Today">HOY</xsl:variable> 
     62  <xsl:variable name="bwStr-Tabs-Upcoming">PRÓXIMOS</xsl:variable> 
    6263  <xsl:variable name="bwStr-Tabs-Day">DÍA</xsl:variable> 
    6364  <xsl:variable name="bwStr-Tabs-Week">SEMANA</xsl:variable> 
     
    211212  <xsl:variable name="bwStr-LsEv-Tentative">INTENTO:</xsl:variable> 
    212213  <xsl:variable name="bwStr-LsEv-EventList">Lista de Eventos</xsl:variable> 
     214  <xsl:variable name="bwStr-LsEv-Upcoming">Próximos Eventos</xsl:variable> 
    213215 
    214216  <!--  xsl:template name="buildListEventsDaysOptions" --> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/eventListDiscrete.xsl

    r2837 r3483  
    3131 
    3232  <xsl:template match="events" mode="eventListDiscrete"> 
    33  
     33    <div class="secondaryColHeader"> 
     34      <h3> 
     35        <xsl:copy-of select="$bwStr-LsEv-Upcoming"/> 
     36        <xsl:choose> 
     37          <xsl:when test="/bedework/selectionState/selectionType = 'view'"> 
     38            <xsl:text> - </xsl:text> 
     39            <xsl:value-of select="/bedework/selectionState/view/name"/> 
     40          </xsl:when> 
     41          <xsl:when test="/bedework/selectionState/selectionType = 'collections'"> 
     42            <xsl:text> - </xsl:text> 
     43            <xsl:value-of select="/bedework/appvar[key='curCollection']/value"/> 
     44          </xsl:when> 
     45        </xsl:choose> 
     46      </h3> 
     47    </div> 
    3448    <div id="listEvents"> 
    35       <h1><xsl:copy-of select="$bwStr-LsEv-EventList"/></h1
     49      <!--h1><xsl:copy-of select="$bwStr-LsEv-Upcoming"/></h1--
    3650      <ul> 
    3751        <xsl:choose> 
     
    4458              <xsl:variable name="calPath" select="calendar/encodedPath"/> 
    4559              <xsl:variable name="guid" select="guid"/> 
     60              <xsl:variable name="guidEsc" select="translate(guid, '.', '_')"/> 
    4661              <xsl:variable name="recurrenceId" select="recurrenceId"/> 
    4762              <li> 
     
    5065                    <xsl:when test="status='CANCELLED'">bwStatusCancelled</xsl:when> 
    5166                    <xsl:when test="status='TENTATIVE'">bwStatusTentative</xsl:when> 
     67                    <xsl:when test="position() mod 2 = 0">even</xsl:when> 
     68                    <xsl:otherwise>odd</xsl:otherwise> 
    5269                  </xsl:choose> 
    5370                </xsl:attribute> 
    54  
    55                 <xsl:if test="status='CANCELLED'"><strong><xsl:copy-of select="$bwStr-LsEv-Canceled"/><xsl:text> </xsl:text></strong></xsl:if> 
    56                 <xsl:if test="status='TENTATIVE'"><em><xsl:copy-of select="$bwStr-LsEv-Tentative"/><xsl:text> </xsl:text></em></xsl:if> 
    57  
    58                 <a class="title" href="{$eventView}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
    59                   <xsl:value-of select="summary"/> 
    60                 </a><xsl:if test="location/address != ''">, <xsl:value-of select="location/address"/></xsl:if> 
    61                 <xsl:if test="/bedework/appvar[key='listEventsSummaryMode']/value='details'"> 
     71                 
     72                <!-- event icons --> 
     73                <span class="icons"> 
     74                  <xsl:variable name="gStartdate" select="start/utcdate"/> 
     75                  <xsl:variable name="gLocation" select="location/address"/> 
     76                  <xsl:variable name="gEnddate" select="end/utcdate"/> 
     77                  <xsl:variable name="gText" select="summary"/> 
     78                  <xsl:variable name="gDetails" select="summary"/> 
     79       
     80                  <xsl:if test="$eventIconDownloadIcs = 'true'"> 
     81                    <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
     82                    <a href="{$export}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="{$bwStr-SgEv-Download}"> 
     83                      <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" alt="{$bwStr-SgEv-Download}"/> 
     84                    </a> 
     85                  </xsl:if> 
     86                  <xsl:if test="$eventIconAddToMyCal = 'true'"> 
     87                    <a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="{$bwStr-LsVw-AddEventToMyCalendar}" target="myCalendar"> 
     88                      <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="{$bwStr-LsVw-AddEventToMyCalendar}"/> 
     89                    </a> 
     90                  </xsl:if> 
     91                  <xsl:if test="$eventIconFacebook = 'true'"> 
     92                    <xsl:choose> 
     93                      <xsl:when test="string-length($recurrenceId)"> 
     94                        <a href="http://www.facebook.com/share.php?u={$eventView}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;t={$gText}" title="{$bwStr-SgEv-AddToFacebook}"> 
     95                          <img title="{$bwStr-SgEv-AddToFacebook}" src="{$resourcesRoot}/images/Facebook_Badge_small.gif" alt="{$bwStr-SgEv-AddToFacebook}"/> 
     96                        </a> 
     97                      </xsl:when> 
     98                      <xsl:otherwise> 
     99                        <a href="http://www.facebook.com/share.php?u={$eventView}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;t={$gText}" title="{$bwStr-SgEv-AddToFacebook}"> 
     100                          <img title="{$bwStr-SgEv-AddToFacebook}" src="{$resourcesRoot}/images/Facebook_Badge_small.gif" alt="{$bwStr-SgEv-AddToFacebook}"/> 
     101                        </a> 
     102                      </xsl:otherwise> 
     103                    </xsl:choose> 
     104                  </xsl:if> 
     105                  <xsl:if test="$eventIconGoogleCal = 'true'"> 
     106                    <a href="http://www.google.com/calendar/event?action=TEMPLATE&amp;dates={$gStartdate}/{$gEnddate}&amp;text={$gText}&amp;details={$gDetails}&amp;location={$gLocation}"> 
     107                      <img title="{$bwStr-SgEv-AddToGoogleCalendar}" src="{$resourcesRoot}/images/gcal_small.gif" alt="{$bwStr-SgEv-AddToGoogleCalendar}"/> 
     108                    </a> 
     109                  </xsl:if> 
     110                  <xsl:if test="$eventIconShareThis = 'true'"> 
     111                    <a href="https://wiki.jasig.org/pages/viewpage.action?pageId=50860497"> 
     112                      <img title="{$bwStr-SgEv-ShareThis}" src="{$resourcesRoot}/images/share-icon-16x16.png" alt="{$bwStr-SgEv-ShareThis}"/> 
     113                    </a> 
     114                  </xsl:if> 
     115                </span> 
     116                 
     117                <!-- event thumbnail --> 
     118                <a href="{$eventView}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     119                  <img width="80" class="eventThumb"> 
     120                    <xsl:attribute name="src"> 
     121                      <xsl:choose> 
     122                        <xsl:when test="xproperties/X-BEDEWORK-IMAGE"><xsl:value-of select="xproperties/X-BEDEWORK-IMAGE/values/text"/></xsl:when> 
     123                        <xsl:otherwise><xsl:value-of select="$resourcesRoot"/>/images/sdpl/placeholder.png</xsl:otherwise> 
     124                      </xsl:choose> 
     125                    </xsl:attribute> 
     126                    <xsl:attribute name="alt"><xsl:value-of select="summary"/></xsl:attribute> 
     127                  </img> 
     128                </a> 
     129                 
     130                <div class="eventListContent"> 
     131                  <!-- event title --> 
     132                  <xsl:if test="status='CANCELLED'"><strong><xsl:copy-of select="$bwStr-LsVw-Canceled"/><xsl:text> </xsl:text></strong></xsl:if> 
     133                  <xsl:if test="status='TENTATIVE'"><strong><xsl:copy-of select="$bwStr-LsEv-Tentative"/><xsl:text> </xsl:text></strong></xsl:if> 
     134                  <h4> 
     135                    <a href="{$eventView}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}"> 
     136                      <xsl:value-of select="summary"/> 
     137                      <xsl:if test="summary = ''"> 
     138                        <xsl:copy-of select="$bwStr-SgEv-NoTitle" /> 
     139                      </xsl:if> 
     140                    </a> 
     141                  </h4> 
     142                   
     143                  <xsl:value-of select="substring(start/dayname,1,3)"/>, 
     144                  <xsl:value-of select="start/longdate"/> 
     145                  <xsl:text> </xsl:text> 
     146                  <xsl:if test="start/allday != 'true'"> 
     147                    <xsl:value-of select="start/time"/> 
     148                  </xsl:if> 
     149                  <xsl:choose> 
     150                    <xsl:when test="start/shortdate != end/shortdate"> 
     151                      - 
     152                      <xsl:value-of select="substring(end/dayname,1,3)"/>, 
     153                      <xsl:value-of select="end/longdate"/> 
     154                      <xsl:text> </xsl:text> 
     155                      <xsl:if test="start/allday != 'true'"> 
     156                        <xsl:value-of select="end/time"/> 
     157                      </xsl:if> 
     158                    </xsl:when> 
     159                    <xsl:otherwise> 
     160                      <xsl:if test="start/time != end/time"> 
     161                        - 
     162                        <xsl:value-of select="end/time"/> 
     163                      </xsl:if> 
     164                    </xsl:otherwise> 
     165                  </xsl:choose> 
     166                   
     167                  <br/> 
     168                  <xsl:copy-of select="$bwStr-LsVw-Location"/><xsl:text> </xsl:text> 
     169                  <xsl:value-of select="location/address"/> 
    62170                  <xsl:if test="location/subaddress != ''"> 
    63171                    , <xsl:value-of select="location/subaddress"/> 
    64172                  </xsl:if> 
    65                 </xsl:if> 
    66 <!-- 
    67                 <xsl:text> </xsl:text> 
    68                 <a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" title="{$bwStr-LsVw-AddEventToMyCalendar}" target="myCalendar"> 
    69                   <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="{$bwStr-LsVw-AddEventToMyCalendar}"/> 
    70                 </a> 
    71                 <xsl:text> </xsl:text> 
    72                 <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    73                 <a href="{$export}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="{$bwStr-LsEv-DownloadEvent}"> 
    74                   <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="{$bwStr-LsEv-DownloadEvent}"/> 
    75                 </a> 
    76 --> 
    77                 <br/> 
    78  
    79                 <xsl:value-of select="substring(start/dayname,1,3)"/>, 
    80                 <xsl:value-of select="start/longdate"/> 
    81                 <xsl:text> </xsl:text> 
    82                 <xsl:if test="start/allday != 'true'"> 
    83                   <xsl:value-of select="start/time"/> 
    84                 </xsl:if> 
    85                 <xsl:choose> 
    86                   <xsl:when test="start/shortdate != end/shortdate"> 
    87                     - 
    88                     <xsl:value-of select="substring(end/dayname,1,3)"/>, 
    89                     <xsl:value-of select="end/longdate"/> 
    90                     <xsl:text> </xsl:text> 
    91                     <xsl:if test="start/allday != 'true'"> 
    92                       <xsl:value-of select="end/time"/> 
     173   
     174                  <xsl:if test="/bedework/appvar[key='listEventsSummaryMode']/value='details'"> 
     175                    <br/> 
     176                    <xsl:value-of select="description"/> 
     177                    <xsl:if test="link != ''"> 
     178                      <br/> 
     179                      <xsl:variable name="link" select="link"/> 
     180                      <a href="{$link}" class="moreLink"><xsl:value-of select="link"/></a> 
    93181                    </xsl:if> 
    94                   </xsl:when> 
    95                   <xsl:otherwise> 
    96                     <xsl:if test="start/time != end/time"> 
    97                       - 
    98                       <xsl:value-of select="end/time"/> 
     182                    <xsl:if test="categories/category"> 
     183                      <br/> 
     184                      <xsl:copy-of select="$bwStr-LsEv-Categories"/> 
     185                      <xsl:for-each select="categories/category"> 
     186                        <xsl:value-of select="value"/><xsl:if test="position() != last()">, </xsl:if> 
     187                      </xsl:for-each> 
    99188                    </xsl:if> 
    100                   </xsl:otherwise> 
    101                 </xsl:choose> 
    102  
    103                 <xsl:if test="/bedework/appvar[key='listEventsSummaryMode']/value='details'"> 
    104                   <br/> 
    105                   <xsl:value-of select="description"/> 
    106                   <xsl:if test="link != ''"> 
    107189                    <br/> 
    108                     <xsl:variable name="link" select="link"/> 
    109                     <a href="{$link}" class="moreLink"><xsl:value-of select="link"/></a> 
    110                   </xsl:if> 
    111                   <xsl:if test="categories/category"> 
     190                    <em> 
     191                      <xsl:if test="cost!=''"> 
     192                        <xsl:value-of select="cost"/>.&#160; 
     193                      </xsl:if> 
     194                      <xsl:if test="contact/name!='none'"> 
     195                        <xsl:copy-of select="$bwStr-LsEv-Contact"/><xsl:text> </xsl:text><xsl:value-of select="contact/name"/> 
     196                      </xsl:if> 
     197                    </em> 
     198                  </xsl:if> 
     199                   
     200                  <xsl:if test="xproperties/X-BEDEWORK-ALIAS"> 
    112201                    <br/> 
    113                     <xsl:copy-of select="$bwStr-LsEv-Categories"/> 
    114                     <xsl:for-each select="categories/category"> 
    115                       <xsl:value-of select="value"/><xsl:if test="position() != last()">, </xsl:if> 
    116                     </xsl:for-each> 
    117                   </xsl:if> 
    118                   <br/> 
    119                   <em> 
    120                     <xsl:if test="cost!=''"> 
    121                       <xsl:value-of select="cost"/>.&#160; 
    122                     </xsl:if> 
    123                     <xsl:if test="contact/name!='none'"> 
    124                       <xsl:copy-of select="$bwStr-LsEv-Contact"/><xsl:text> </xsl:text><xsl:value-of select="contact/name"/> 
    125                     </xsl:if> 
    126                   </em> 
    127                 </xsl:if> 
     202                    <xsl:copy-of select="$bwStr-LsVw-TopicalArea"/><xsl:text> </xsl:text> 
     203                    <span class="eventSubscription"> 
     204                      <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 
     205                        <xsl:choose> 
     206                          <xsl:when test="parameters/X-BEDEWORK-PARAM-DISPLAYNAME"> 
     207                            <xsl:value-of select="parameters/X-BEDEWORK-PARAM-DISPLAYNAME"/> 
     208                          </xsl:when> 
     209                          <xsl:otherwise> 
     210                            <xsl:call-template name="substring-afterLastInstanceOf"> 
     211                              <xsl:with-param name="string" select="values/text"/> 
     212                              <xsl:with-param name="char">/</xsl:with-param> 
     213                            </xsl:call-template> 
     214                          </xsl:otherwise> 
     215                        </xsl:choose> 
     216                        <xsl:if test="position()!=last()">, </xsl:if> 
     217                      </xsl:for-each> 
     218                    </span> 
     219                  </xsl:if> 
     220                </div> 
     221                <br class="clear"/> 
    128222 
    129223              </li> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/featuredEvents.xsl

    r3089 r3483  
    2626                 ($featuredEventsForEventDisplay = 'true' and /bedework/page = 'event') or 
    2727                 ($featuredEventsForCalList = 'true' and /bedework/page = 'calendarList') or 
     28                 ($featuredEventsForEventList = 'true' and /bedework/page = 'eventList') or 
    2829                 (/bedework/page = 'eventscalendar' and ( 
    2930                   ($featuredEventsForDay = 'true' and /bedework/periodname = 'Day') or 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/header.xsl

    r2837 r3483  
    114114        <li> 
    115115          <a 
     116            href="{$listEvents}"> 
     117            <xsl:if test="/bedework/page='eventList'"> 
     118              <xsl:attribute name="class"> 
     119                <xsl:value-of select="$currentClass" /> 
     120              </xsl:attribute> 
     121            </xsl:if> 
     122            <xsl:copy-of select="$bwStr-Tabs-Upcoming"/> 
     123          </a> 
     124        </li> 
     125        <li> 
     126          <a 
    116127            href="{$setViewPeriod}&amp;viewType=dayView&amp;date={$curdate}"> 
    117             <xsl:if test="/bedework/periodname='Day'"> 
     128            <xsl:if test="/bedework/periodname='Day' and /bedework/page != 'eventList'"> 
    118129              <xsl:attribute name="class"> 
    119130                <xsl:value-of select="$currentClass" /> 
     
    126137          <a 
    127138            href="{$setViewPeriod}&amp;viewType=weekView&amp;date={$curdate}"> 
    128             <xsl:if test="/bedework/periodname='Week'"> 
     139            <xsl:if test="/bedework/periodname='Week' and /bedework/page != 'eventList'"> 
    129140              <xsl:attribute name="class"> 
    130141                <xsl:value-of select="$currentClass" /> 
     
    137148          <a 
    138149            href="{$setViewPeriod}&amp;viewType=monthView&amp;date={$curdate}"> 
    139             <xsl:if test="/bedework/periodname='Month'"> 
     150            <xsl:if test="/bedework/periodname='Month' and /bedework/page != 'eventList'"> 
    140151              <xsl:attribute name="class"> 
    141152                <xsl:value-of select="$currentClass" /> 
     
    148159          <a 
    149160            href="{$setViewPeriod}&amp;viewType=yearView&amp;date={$curdate}"> 
    150             <xsl:if test="/bedework/periodname='Year'"> 
     161            <xsl:if test="/bedework/periodname='Year' and /bedework/page != 'eventList'"> 
    151162              <xsl:attribute name="class"> 
    152163                <xsl:value-of select="$currentClass" /> 
     
    159170          <a 
    160171            href="{$setViewPeriod}&amp;viewType=todayView"> 
    161             <xsl:if test="/bedework/periodname='Today'"> 
     172            <xsl:if test="/bedework/periodname='Today' and /bedework/page != 'eventList'"> 
    162173              <xsl:attribute name="class"> 
    163174                <xsl:value-of select="$currentClass" /> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/subscriptions.xsl

    r3466 r3483  
    108108              </xsl:when> 
    109109              <xsl:otherwise> 
    110                 <a href="{$setSelection}&amp;virtualPath={$encVirtualPath}&amp;setappvar=curCollection({$name})"> 
     110                <a href="{$setSelection}"> 
     111                  <xsl:attribute name="href"> 
     112                    <xsl:choose> 
     113                      <xsl:when test="/bedework/page = 'eventList'"><xsl:value-of select="$listEvents"/>&amp;virtualPath=<xsl:value-of select="$encVirtualPath"/>&amp;setappvar=curCollection(<xsl:value-of select="$name"/>)</xsl:when> 
     114                      <xsl:otherwise><xsl:value-of select="$setSelection"/>&amp;virtualPath=<xsl:value-of select="$encVirtualPath"/>&amp;setappvar=curCollection(<xsl:value-of select="$name"/>)</xsl:otherwise> 
     115                    </xsl:choose> 
     116                  </xsl:attribute> 
    111117                  <xsl:value-of select="summary"/> 
    112118                </a> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl

    r3448 r3483  
    109109  <xsl:variable name="featuredEventsForYear">false</xsl:variable> 
    110110  <xsl:variable name="featuredEventsForEventDisplay">false</xsl:variable> 
     111  <xsl:variable name="featuredEventsForEventList">true</xsl:variable> 
    111112  <xsl:variable name="featuredEventsForCalList">false</xsl:variable> 
    112113 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeUtil.xsl

    r2837 r3483  
    2828    <xsl:choose> 
    2929      <xsl:when test="$ongoingEventsEnabled = 'true' and 
    30                       /bedework/page = 'eventscalendar' and 
     30                     (/bedework/page = 'eventscalendar' or /bedework/page = 'eventList') and 
    3131                      /bedework/periodname != 'Year'"> 
    3232        <xsl:choose>