You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bw...@apache.org on 2003/04/02 14:29:24 UTC
cvs commit: maven/src/plugins-build/xdoc/src/plugin-resources site.jsl
bwalding 2003/04/02 04:29:24
Modified: src/plugins-build/xdoc plugin.properties
src/plugins-build/xdoc/xdocs properties.xml
src/plugins-build/xdoc/src/plugin-resources site.jsl
Log:
Add the powered by logo
PR: MAVEN-364
Revision Changes Path
1.7 +2 -0 maven/src/plugins-build/xdoc/plugin.properties
Index: plugin.properties
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/xdoc/plugin.properties,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- plugin.properties 2 Apr 2003 11:45:45 -0000 1.6
+++ plugin.properties 2 Apr 2003 12:29:24 -0000 1.7
@@ -23,6 +23,8 @@
# The logo to show on the generated site. No default at present (competition isn't closed)
maven.xdoc.poweredby.image=
+maven.xdoc.poweredby.title=Built by Maven
+maven.xdoc.poweredby.url=http://maven.apache.org/
#
1.4 +24 -0 maven/src/plugins-build/xdoc/xdocs/properties.xml
Index: properties.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/xdoc/xdocs/properties.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- properties.xml 19 Mar 2003 06:01:19 -0000 1.3
+++ properties.xml 2 Apr 2003 12:29:24 -0000 1.4
@@ -433,6 +433,30 @@
http://maven.apache.org/development-process.html</a>.
</td>
</tr>
+ <tr>
+ <td>maven.xdoc.poweredby.image</td>
+ <td>Yes</td>
+ <td>
+ Sets the name of the image to use (see images/logos).
+ No default as the competition is not complete.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.xdoc.poweredby.title</td>
+ <td>Yes</td>
+ <td>
+ Sets the title of the link for the powered
+ by logo. Defaults to "Built by Maven"
+ </td>
+ </tr>
+ <tr>
+ <td>maven.xdoc.poweredby.url</td>
+ <td>Yes</td>
+ <td>
+ Sets the target of the link for the powered
+ by logo. Defaults to "http://maven.apache.org/"
+ </td>
+ </tr>
</table>
</section>
</body>
1.16 +10 -1 maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl
Index: site.jsl
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- site.jsl 31 Mar 2003 06:19:01 -0000 1.15
+++ site.jsl 2 Apr 2003 12:29:24 -0000 1.16
@@ -286,6 +286,15 @@
</div>
</j:if>
+ <j:set var="poweredbyimage">${maven.xdoc.poweredby.image}</j:set>
+ <j:set var="poweredbytitle">${maven.xdoc.poweredby.title}</j:set>
+ <j:set var="poweredbyurl">${maven.xdoc.poweredby.url}</j:set>
+ <j:if test="${!empty(poweredbyimage)}">
+ <div style="margin-top: 20px; width: 100%; text-align: center;">
+ <a href="${poweredbyurl}" title="${poweredbytitle}"><img style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a>
+ </div>
+ </j:if>
+
<j:if test="${date == 'navigation-bottom'}">
<div>
<small>Last published: ${build.date}</small>
@@ -293,7 +302,7 @@
</j:if>
</div>
</td>
- <td>
+ <td rowspan="2">
<div id="bodycol">
<!-- Insert MAIN body here -->
<div class="app">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org