maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vmas...@apache.org
Subject svn commit: r159900 - maven/maven-1/plugins/trunk/dashboard/src/plugin-resources/templates/dashboard.jsl
Date Sun, 03 Apr 2005 08:35:08 GMT
Author: vmassol
Date: Sun Apr  3 00:35:07 2005
New Revision: 159900

URL: http://svn.apache.org/viewcvs?view=rev&rev=159900
Log:
refactoring: improved variable name

Modified:
    maven/maven-1/plugins/trunk/dashboard/src/plugin-resources/templates/dashboard.jsl

Modified: maven/maven-1/plugins/trunk/dashboard/src/plugin-resources/templates/dashboard.jsl
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/dashboard/src/plugin-resources/templates/dashboard.jsl?view=diff&r1=159899&r2=159900
==============================================================================
--- maven/maven-1/plugins/trunk/dashboard/src/plugin-resources/templates/dashboard.jsl (original)
+++ maven/maven-1/plugins/trunk/dashboard/src/plugin-resources/templates/dashboard.jsl Sun
Apr  3 00:35:07 2005
@@ -71,8 +71,8 @@
 
     <j:if test="${shallDisplay == 'true'}">
       <tr>
-        <x:set var="projecturl1" select="string(@artifactId)"/>
-        <j:set var="projecturl" value="${maven.multiproject.aggregateDir}${projecturl1}/index.html"/>
+        <x:set var="artifactId" select="string(@artifactId)"/>
+        <j:set var="projecturl" value="${maven.multiproject.aggregateDir}${artifactId}/index.html"/>
         <td><a href="${projecturl}"><x:expr select="@name"/></a></td>
         <jsl:applyTemplates select="aggregator"/>
       </tr>
@@ -86,7 +86,7 @@
     <j:set var="aggregatorHasReport" value="false"/>
     <j:set var="aggregatorReport" value="${context.getVariable(aggregatorKey)}"/>
     <j:if test="${aggregatorReport != null}">
-      <u:available file="${maven.build.dir}/docs/${maven.multiproject.aggregateDir}${projecturl1}/${aggregatorReport}">
+      <u:available file="${maven.build.dir}/docs/${maven.multiproject.aggregateDir}${artifactId}/${aggregatorReport}">
         <j:set var="aggregatorHasReport" value="true"/>
       </u:available>
     </j:if>
@@ -98,7 +98,7 @@
       <j:if test="${str.trim().endsWith('%') == 'false'}">
         <j:choose>
           <j:when test="${aggregatorHasReport == 'true'}">
-            <a href="${maven.multiproject.aggregateDir}${projecturl1}/${aggregatorReport}">
+            <a href="${maven.multiproject.aggregateDir}${artifactId}/${aggregatorReport}">
               <x:expr select="text()"/> 
             </a>
           </j:when>
@@ -124,7 +124,7 @@
                   <x:attribute name="colspan">2</x:attribute>
                     <j:choose>
                       <j:when test="${aggregatorHasReport == 'true'}">
-                        <a href="${maven.multiproject.aggregateDir}${projecturl1}/${aggregatorReport}">
+                        <a href="${maven.multiproject.aggregateDir}${artifactId}/${aggregatorReport}">
                           <j:expr value="${percent}%"/>
                         </a>
                       </j:when>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message