Changeset 3149

Show
Ignore:
Timestamp:
01/21/11 16:51:06
Author:
johnsa
Message:

personal client: use calendar summary (display name) for display

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl

    r2841 r3149  
    12781278            <!-- we've hit an unresolvable alias; stop descending --> 
    12791279            <input type="checkbox" name="forDiplayOnly" disabled="disabled"/> 
    1280             <em><xsl:value-of select="name"/>?</em> 
     1280            <em><xsl:value-of select="summary"/>?</em> 
    12811281          </xsl:when> 
    12821282          <xsl:when test="calType = '0'"> 
     
    12841284                 underlying calendar aliases --> 
    12851285            <img src="{$resourcesRoot}/resources/catIcon.gif" width="13" height="13" alt="folder" class="folderForAliasTree" border="0"/> 
    1286             <xsl:value-of select="name"/> 
     1286            <xsl:value-of select="summary"/> 
    12871287          </xsl:when> 
    12881288          <xsl:otherwise> 
    12891289            <xsl:variable name="virtualPath">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:variable> 
    1290             <input type="checkbox" name="alias" onclick="toggleBedeworkXProperty('X-BEDEWORK-SUBMIT-ALIAS','{$virtualPath}',this.checked)"> 
     1290            <xsl:variable name="displayName" select="summary"/> 
     1291            <input type="checkbox" name="alias" onclick="toggleBedeworkXProperty('X-BEDEWORK-SUBMIT-ALIAS','{$displayName}','{$virtualPath}',this.checked)"> 
    12911292              <xsl:attribute name="value"><xsl:value-of select="$virtualPath"/></xsl:attribute> 
    12921293              <xsl:if test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
     
    12941295            <xsl:choose> 
    12951296              <xsl:when test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"> 
    1296                 <strong><xsl:value-of select="name"/></strong> 
     1297                <strong><xsl:value-of select="summary"/></strong> 
    12971298              </xsl:when> 
    12981299              <xsl:otherwise> 
    1299                 <xsl:value-of select="name"/> 
     1300                <xsl:value-of select="summary"/> 
    13001301              </xsl:otherwise> 
    13011302            </xsl:choose> 
  • releases/bedework-3.7/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js

    r2850 r3149  
    312312  bwXProps.generate(formObj); 
    313313} 
    314 function toggleBedeworkXProperty(xprop,value,checked) { 
     314function toggleBedeworkXProperty(xprop,displayName,value,checked) { 
    315315  if (!checked) { 
    316316    bwXProps.removeByValue(xprop, value); 
    317317  } else { 
    318     bwXProps.update(bwXPropertySubmitAlias,[],value,false); 
     318    bwXProps.update(bwXPropertySubmitAlias,[[bwXParamDisplayName,displayName]],value,false); 
    319319  } 
    320320} 
  • releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/calendars.xsl

    r3138 r3149  
    153153          </xsl:attribute> 
    154154        </xsl:if> 
    155         <xsl:value-of select="name"/> 
     155        <xsl:value-of select="summary"/> 
    156156      </a> 
    157157      <xsl:if test="color != '' and color != 'null'"> 
     
    163163        <ul> 
    164164          <xsl:apply-templates select="calendar[canAlias = 'true']" mode="myCalendars"> 
    165             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     165            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    166166          </xsl:apply-templates> 
    167167        </ul> 
     
    189189        <xsl:when test="calType='5'"> 
    190190          <a href="{$showInbox}" title="{$bwStr-Cals-IncomingSchedulingRequests}"> 
    191             <xsl:value-of select="name"/> 
     191            <xsl:value-of select="summary"/> 
    192192          </a> 
    193193          <xsl:text> </xsl:text> 
     
    198198        <xsl:when test="calType='6'"> 
    199199          <a href="{$showOutbox}" title="{$bwStr-Cals-OutgoingSchedulingRequests}"> 
    200             <xsl:value-of select="name"/> 
     200            <xsl:value-of select="summary"/> 
    201201          </a> 
    202202          <xsl:text> </xsl:text> 
     
    214214              </xsl:choose> 
    215215            </xsl:attribute> 
    216             <xsl:value-of select="name"/> 
     216            <xsl:value-of select="summary"/> 
    217217          </a> 
    218218        </xsl:otherwise> 
     
    248248      </xsl:attribute> 
    249249      <a href="{$calendar-fetchForUpdate}&amp;calPath={$calPath}" title="{$bwStr-Cals-Update}"> 
    250         <xsl:value-of select="name"/> 
     250        <xsl:value-of select="summary"/> 
    251251      </a> 
    252252      <xsl:if test="calType = '0' and isSubscription = 'false'"> 
     
    259259        <ul> 
    260260          <xsl:apply-templates select="calendar" mode="listForUpdate"> 
    261             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     261            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    262262          </xsl:apply-templates> 
    263263        </ul> 
     
    278278      </xsl:attribute> 
    279279      <a href="{$calendar-fetchForDisplay}&amp;calPath={$calPath}" title="{$bwStr-Cals-Display}"> 
    280         <xsl:value-of select="name"/> 
     280        <xsl:value-of select="summary"/> 
    281281      </a> 
    282282      <xsl:if test="calendar"> 
    283283        <ul> 
    284284          <xsl:apply-templates select="calendar[number(calType) &lt; 2 or number(calType) = 4 or number(calType) &gt; 6]" mode="listForDisplay"> 
    285             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     285            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    286286          </xsl:apply-templates> 
    287287        </ul> 
     
    313313          <xsl:when test="/bedework/formElements/form/calendars/select/option"> 
    314314            <xsl:apply-templates select="/bedework/myCalendars/calendars/calendar" mode="selectCalForEventCalTree"> 
    315               <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     315              <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    316316            </xsl:apply-templates> 
    317317          </xsl:when> 
     
    338338      </xsl:attribute> 
    339339      <xsl:variable name="calPath" select="path"/> 
    340       <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable> 
    341       <xsl:variable name="calDisplay"> 
    342         <xsl:choose> 
    343           <xsl:when test="contains(path,$userPath)"> 
    344             <xsl:value-of select="substring-after(path,$userPath)"/> 
    345           </xsl:when> 
    346           <xsl:otherwise> 
    347             <xsl:value-of select="path"/> 
    348           </xsl:otherwise> 
    349         </xsl:choose> 
    350       </xsl:variable> 
     340      <xsl:variable name="calDisplay" select="summary"/> 
    351341      <xsl:choose> 
    352342        <xsl:when test="path = /bedework/formElements/form/calendars/select//option/@value and (calType != '0')"> 
    353343          <a href="javascript:updateEventFormCalendar('{$calPath}','{$calDisplay}')"> 
    354             <strong><xsl:value-of select="name"/></strong> 
     344            <strong><xsl:value-of select="summary"/></strong> 
    355345          </a> 
    356346        </xsl:when> 
    357347        <xsl:otherwise> 
    358           <xsl:value-of select="name"/> 
     348          <xsl:value-of select="summary"/> 
    359349        </xsl:otherwise> 
    360350      </xsl:choose> 
     
    362352        <ul> 
    363353          <xsl:apply-templates select="calendar[calType &lt; 2]" mode="selectCalForEventCalTree"> 
    364             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     354            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    365355          </xsl:apply-templates> 
    366356        </ul> 
     
    417407        <xsl:when test="canAlias = 'true'"> 
    418408          <a href="javascript:updatePublicCalendarAlias('{$calPath}','{$calDisplay}','{$calendarCollection}')"> 
    419             <xsl:value-of select="name"/> 
     409            <xsl:value-of select="summary"/> 
    420410          </a> 
    421411        </xsl:when> 
    422412        <xsl:otherwise> 
    423           <xsl:value-of select="name"/> 
     413          <xsl:value-of select="summary"/> 
    424414        </xsl:otherwise> 
    425415      </xsl:choose> 
     
    899889        <tr class="{$descClass}"> 
    900890          <td> 
    901             <xsl:value-of select="name"/> 
     891            <xsl:value-of select="summary"/> 
    902892          </td> 
    903893          <td> 
     
    10531043                  <xsl:variable name="name" select="name"/> 
    10541044                  <a href="javascript:exportCalendar('exportCalendarForm','{$name}','{$calPath}')"> 
    1055                     <xsl:value-of select="name"/> 
     1045                    <xsl:value-of select="summary"/> 
    10561046                  </a> 
    10571047                </li> 
     
    10651055                  <xsl:variable name="name" select="name"/> 
    10661056                  <a href="javascript:exportCalendar('exportCalendarForm','{$name}','{$calPath}')"> 
    1067                     <xsl:value-of select="name"/> 
     1057                    <xsl:value-of select="summary"/> 
    10681058                  </a> 
    10691059                </li> 
     
    10851075      <xsl:when test="calType = '0'"> 
    10861076        <li class="folder"> 
    1087           <xsl:value-of select="name"/> 
     1077          <xsl:value-of select="summary"/> 
    10881078          <xsl:if test="calendar"> 
    10891079            <ul> 
     
    10981088          <xsl:variable name="name" select="name"/> 
    10991089          <a href="javascript:exportCalendar('exportCalendarForm','{$name}','{$calPath}')"> 
    1100             <xsl:value-of select="name"/> 
     1090            <xsl:value-of select="summary"/> 
    11011091          </a> 
    11021092        </li> 
  • releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/css/bedeworkTheme.css

    r3130 r3149  
    680680#bedework #calSelectWidget { 
    681681  position: absolute; 
     682  z-index: 10; 
    682683  margin: 0; 
    683684  padding: 0 2em 1em 0; 
  • releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/event.xsl

    r2981 r3149  
    594594          <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Calendar"/><xsl:text> </xsl:text></td> 
    595595          <td class="fieldval"> 
    596             <!-- 
    597             <xsl:variable name="virtualPath"><xsl:call-template name="url-encode"><xsl:with-param name="str">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:with-param></xsl:call-template></xsl:variable> 
    598             <xsl:variable name="calUrl" select="calendar/encodedPath"/> --> 
    599             <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable> 
    600             <!-- a href="{$setSelection}&amp;virtualPath={$virtualPath}&amp;calUrl={$calUrl}"--> 
    601               <xsl:choose> 
    602                 <xsl:when test="contains(calendar/path,$userPath)"> 
    603                   <xsl:value-of select="substring-after(calendar/path,$userPath)"/> 
    604                 </xsl:when> 
    605                 <xsl:otherwise> 
    606                   <xsl:value-of select="calendar/path"/> 
    607                 </xsl:otherwise> 
    608               </xsl:choose> 
    609             <!-- /a--> 
     596            <xsl:value-of select="calendar/summary"/> 
    610597          </td> 
    611598        </tr> 
  • releases/bedework-3.7/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/eventForm.xsl

    r3134 r3149  
    232232 
    233233                <input type="hidden" name="newCalPath" value="{$newCalPath}"/> 
    234  
    235                 <xsl:variable name="userFullPath"><xsl:value-of select="$userPath"/>/</xsl:variable> 
    236234                <span id="bwEventCalDisplay"> 
    237                   <xsl:choose> 
    238                     <xsl:when test="contains($newCalPath,$userFullPath)"> 
    239                       <xsl:value-of select="substring-after($newCalPath,$userFullPath)"/> 
    240                     </xsl:when> 
    241                     <xsl:otherwise> 
    242                       <xsl:value-of select="$newCalPath"/> 
    243                     </xsl:otherwise> 
    244                   </xsl:choose> 
     235                  <xsl:value-of select="form/calendar/summary"/> 
     236                  <xsl:text> </xsl:text> 
    245237                </span> 
    246238              </xsl:when> 
     
    249241                  <xsl:attribute name="value"><xsl:value-of select="form/calendar/path"/></xsl:attribute> 
    250242                </input> 
    251  
    252                 <xsl:variable name="userFullPath"><xsl:value-of select="$userPath"/>/</xsl:variable> 
    253243                <span id="bwEventCalDisplay"> 
    254                   <xsl:choose> 
    255                     <xsl:when test="contains(form/calendar/path,$userFullPath)"> 
    256                       <xsl:value-of select="substring-after(form/calendar/path,$userFullPath)"/> 
    257                     </xsl:when> 
    258                     <xsl:otherwise> 
    259                       <xsl:value-of select="form/calendar/path"/> 
    260                     </xsl:otherwise> 
    261                   </xsl:choose> 
     244                  <xsl:value-of select="form/calendar/summary"/> 
    262245                  <xsl:text> </xsl:text> 
    263                   <!-- this final text element is required to avoid an empty 
    264                        span element which is improperly rendered in the browser --> 
    265246                </span> 
    266  
    267247                <xsl:call-template name="selectCalForEvent"/> 
    268  
    269248              </xsl:otherwise> 
    270249            </xsl:choose> 
  • trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl

    r2841 r3149  
    12781278            <!-- we've hit an unresolvable alias; stop descending --> 
    12791279            <input type="checkbox" name="forDiplayOnly" disabled="disabled"/> 
    1280             <em><xsl:value-of select="name"/>?</em> 
     1280            <em><xsl:value-of select="summary"/>?</em> 
    12811281          </xsl:when> 
    12821282          <xsl:when test="calType = '0'"> 
     
    12841284                 underlying calendar aliases --> 
    12851285            <img src="{$resourcesRoot}/resources/catIcon.gif" width="13" height="13" alt="folder" class="folderForAliasTree" border="0"/> 
    1286             <xsl:value-of select="name"/> 
     1286            <xsl:value-of select="summary"/> 
    12871287          </xsl:when> 
    12881288          <xsl:otherwise> 
    12891289            <xsl:variable name="virtualPath">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:variable> 
    1290             <input type="checkbox" name="alias" onclick="toggleBedeworkXProperty('X-BEDEWORK-SUBMIT-ALIAS','{$virtualPath}',this.checked)"> 
     1290            <xsl:variable name="displayName" select="summary"/> 
     1291            <input type="checkbox" name="alias" onclick="toggleBedeworkXProperty('X-BEDEWORK-SUBMIT-ALIAS','{$displayName}','{$virtualPath}',this.checked)"> 
    12911292              <xsl:attribute name="value"><xsl:value-of select="$virtualPath"/></xsl:attribute> 
    12921293              <xsl:if test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 
     
    12941295            <xsl:choose> 
    12951296              <xsl:when test="$virtualPath = /bedework/formElements/form/xproperties//X-BEDEWORK-SUBMIT-ALIAS/values/text"> 
    1296                 <strong><xsl:value-of select="name"/></strong> 
     1297                <strong><xsl:value-of select="summary"/></strong> 
    12971298              </xsl:when> 
    12981299              <xsl:otherwise> 
    1299                 <xsl:value-of select="name"/> 
     1300                <xsl:value-of select="summary"/> 
    13001301              </xsl:otherwise> 
    13011302            </xsl:choose> 
  • trunk/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js

    r2850 r3149  
    312312  bwXProps.generate(formObj); 
    313313} 
    314 function toggleBedeworkXProperty(xprop,value,checked) { 
     314function toggleBedeworkXProperty(xprop,displayName,value,checked) { 
    315315  if (!checked) { 
    316316    bwXProps.removeByValue(xprop, value); 
    317317  } else { 
    318     bwXProps.update(bwXPropertySubmitAlias,[],value,false); 
     318    bwXProps.update(bwXPropertySubmitAlias,[[bwXParamDisplayName,displayName]],value,false); 
    319319  } 
    320320} 
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/calendars.xsl

    r3138 r3149  
    153153          </xsl:attribute> 
    154154        </xsl:if> 
    155         <xsl:value-of select="name"/> 
     155        <xsl:value-of select="summary"/> 
    156156      </a> 
    157157      <xsl:if test="color != '' and color != 'null'"> 
     
    163163        <ul> 
    164164          <xsl:apply-templates select="calendar[canAlias = 'true']" mode="myCalendars"> 
    165             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     165            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    166166          </xsl:apply-templates> 
    167167        </ul> 
     
    189189        <xsl:when test="calType='5'"> 
    190190          <a href="{$showInbox}" title="{$bwStr-Cals-IncomingSchedulingRequests}"> 
    191             <xsl:value-of select="name"/> 
     191            <xsl:value-of select="summary"/> 
    192192          </a> 
    193193          <xsl:text> </xsl:text> 
     
    198198        <xsl:when test="calType='6'"> 
    199199          <a href="{$showOutbox}" title="{$bwStr-Cals-OutgoingSchedulingRequests}"> 
    200             <xsl:value-of select="name"/> 
     200            <xsl:value-of select="summary"/> 
    201201          </a> 
    202202          <xsl:text> </xsl:text> 
     
    214214              </xsl:choose> 
    215215            </xsl:attribute> 
    216             <xsl:value-of select="name"/> 
     216            <xsl:value-of select="summary"/> 
    217217          </a> 
    218218        </xsl:otherwise> 
     
    248248      </xsl:attribute> 
    249249      <a href="{$calendar-fetchForUpdate}&amp;calPath={$calPath}" title="{$bwStr-Cals-Update}"> 
    250         <xsl:value-of select="name"/> 
     250        <xsl:value-of select="summary"/> 
    251251      </a> 
    252252      <xsl:if test="calType = '0' and isSubscription = 'false'"> 
     
    259259        <ul> 
    260260          <xsl:apply-templates select="calendar" mode="listForUpdate"> 
    261             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     261            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    262262          </xsl:apply-templates> 
    263263        </ul> 
     
    278278      </xsl:attribute> 
    279279      <a href="{$calendar-fetchForDisplay}&amp;calPath={$calPath}" title="{$bwStr-Cals-Display}"> 
    280         <xsl:value-of select="name"/> 
     280        <xsl:value-of select="summary"/> 
    281281      </a> 
    282282      <xsl:if test="calendar"> 
    283283        <ul> 
    284284          <xsl:apply-templates select="calendar[number(calType) &lt; 2 or number(calType) = 4 or number(calType) &gt; 6]" mode="listForDisplay"> 
    285             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     285            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    286286          </xsl:apply-templates> 
    287287        </ul> 
     
    313313          <xsl:when test="/bedework/formElements/form/calendars/select/option"> 
    314314            <xsl:apply-templates select="/bedework/myCalendars/calendars/calendar" mode="selectCalForEventCalTree"> 
    315               <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     315              <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    316316            </xsl:apply-templates> 
    317317          </xsl:when> 
     
    338338      </xsl:attribute> 
    339339      <xsl:variable name="calPath" select="path"/> 
    340       <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable> 
    341       <xsl:variable name="calDisplay"> 
    342         <xsl:choose> 
    343           <xsl:when test="contains(path,$userPath)"> 
    344             <xsl:value-of select="substring-after(path,$userPath)"/> 
    345           </xsl:when> 
    346           <xsl:otherwise> 
    347             <xsl:value-of select="path"/> 
    348           </xsl:otherwise> 
    349         </xsl:choose> 
    350       </xsl:variable> 
     340      <xsl:variable name="calDisplay" select="summary"/> 
    351341      <xsl:choose> 
    352342        <xsl:when test="path = /bedework/formElements/form/calendars/select//option/@value and (calType != '0')"> 
    353343          <a href="javascript:updateEventFormCalendar('{$calPath}','{$calDisplay}')"> 
    354             <strong><xsl:value-of select="name"/></strong> 
     344            <strong><xsl:value-of select="summary"/></strong> 
    355345          </a> 
    356346        </xsl:when> 
    357347        <xsl:otherwise> 
    358           <xsl:value-of select="name"/> 
     348          <xsl:value-of select="summary"/> 
    359349        </xsl:otherwise> 
    360350      </xsl:choose> 
     
    362352        <ul> 
    363353          <xsl:apply-templates select="calendar[calType &lt; 2]" mode="selectCalForEventCalTree"> 
    364             <xsl:sort select="name" order="ascending" case-order="upper-first"/> 
     354            <xsl:sort select="summary" order="ascending" case-order="upper-first"/> 
    365355          </xsl:apply-templates> 
    366356        </ul> 
     
    417407        <xsl:when test="canAlias = 'true'"> 
    418408          <a href="javascript:updatePublicCalendarAlias('{$calPath}','{$calDisplay}','{$calendarCollection}')"> 
    419             <xsl:value-of select="name"/> 
     409            <xsl:value-of select="summary"/> 
    420410          </a> 
    421411        </xsl:when> 
    422412        <xsl:otherwise> 
    423           <xsl:value-of select="name"/> 
     413          <xsl:value-of select="summary"/> 
    424414        </xsl:otherwise> 
    425415      </xsl:choose> 
     
    899889        <tr class="{$descClass}"> 
    900890          <td> 
    901             <xsl:value-of select="name"/> 
     891            <xsl:value-of select="summary"/> 
    902892          </td> 
    903893          <td> 
     
    10531043                  <xsl:variable name="name" select="name"/> 
    10541044                  <a href="javascript:exportCalendar('exportCalendarForm','{$name}','{$calPath}')"> 
    1055                     <xsl:value-of select="name"/> 
     1045                    <xsl:value-of select="summary"/> 
    10561046                  </a> 
    10571047                </li> 
     
    10651055                  <xsl:variable name="name" select="name"/> 
    10661056                  <a href="javascript:exportCalendar('exportCalendarForm','{$name}','{$calPath}')"> 
    1067                     <xsl:value-of select="name"/> 
     1057                    <xsl:value-of select="summary"/> 
    10681058                  </a> 
    10691059                </li> 
     
    10851075      <xsl:when test="calType = '0'"> 
    10861076        <li class="folder"> 
    1087           <xsl:value-of select="name"/> 
     1077          <xsl:value-of select="summary"/> 
    10881078          <xsl:if test="calendar"> 
    10891079            <ul> 
     
    10981088          <xsl:variable name="name" select="name"/> 
    10991089          <a href="javascript:exportCalendar('exportCalendarForm','{$name}','{$calPath}')"> 
    1100             <xsl:value-of select="name"/> 
     1090            <xsl:value-of select="summary"/> 
    11011091          </a> 
    11021092        </li> 
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/css/bedeworkTheme.css

    r3129 r3149  
    680680#bedework #calSelectWidget { 
    681681  position: absolute; 
     682  z-index: 10; 
    682683  margin: 0; 
    683684  padding: 0 2em 1em 0; 
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/event.xsl

    r2981 r3149  
    594594          <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Calendar"/><xsl:text> </xsl:text></td> 
    595595          <td class="fieldval"> 
    596             <!-- 
    597             <xsl:variable name="virtualPath"><xsl:call-template name="url-encode"><xsl:with-param name="str">/user<xsl:for-each select="ancestor-or-self::calendar/name">/<xsl:value-of select="."/></xsl:for-each></xsl:with-param></xsl:call-template></xsl:variable> 
    598             <xsl:variable name="calUrl" select="calendar/encodedPath"/> --> 
    599             <xsl:variable name="userPath">user/<xsl:value-of select="/bedework/userid"/>/</xsl:variable> 
    600             <!-- a href="{$setSelection}&amp;virtualPath={$virtualPath}&amp;calUrl={$calUrl}"--> 
    601               <xsl:choose> 
    602                 <xsl:when test="contains(calendar/path,$userPath)"> 
    603                   <xsl:value-of select="substring-after(calendar/path,$userPath)"/> 
    604                 </xsl:when> 
    605                 <xsl:otherwise> 
    606                   <xsl:value-of select="calendar/path"/> 
    607                 </xsl:otherwise> 
    608               </xsl:choose> 
    609             <!-- /a--> 
     596            <xsl:value-of select="calendar/summary"/> 
    610597          </td> 
    611598        </tr> 
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/eventForm.xsl

    r3133 r3149  
    232232 
    233233                <input type="hidden" name="newCalPath" value="{$newCalPath}"/> 
    234  
    235                 <xsl:variable name="userFullPath"><xsl:value-of select="$userPath"/>/</xsl:variable> 
    236234                <span id="bwEventCalDisplay"> 
    237                   <xsl:choose> 
    238                     <xsl:when test="contains($newCalPath,$userFullPath)"> 
    239                       <xsl:value-of select="substring-after($newCalPath,$userFullPath)"/> 
    240                     </xsl:when> 
    241                     <xsl:otherwise> 
    242                       <xsl:value-of select="$newCalPath"/> 
    243                     </xsl:otherwise> 
    244                   </xsl:choose> 
     235                  <xsl:value-of select="form/calendar/summary"/> 
     236                  <xsl:text> </xsl:text> 
    245237                </span> 
    246238              </xsl:when> 
     
    249241                  <xsl:attribute name="value"><xsl:value-of select="form/calendar/path"/></xsl:attribute> 
    250242                </input> 
    251  
    252                 <xsl:variable name="userFullPath"><xsl:value-of select="$userPath"/>/</xsl:variable> 
    253243                <span id="bwEventCalDisplay"> 
    254                   <xsl:choose> 
    255                     <xsl:when test="contains(form/calendar/path,$userFullPath)"> 
    256                       <xsl:value-of select="substring-after(form/calendar/path,$userFullPath)"/> 
    257                     </xsl:when> 
    258                     <xsl:otherwise> 
    259                       <xsl:value-of select="form/calendar/path"/> 
    260                     </xsl:otherwise> 
    261                   </xsl:choose> 
     244                  <xsl:value-of select="form/calendar/summary"/> 
    262245                  <xsl:text> </xsl:text> 
    263                   <!-- this final text element is required to avoid an empty 
    264                        span element which is improperly rendered in the browser --> 
    265246                </span> 
    266  
    267247                <xsl:call-template name="selectCalForEvent"/> 
    268  
    269248              </xsl:otherwise> 
    270249            </xsl:choose>