[Yanel-commits] rev 24091 - public/yanel/trunk/src/webapp/xslt

michi at wyona.com michi at wyona.com
Tue May 1 22:14:30 CEST 2007


Author: michi
Date: 2007-05-01 22:14:29 +0200 (Tue, 01 May 2007)
New Revision: 24091

Modified:
   public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
Log:
most recent version tagged and check if no translations exist yet

Modified: public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl
===================================================================
--- public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl	2007-05-01 20:04:56 UTC (rev 24090)
+++ public/yanel/trunk/src/webapp/xslt/xmlInfo2xhtml.xsl	2007-05-01 20:14:29 UTC (rev 24091)
@@ -185,7 +185,7 @@
         </tr>
         <xsl:for-each select="revision">
           <tr>
-            <td><a href="?yanel.resource.revision={name}"><xsl:value-of select="name"/></a></td>
+            <td><a href="?yanel.resource.revision={name}"><xsl:value-of select="name"/></a> <xsl:if test="position() = last()">&#160;(most recent version)</xsl:if></td>
             <td><xsl:value-of select="date"/></td>
             <td><xsl:value-of select="user"/></td>
             <td><xsl:value-of select="comment"/></td>
@@ -197,6 +197,7 @@
 
   <xsl:template match="translations">
     <li>Translations:
+      <xsl:if test="not(translation)">No translations yet!</xsl:if>
       <xsl:apply-templates/>
     </li>
   </xsl:template>




More information about the Yanel-commits mailing list