You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/09/02 15:19:51 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/xslt/menu menu.xsl

andreas     2003/09/02 06:19:51

  Modified:    src/webapp/lenya/xslt/menu menu.xsl
  Log:
  updated workflow handling
  
  Revision  Changes    Path
  1.25      +5 -8      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.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- menu.xsl	28 Aug 2003 10:19:54 -0000	1.24
  +++ menu.xsl	2 Sep 2003 13:19:51 -0000	1.25
  @@ -61,8 +61,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"/>
  +            <xsl:apply-templates select="workflow"/>
               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>
  @@ -95,16 +94,14 @@
       <xsl:apply-templates select="menus/menu" mode="menu"/>
     </xsl:template>
     
  -  <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:template match="workflow">
  +    Workflow State: <b><xsl:value-of select="normalize-space(@state)"/></b> |
  +  	<xsl:if test="normalize-space(@is-live) = 'false'">not&#160;</xsl:if>
       <xsl:text>live |</xsl:text>
     </xsl:template>
     
  -  
  +    
     <xsl:template match="menu" mode="nav">
       <div style="float:left; width:1px"><img src="/lenya/lenya/menu/images/grau.gif" width="1" height="21" /></div>
       
  
  
  

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