dion        2003/09/04 21:03:44

  Modified:    src/plugins-build/tasklist/src/plugin-resources/templates
                        tasklist.vm
  Log:
  Fix tabs
  
  Revision  Changes    Path
  1.7       +38 -38    
maven/src/plugins-build/tasklist/src/plugin-resources/templates/tasklist.vm
  
  Index: tasklist.vm
  ===================================================================
  RCS file: 
/home/cvs/maven/src/plugins-build/tasklist/src/plugin-resources/templates/tasklist.vm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- tasklist.vm       4 Aug 2003 13:56:36 -0000       1.6
  +++ tasklist.vm       5 Sep 2003 04:03:44 -0000       1.7
  @@ -8,45 +8,45 @@
     
     <body>
       <section name="Todos">
  -       <p>
  -       </p>
  -       <table>
  -             <th>Class</th>
  -             <th>Class Todos Count</th>
  -             <th>Method with Todos</th>
  -         #foreach ($class in $docInfo.classes)
  -               #set ($classTodosCount = 
$class.getTags($jellyContext.taskTag).size() )
  +      <p>
  +      </p>
  +      <table>
  +        <th>Class</th>
  +        <th>Class Todos Count</th>
  +        <th>Method with Todos</th>
  +        #foreach ($class in $docInfo.classes)
  +          #set ($classTodosCount = $class.getTags($jellyContext.taskTag).size() )
             #set ($methodTodosCount = 0)
  -           #foreach ($m in $class.methods)
  -             #set ($methodTodoTags = $m.getTags($jellyContext.taskTag))
  +          #foreach ($m in $class.methods)
  +            #set ($methodTodoTags = $m.getTags($jellyContext.taskTag))
               #if ($methodTodoTags.size() > 0)
  -               #set ($methodTodosCount = $methodTodosCount + 1 )
  -                 #end
  -           #end
  -               #if ($classTodosCount > 0 || $methodTodosCount > 0)
  -                 <tr>
  -                   <td>
  -                         <a href="#$class.name">$class.name</a>
  -                   </td>
  -               <td>
  -                         #if ($classTodosCount > 0)
  -                           <a href="#$class.name">$classTodosCount</a>
  -                         #else
  -                           0
  -                         #end
  -                   </td>
  -                   <td>
  -                         #if ($methodTodosCount > 0)
  -                           <a href="#${class.name}.methods">$methodTodosCount</a>
  -                         #else
  -                           0
  -                         #end
  -                   </td>
  -                 </tr>
  -               #end
  -       #end
  -       </table>
  -       <hr/>
  +              #set ($methodTodosCount = $methodTodosCount + 1 )
  +            #end
  +          #end
  +          #if ($classTodosCount > 0 || $methodTodosCount > 0)
  +            <tr>
  +              <td>
  +                <a href="#$class.name">$class.name</a>
  +              </td>
  +              <td>
  +                #if ($classTodosCount > 0)
  +                  <a href="#$class.name">$classTodosCount</a>
  +                #else
  +                  0
  +                #end
  +              </td>
  +              <td>
  +                #if ($methodTodosCount > 0)
  +                  <a href="#${class.name}.methods">$methodTodosCount</a>
  +                #else
  +                  0
  +                #end
  +              </td>
  +            </tr>
  +          #end
  +      #end
  +      </table>
  +      <hr/>
         <p>
             #foreach ($class in $docInfo.classes)
               #set ($todoTags = $class.getTags($jellyContext.taskTag))
  @@ -59,7 +59,7 @@
               #end
               #if ($todoTags.size() > 0 || $hasToDoMethod)
                 <subsection name="$class.name">
  -                     <a name="$class.name"></a>
  +                <a name="$class.name"></a>
                   #if ($todoTags.size() > 0)
                     <table>
                       <th>Class Todos</th>
  
  
  

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

Reply via email to