You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by md...@apache.org on 2004/03/01 03:37:59 UTC
cvs commit: jakarta-commons/commons-build commons-site.jsl
mdiggory 2004/02/29 18:37:58
Modified: commons-build commons-site.jsl
Log:
moving hard returns into menu template so they don't show up when the menu is excluded.
Revision Changes Path
1.5 +4 -5 jakarta-commons/commons-build/commons-site.jsl
Index: commons-site.jsl
===================================================================
RCS file: /home/cvs/jakarta-commons/commons-build/commons-site.jsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- commons-site.jsl 18 Feb 2004 03:58:12 -0000 1.4
+++ commons-site.jsl 1 Mar 2004 02:37:58 -0000 1.5
@@ -169,11 +169,9 @@
<x:if select="$nav">
<jsl:applyTemplates select="$nav/body/menu[not(@type) | @type='header'] | $nav/body/search"/>
</x:if>
-
- <hr/>
- <jsl:applyTemplates select="$projectNav/body/menu"/>
-
- <hr/>
+ <x:if select="$projectNav/body/menu">
+ <jsl:applyTemplates select="$projectNav/body/menu"/>
+ </x:if>
<x:if select="$nav">
<jsl:applyTemplates select="$nav/body/menu[@type='footer']"/>
</x:if>
@@ -257,6 +255,7 @@
<strong><x:expr select="@name"/></strong>
<jsl:applyTemplates select="item"/>
</div>
+ <hr/>
</jsl:template>
<jsl:template match="item" trim="false">
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org