You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by st...@locus.apache.org on 2000/03/16 14:41:58 UTC

cvs commit: xml-cocoon/skins/xml.apache.org/stylesheets changes2document.xsl

stefano     00/03/16 05:41:58

  Modified:    skins/xml.apache.org/stylesheets changes2document.xsl
  Log:
  format the bugfix
  
  Revision  Changes    Path
  1.4       +11 -3     xml-cocoon/skins/xml.apache.org/stylesheets/changes2document.xsl
  
  Index: changes2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/skins/xml.apache.org/stylesheets/changes2document.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- changes2document.xsl	2000/01/27 11:47:53	1.3
  +++ changes2document.xsl	2000/03/16 13:41:57	1.4
  @@ -16,7 +16,7 @@
      </body>
     </document>
    </xsl:template>
  - 
  +
    <xsl:template match="release">
     <s2 title="{$name} {@version} ({@date})">
      <sl>
  @@ -30,17 +30,25 @@
      <icon src="images/{@type}.jpg" alt="{@type}"/>
      <xsl:apply-templates/>
      <xsl:text>(</xsl:text><xsl:value-of select="@dev"/><xsl:text>)</xsl:text>
  -   
  +
      <xsl:if test="@due-to">
       <xsl:text> Thanks to </xsl:text>
       <link href="mailto:{@due-to-email}"><xsl:value-of select="@due-to"/></link>
       <xsl:text>.</xsl:text>
      </xsl:if>
  +
  +   <xsl:if test="@fixes-bug">
  +    <xsl:text> Fixes <xsl:text>
  +    <link href="http://xml.apache.org/bugs/show_bug.cgi?id={@fixes-bug}">
  +     <xsl:text>bug <xsl:text><xsl:value-of select="@fixes-bug"/>
  +    </link>
  +    <xsl:text>.</xsl:text>
  +   </xsl:if>
     </li>
    </xsl:template>
   
    <xsl:template match="devs">
     <!-- remove -->
    </xsl:template>
  - 
  +
   </xsl:stylesheet>