New attribute fileSuffix for the tag doc:registerReport allow to use another extension than '.html' for a report link.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@379963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier committed 2006-02-22 23:07:07 +00:00
1 parent a6316863ad
commit b673ebcf4d
5 files changed
+30 -7

No files matched your search

@@ -59,16 +59,21 @@
#foreach ($report in $reports)
#if ($report.link && $report.link.length() != 0)
<tr>
#if($report.fileSuffix && $report.linfileSuffixk.length() != 0)
#set ($fileSuffix = $report.fileSuffix)
#else
#set ($fileSuffix = '.html')
#end
#if($report.target && $report.target.length() != 0)
<td>
<a href="${report.link}.html"
<a href="${report.link}${fileSuffix}"
target="${report.target}">
$report.name
</a>
</td>
#else
<td>
<a href="${report.link}.html">
<a href="${report.link}${fileSuffix}">
$report.name
</a>
</td>