Changeset 2307

Show
Ignore:
Timestamp:
07/30/09 14:04:27
Author:
johnsa
Message:

user client: disable ability to set subscription colors for now

Files:

Legend:

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

    r2302 r2307  
    53605360          </td> 
    53615361        </tr> 
    5362         <tr> 
    5363           <th>Color:</th> 
    5364           <td> 
    5365             <input type="text" name="calendar.color" id="bwCalColor" size="7"> 
    5366               <xsl:attribute name="value"><xsl:value-of select="color"/></xsl:attribute> 
    5367               <xsl:attribute name="style">background-color: <xsl:value-of select="color"/>;color: black;</xsl:attribute> 
    5368             </input> 
    5369             <xsl:call-template name="colorPicker"> 
    5370               <xsl:with-param name="colorFieldId">bwCalColor</xsl:with-param> 
    5371             </xsl:call-template> 
    5372           </td> 
    5373         </tr> 
     5362        <xsl:if test="isSubscription='false'"> 
     5363          <!-- we can't color subscriptions yet --> 
     5364          <tr> 
     5365            <th>Color:</th> 
     5366            <td> 
     5367              <input type="text" name="calendar.color" id="bwCalColor" size="7"> 
     5368                <xsl:attribute name="value"><xsl:value-of select="color"/></xsl:attribute> 
     5369                <xsl:attribute name="style">background-color: <xsl:value-of select="color"/>;color: black;</xsl:attribute> 
     5370              </input> 
     5371              <xsl:call-template name="colorPicker"> 
     5372                <xsl:with-param name="colorFieldId">bwCalColor</xsl:with-param> 
     5373              </xsl:call-template> 
     5374            </td> 
     5375          </tr> 
     5376        </xsl:if> 
    53745377        <tr> 
    53755378          <th>Display:</th>