git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
56 lines
1.2 KiB
XML
56 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
|
|
#macro (displayLink $label $link)
|
|
<td>
|
|
#if ($link && $link.length() != 0)
|
|
#if ($link.startsWith("http"))
|
|
<a href="$escape.getText($link)">$label</a>
|
|
#else
|
|
<a href="mailto:$link">$label</a>
|
|
#end
|
|
#else
|
|
Not Available
|
|
#end
|
|
</td>
|
|
#end
|
|
|
|
<document>
|
|
|
|
<properties>
|
|
<title>Mailing Lists</title>
|
|
</properties>
|
|
|
|
<body>
|
|
<section name="Mailing Lists">
|
|
#if ($project.mailingLists.size() == 0)
|
|
<p>
|
|
There are no mailing lists established for this project. Please
|
|
check back at a later date.
|
|
</p>
|
|
#else
|
|
<p>
|
|
These are the mailing lists that have been established for this
|
|
project. For each list, there is a subscribe, unsubscribe, and an
|
|
archive link.
|
|
</p>
|
|
<table>
|
|
<tr>
|
|
<th>List Name</th>
|
|
<th>Subscribe</th>
|
|
<th>Unsubscribe</th>
|
|
<th>Archive</th>
|
|
</tr>
|
|
#foreach ($list in $project.mailingLists)
|
|
<tr>
|
|
<td>$list.name</td>
|
|
#displayLink("Subscribe" $list.subscribe)
|
|
#displayLink("Unsubscribe" $list.unsubscribe)
|
|
#displayLink("Archive" $list.archive)
|
|
</tr>
|
|
#end
|
|
</table>
|
|
#end
|
|
</section>
|
|
</body>
|
|
</document>
|