From 0ddba26c865a868e0256f718a1328acb806a8e57 Mon Sep 17 00:00:00 2001 From: bwalding Date: Thu, 12 Jun 2003 09:12:01 +0000 Subject: [PATCH] Add section when there are no contributors PR: MAVEN-272 Submitted by: Peter Lynch git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113488 13f79535-47bb-0310-9956-ffa450edef68 --- .../jelly-templates/team-list.xml | 62 +++++++++++-------- .../plugin-resources/templates/team-list.xml | 15 +++-- 2 files changed, 45 insertions(+), 32 deletions(-) diff --git a/xdoc/src/plugin-resources/jelly-templates/team-list.xml b/xdoc/src/plugin-resources/jelly-templates/team-list.xml index c84db27b..643a4589 100644 --- a/xdoc/src/plugin-resources/jelly-templates/team-list.xml +++ b/xdoc/src/plugin-resources/jelly-templates/team-list.xml @@ -66,34 +66,42 @@ - -
-

- The following additional people have contributed to this project - through the way of suggestions, patches or documentation. -

- - - - - - - - - - - - -
NameEmailOrganizationRoles
${contributor.name}${contributor.email}${contributor.organization} - - ${role}
+ + +
+ +

+ There are no contributors listed for this project. Please check + back again later. +

+
+ + +

+ The following additional people have contributed to this project + through the way of suggestions, patches or documentation. +

+ + + + + + + + + + + + + + - - - -
NameEmailOrganizationRoles
${contributor.name}${contributor.email}${contributor.organization} + + ${role}
+
+
-
- +
+
diff --git a/xdoc/src/plugin-resources/templates/team-list.xml b/xdoc/src/plugin-resources/templates/team-list.xml index 66bca94e..92017746 100644 --- a/xdoc/src/plugin-resources/templates/team-list.xml +++ b/xdoc/src/plugin-resources/templates/team-list.xml @@ -97,11 +97,17 @@ #end #end - #if ($project.contributors.size() != 0 ) -
+
+
+ #if ($project.contributors.size() == 0) +

+ There are no contributors listed for this project. Please check + back again later. +

+ #else

- The following additional people have contributed to this project - through the way of suggestions, patches or documentation. + The following additional people have contributed to this project + through the way of suggestions, patches or documentation.

@@ -123,7 +129,6 @@ #end
-
#end