Changeset 3038

Show
Ignore:
Timestamp:
11/09/10 23:22:43
Author:
johnsa
Message:

admin client: allow enabling and disabling of calendar collections

Files:

Legend:

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

    r3030 r3038  
    10371037  padding: 1em 0; 
    10381038} 
     1039.disabledNote { 
     1040  display: block; 
     1041  font-style: italic; 
     1042} 
    10391043#calTreeBlock { 
    10401044  font-size: 0.9em; 
  • trunk/deployment/webadmin/webapp/resources/default/default/default.xsl

    r3030 r3038  
    44464446          <th><xsl:copy-of select="$bwStr-CuCa-Disabled"/></th> 
    44474447          <td> 
    4448             <input type="hidden" name="calendar.disabled" size="40"> 
    4449               <xsl:attribute name="value"><xsl:value-of select="disabled"/></xsl:attribute> 
     4448            <input type="radio" name="calendar.disabled" value="false"> 
     4449              <xsl:if test="disabled = 'false'"> 
     4450                <xsl:attribute name="checked">checked</xsl:attribute> 
     4451              </xsl:if> 
    44504452            </input> 
    4451             <xsl:value-of select="disabled"/> 
     4453            <xsl:copy-of select="$bwStr-CuCa-EnabledLabel"/> 
     4454            <input type="radio" name="calendar.disabled" value="true"> 
     4455              <xsl:if test="disabled = 'true'"> 
     4456                <xsl:attribute name="checked">checked</xsl:attribute> 
     4457              </xsl:if> 
     4458            </input> 
     4459            <xsl:copy-of select="$bwStr-CuCa-DisabledLabel"/> 
    44524460            <xsl:if test="disabled = 'true'"> 
    44534461              <span class="disabledNote"> 
  • trunk/deployment/webadmin/webapp/resources/default/default/strings.xsl

    r2991 r3038  
    483483  <xsl:variable name="bwStr-CuCa-DisplayItemsInCollection">display items in this collection</xsl:variable> 
    484484  <xsl:variable name="bwStr-CuCa-Disabled">Disabled:</xsl:variable> 
     485  <xsl:variable name="bwStr-CuCa-DisabledLabel">disabled</xsl:variable> 
     486  <xsl:variable name="bwStr-CuCa-EnabledLabel">enabled</xsl:variable> 
    485487  <xsl:variable name="bwStr-CuCa-ItemIsInaccessible">This item is inaccessible and has been disabled.  You may re-enable it to try again.</xsl:variable> 
    486488  <xsl:variable name="bwStr-CuCa-URL">URL:</xsl:variable>