lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/webapp/lenya/xslt/menu menu.xsl
Date Thu, 28 Aug 2003 10:19:54 GMT
andreas     2003/08/28 03:19:54

  Modified:    src/webapp/lenya/xslt/menu menu.xsl
  Log:
  showing is_live variable value
  
  Revision  Changes    Path
  1.24      +6 -0      cocoon-lenya/src/webapp/lenya/xslt/menu/menu.xsl
  
  Index: menu.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/xslt/menu/menu.xsl,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- menu.xsl	25 Aug 2003 18:54:25 -0000	1.23
  +++ menu.xsl	28 Aug 2003 10:19:54 -0000	1.24
  @@ -62,6 +62,7 @@
           <td align="right" colspan="2" background="/lenya/lenya/menu/images/grau-bg2.gif">
             <font color="#ffffff" size="-2" face="verdana">
               <xsl:apply-templates select="workflow-state"/>
  +            <xsl:apply-templates select="is-live"/>
               User Id: <b><xsl:value-of select="current_username"/></b>
| Server Time: <b><xsl:value-of select="server_time"/></b> &#160;&#160;&#160;
             </font>
           </td>
  @@ -96,6 +97,11 @@
     
     <xsl:template match="workflow-state">
       Workflow State: <b><xsl:apply-templates/></b> |
  +  </xsl:template>
  +  
  +  <xsl:template match="is-live">
  +  	<xsl:if test="normalize-space(.) = 'false'">not&#160;</xsl:if>
  +    <xsl:text>live |</xsl:text>
     </xsl:template>
     
     
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message