Files
maven-plugins/xdoc/src/plugin-resources/templates/maven-reports.xml
T
aheritier db41423afc MPXDOC-155 : xdoc plugin >= 1.9 not compatible with older customised site.jsl
Patch submitted by : Lukas Theussl
Patch reviewed by : Arnaud Heritier

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@267513 13f79535-47bb-0310-9956-ffa450edef68
2005-09-03 23:15:14 +00:00

106 lines
4.6 KiB
XML

<?xml version="1.0" encoding="$encoding" ?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<document>
<properties>
<title key="template.maven_reports.title"
bundle="plugin-resources.templates.templates" >
<message key="template.maven_reports.title"
bundle="plugin-resources.templates.templates" />
</title>
</properties>
<body>
<section key="template.maven_reports.section.title"
bundle="plugin-resources.templates.templates"
name="Maven Generated Reports">
<p>
<message key="template.maven_reports.section.maven_reports1"
bundle="plugin-resources.templates.templates" />
<a href="http://maven.apache.org/">Maven</a>
<message key="template.maven_reports.section.maven_reports2"
bundle="plugin-resources.templates.templates" />
</p>
#set ($reports = $project.getPluginContext('maven-xdoc-plugin').getVariable('reports'))
#set ($currentLocale = $project.getPluginContext('maven-xdoc-plugin').getVariable('currentLocale'))
<subsection key="template.maven_reports.section.subsection.title"
bundle="plugin-resources.templates.templates"
name="Overview">
<table>
<tr>
<th>
<message key="template.maven_reports.section.subsection.document"
bundle="plugin-resources.templates.templates" />
</th>
<th>
<message key="template.maven_reports.section.subsection.description"
bundle="plugin-resources.templates.templates" />
</th>
</tr>
#foreach ($report in $reports)
#if ($report.link && $report.link.length() != 0)
<tr>
#if($report.target && $report.target.length() != 0)
<td>
<a href="${report.link}.html"
target="${report.target}">
$report.name
</a>
</td>
#else
<td>
<a href="${report.link}.html">
$report.name
</a>
</td>
#end
<td>$report.description</td>
</tr>
#end
#if ($report.externalLink && $report.externalLink.length() != 0)
<tr>
#if($report.target && $report.target.length() != 0)
<td>
<a href="${report.externalLink}"
class="externalLink"
target="${report.target}">
$report.name
</a>
</td>
#else
<td>
<a href="${report.externalLink}"
class="externalLink">
$report.name
</a>
</td>
#end
<td>$report.description</td>
</tr>
#end
#end
</table>
</subsection>
</section>
</body>
</document>