bwalding    2003/02/25 00:06:35

  Modified:    src/plugins-build/xdoc/src/plugin-resources site.jsl
  Log:
  o Applied patch from Adam Murdoch (email title : "[patch] Fix maven.xdoc.date")
  o Made slight mods to fix navigation-top not displaying
  o Made inline css mods to make bottom-right actually display at bottom right
  
  Revision  Changes    Path
  1.11      +10 -9     
jakarta-turbine-maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl
  
  Index: site.jsl
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- site.jsl  23 Feb 2003 15:57:38 -0000      1.10
  +++ site.jsl  25 Feb 2003 08:06:34 -0000      1.11
  @@ -13,6 +13,9 @@
       <j:useBean var="navbean" class="org.apache.maven.NavBean"/>
        <j:set var="location" value="${outFile.substring(destdir.length())}"/>
        <util:replace var="location" oldChar="\" newChar="/" value="${location}"/>
  +
  +    <!-- Stores location for publish date / version -->
  +    <j:set var="date">${maven.xdoc.date}</j:set>
         
        <j:setProperties 
                object="${navbean}"
  @@ -107,8 +110,6 @@
           <div id="breadcrumbs">
             <table border="0" cellspacing="0" cellpadding="4" width="100%">
               <tr>
  -              <!-- date of publish and version -->
  -              <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}
  @@ -138,9 +139,9 @@
             <tr valign="top">
               <td id="leftcol" width="20%">
                 <div id="navcolumn">
  -                <j:if test="${context.findVariable('maven.xdoc.date') == 
'navigation-top'}">
  +                <j:if test="${date == 'navigation-top'}">
                     <div>
  -                    <small>Last published: ${buildDate}</small>
  +                    <small>Last published: ${build.date}</small>
                     </div>
                   </j:if>
   
  @@ -284,7 +285,7 @@
                     </j:if>
                   </div>
                 </j:if>
  -                <j:if test="${context.findVariable('maven.xdoc.date') == 
'navigation-bottom'}">
  +                <j:if test="${date == 'navigation-bottom'}">
                     <div>
                       <small>Last published: ${build.date}</small>
                     </div>
  @@ -308,7 +309,7 @@
             </tr>
           </table>
           <div id="footer">
  -          <table border="0" cellspacing="0" cellpadding="4">
  +          <table style='width:100%' border="0" cellspacing="0" cellpadding="4">
               <jsl:applyTemplates select="$nav/body/footer"/>
               <tr>
                 <td>
  @@ -326,12 +327,12 @@
                     </j:if>
                   </j:if>
   
  -                <j:if test="${context.findVariable('maven.xdoc.date') == 'bottom'}">
  +                <j:if test="${date == 'bottom'}">
                     - Last published: ${build.date}
                   </j:if>
                 </td>
  -              <j:if test="${context.findVariable('maven.xdoc.date') == 
'bottom-right'}">
  -                <td align="right">Last published: ${build.date}</td>
  +              <j:if test="${date == 'bottom-right'}">
  +                <td style='width: auto; text-align:right'>Last published: 
${build.date}</td>
                 </j:if>
               </tr>
             </table>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to