You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/06/13 11:21:04 UTC
cvs commit: jakarta-avalon-phoenix/src/xdocs/stylesheets templates.vm
donaldp 2002/06/13 02:21:04
Modified: src/xdocs/stylesheets templates.vm
Log:
Dont print out "by" if no authors are present
Revision Changes Path
1.5 +2 -1 jakarta-avalon-phoenix/src/xdocs/stylesheets/templates.vm
Index: templates.vm
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/templates.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- templates.vm 13 Jun 2002 09:18:03 -0000 1.4
+++ templates.vm 13 Jun 2002 09:21:04 -0000 1.5
@@ -252,9 +252,10 @@
#end
#macro (getAuthorList)
- <div align="right" id="authors">by
+ <div align="right" id="authors">
#set ($authors = $root.getChild("properties").getChildren("author"))
#foreach ( $au in $authors )
+ #if( $velocityCount == 1 )by #end
#if( $velocityCount != 1 ),#end <a href="$au.getAttributeValue("email")">$au.getText()</a>
#end
</div>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>