[Libreoffice-commits] .: bug/component_comments.xsl

Loic Dachary loic at kemper.freedesktop.org
Wed Sep 14 10:50:18 PDT 2011


 bug/component_comments.xsl |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 50035b8fbcee343a091a4b59f22c190eedc18bd2
Author: Loic Dachary <loic at dachary.org>
Date:   Wed Sep 14 19:50:07 2011 +0200

    Add a Read more link at the end of each component comment

diff --git a/bug/component_comments.xsl b/bug/component_comments.xsl
index 85076cb..75e8da6 100644
--- a/bug/component_comments.xsl
+++ b/bug/component_comments.xsl
@@ -18,6 +18,10 @@
 	<xsl:element name="div">
 	  <xsl:attribute name="class"><xsl:value-of select="translate(translate(*[position()=1],' ','_'),&quot;&#10;&quot;,'_')" /> comment</xsl:attribute>
 	  <xsl:apply-templates select="*[position()>1]"/>
+          <xsl:element name="a">
+            <xsl:attribute name="href">http://wiki.documentfoundation.org/BugzAssHlp_<xsl:value-of select="translate(translate(*[position()=1],' ','_'),&quot;&#10;&quot;,'_')" />_long</xsl:attribute>
+            Read more ... &gt;
+          </xsl:element>
 	</xsl:element>
     </xsl:template>
 


More information about the Libreoffice-commits mailing list