MPFAQ-19 : Optional toplinks and layout fix.

Patch submitted by : Lukas Theussl
Patch reviewed by : Arnaud Heritier

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@278607 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2005-09-04 16:08:22 +00:00
1 parent aaa360e956
commit 4f5b245f13
4 files changed
+17 -1

No files matched your search

+4 -1
View File
@@ -80,10 +80,13 @@
<jsl:template match="answer">
<dd>
<jsl:applyTemplates trim="true" />
<j:if test="${context.getVariable('maven.faq.toplinks') == 'true'}">
<j:set var="top"><x:expr select="../../../@title"/></j:set>
<j:set var="_top">#<doc:escapeNameToken value="${top}"/></j:set>
<div class="xright"><a href="${_top}">[top]</a></div>
<jsl:applyTemplates trim="true" />
<br/>
</j:if>
</dd>
</jsl:template>