You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2006/02/06 22:25:57 UTC
svn commit: r375378 -
/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/team-list.xml
Author: ltheussl
Date: Mon Feb 6 13:25:55 2006
New Revision: 375378
URL: http://svn.apache.org/viewcvs?rev=375378&view=rev
Log:
Fix velocity warning when no developer.url defined.
Modified:
maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/team-list.xml
Modified: maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/team-list.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/team-list.xml?rev=375378&r1=375377&r2=375378&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/team-list.xml (original)
+++ maven/maven-1/plugins/trunk/xdoc/src/plugin-resources/templates/team-list.xml Mon Feb 6 13:25:55 2006
@@ -123,14 +123,18 @@
<tbody>
#foreach ($developer in $project.developers)
<tr>
- #if ($developer.url.length() != 0)
- <td>
- <a href="$developer.url">
- $!developer.name
- </a>
- </td>
+ #if ($developer.url)
+ #if ($developer.url.length() != 0)
+ <td>
+ <a href="$developer.url">
+ $!developer.name
+ </a>
+ </td>
+ #else
+ <td>$!developer.name</td>
+ #end
#else
- <td>$!developer.name</td>
+ <td>$!developer.name</td>
#end
<td>
<a name="$!developer.id" />