- Add support for the svnref element

This commit is contained in:
Gabor Kovesdan 2013-03-14 20:36:44 +00:00
parent 44368e5859
commit be2bbeeff4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/xml-tools/; revision=41214
2 changed files with 12 additions and 3 deletions

View file

@ -134,7 +134,7 @@ html {
color: #007a00;
}
svnref {
.svnref {
color: #007a00;
}

View file

@ -29,8 +29,17 @@
For questions about this documentation, e-mail &lt;<a href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>&gt;.</small></p>
</xsl:template>
<xsl:template match="hostid|username|groupname|devicename|maketarget|makevar">
<xsl:call-template name="inline.monoseq"/>
<xsl:template match="svnref">
<a>
<xsl:attribute name="href">
<xsl:text>http://svnweb.freebsd.org/base?view=revision&amp;revision=</xsl:text>
<xsl:value-of select="."/>
</xsl:attribute>
<span class="svnref">
<xsl:value-of select="."/>
</span>
</a>
</xsl:template>
<xsl:template name="generate.citerefentry.link">