Changeset 3007

Show
Ignore:
Timestamp:
10/11/10 02:29:41
Author:
johnsa
Message:

user client:

- add link for address book
- change global add event button from creating an all-day event to creating an event at the current hour (now)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webuser/webapp/resources/demoskins/default/strings.xsl

    r2991 r3007  
    5151  <xsl:variable name="bwStr-SdBr-Preferences">Preferences</xsl:variable> 
    5252  <xsl:variable name="bwStr-SdBr-UploadICal">Upload iCAL</xsl:variable> 
     53  <xsl:variable name="bwStr-SdBr-AddrBook">Address Book</xsl:variable> 
    5354  <xsl:variable name="bwStr-SdBr-ExportCalendars">Export Calendars</xsl:variable> 
    5455  <xsl:variable name="bwStr-SdBr-UploadEvent">Upload Event</xsl:variable> 
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/navigation.xsl

    r2905 r3007  
    175175               <xsl:with-param name="actionIconsId">bwActionIcons-0</xsl:with-param> 
    176176               <xsl:with-param name="startDate"> 
    177                  <xsl:choose> 
     177                 <xsl:choose> <!-- why are we doing this choose? --> 
    178178                   <xsl:when test="/bedework/periodname = 'Day'"><xsl:value-of select="/bedework/firstday/date"/></xsl:when> 
    179179                   <xsl:otherwise><xsl:value-of select="/bedework/now/date"/></xsl:otherwise> 
    180180                 </xsl:choose> 
    181181               </xsl:with-param> 
     182               <xsl:with-param name="startTime"><xsl:value-of select="/bedework/now/twodigithour24"/>0000</xsl:with-param> 
    182183             </xsl:call-template> 
    183184           </xsl:if> 
  • trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/sideBar.xsl

    r2900 r3007  
    8787    <h3><xsl:copy-of select="$bwStr-SdBr-Options"/></h3> 
    8888    <ul id="sideBarMenu"> 
     89      <li> 
     90        <xsl:variable name="userid" select="/bedework/userid"/> 
     91        <a href="/bwAddrbookClient/?user={$userid}" target="bwAddrBook"> 
     92          <img height="13" border="0" width="13" 
     93            src="{$resourcesRoot}/images/silk/book.png" 
     94            alt="{$bwStr-SdBr-AddrBook}" /> 
     95          <xsl:text> </xsl:text> 
     96          <xsl:copy-of select="$bwStr-SdBr-AddrBook"/> 
     97        </a> 
     98      </li> 
    8999      <li class="prefs"> 
    90100        <a href="{$prefs-fetchForUpdate}">