Applying patch from Martin van den Bemt <mllist@mvdb.net>. Adds a new
optionally footer section and corrects the copyright symbol. Thanks Martin. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b756361ae
commit
96e68fd82d
@ -395,19 +395,24 @@
|
||||
</table>
|
||||
<div id="footer">
|
||||
<table border="0" cellspacing="0" cellpadding="4">
|
||||
<tr>
|
||||
<td>
|
||||
<jsl:applyTemplates select="$nav/body/footer"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<j:if test="${!empty(pom.organization.name)}">
|
||||
<j:if test="${!empty(pom.inceptionYear)}">
|
||||
<j:if test="${pom.inceptionYear == mavenCurrentYear}">
|
||||
<!-- FIXME © -->${mavenCurrentYear}, ${pom.organization.name}
|
||||
© ${mavenCurrentYear}, ${pom.organization.name}
|
||||
</j:if>
|
||||
<j:if test="${pom.inceptionYear != mavenCurrentYear}">
|
||||
<!-- FIXME © --> ${pom.inceptionYear}-${mavenCurrentYear}, ${pom.organization.name}
|
||||
© ${pom.inceptionYear}-${mavenCurrentYear}, ${pom.organization.name}
|
||||
</j:if>
|
||||
</j:if>
|
||||
<j:if test="${empty(pom.inceptionYear)}">
|
||||
<!-- FIXME © --> ${mavenCurrentYear}, ${pom.organization.name}
|
||||
© ${mavenCurrentYear}, ${pom.organization.name}
|
||||
</j:if>
|
||||
</j:if>
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
the Maven documentation.
|
||||
</p>
|
||||
<p>
|
||||
The documentation is in <code>Anakia</code> format. More information
|
||||
The documentation is mainly in <code>Anakia</code> format. More information
|
||||
along with samples, can be found at:
|
||||
<ul>
|
||||
<li>
|
||||
@ -24,6 +24,22 @@
|
||||
</li>
|
||||
</ul>
|
||||
</p>
|
||||
<p>
|
||||
There is addition to the anakia format. You can use the <code>footer</code> tag for including
|
||||
text or images just below the navigation menu and above the copyright notice.
|
||||
This tag is only usefull in the navigation.xml file.<br/>
|
||||
Here is an example : <br/>
|
||||
<source><![CDATA[
|
||||
<!-- footer will be placed above the (c) -->
|
||||
<footer>
|
||||
<A href="http://sourceforge.net/projects/ctecl">
|
||||
<IMG src="http://sourceforge.net/sflogo.php?group_id=72748" border="0" alt="sf logo"/>
|
||||
</A>
|
||||
</footer>
|
||||
]]></source>
|
||||
<br/>
|
||||
The footer should be placed within the body element.
|
||||
</p>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user