maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-turbine-maven/src/plugins-build/xdoc site.jsl
Date Wed, 11 Dec 2002 18:46:43 GMT
jstrachan    2002/12/11 10:46:43

  Modified:    src/plugins-build/xdoc site.jsl
  Log:
  Fixed the Last published date in the JSL stylesheet
  
  Revision  Changes    Path
  1.8       +3 -2      jakarta-turbine-maven/src/plugins-build/xdoc/site.jsl
  
  Index: site.jsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/site.jsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- site.jsl	11 Dec 2002 18:17:21 -0000	1.7
  +++ site.jsl	11 Dec 2002 18:46:43 -0000	1.8
  @@ -102,7 +102,8 @@
                 <table border="0" cellspacing="0" cellpadding="4" width="100%">
                   <tr>
                     <!-- date of publish and version -->
  -                  <j:if test="${context.findVariable('maven.xdoc.date') == 'left'}">
  +                  <j:set var="date">${maven.xdoc.date}</j:set>
  +                  <j:if test="${date == 'left'}">
                       <j:set var="version" value="${maven.xdoc.version}" />
                       <td>Last published: ${build.date}
                         <j:if test="${!empty(version)}">| Doc for ${version}</j:if>
  @@ -110,7 +111,7 @@
                     </j:if>
                     <td>
                       <div align="right">
  -                    <j:if test="${context.findVariable('maven.xdoc.date') == 'right'}">
  +                    <j:if test="${date == 'right'}">
                         Last published: ${build.date}
                         <x:if select="$nav/body/links">|</x:if>
                       </j:if>
  
  
  

Mime
View raw message