You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2003/12/03 12:10:45 UTC

cvs commit: maven-plugins/dashboard/src/plugin-resources/templates legend.jsl

vmassol     2003/12/03 03:10:45

  Modified:    dashboard/src/plugin-resources/templates legend.jsl
  Log:
  Binary --> Ascii
  
  Revision  Changes    Path
  1.2       +41 -41    maven-plugins/dashboard/src/plugin-resources/templates/legend.jsl
  
  Index: legend.jsl
  ===================================================================
  RCS file: /home/cvs/maven-plugins/dashboard/src/plugin-resources/templates/legend.jsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- legend.jsl	3 Dec 2003 11:10:08 -0000	1.1
  +++ legend.jsl	3 Dec 2003 11:10:45 -0000	1.2
  @@ -1,41 +1,41 @@
  -<?xml version="1.0"?>
  -
  -<jsl:stylesheet
  -  select="$doc"
  -  xmlns:j="jelly:core"
  -  xmlns:jsl="jelly:jsl"
  -  xmlns:x="jelly:xml"
  -  xmlns="dummy" trim="false">
  -
  -  <jsl:template match="dashboard">
  -    <document>
  -      <properties>
  -        <title>Dashboard Report Legend</title>
  -      </properties>
  -      <body>
  -        <section name="Dashboard report column legend">
  -          <table>
  -            <tr>
  -              <th>Column name</th>
  -              <th>Description</th>
  -            </tr>
  -            <x:forEach var="aggregatorName" select="project[1]/aggregator/@name">
  -              <tr>
  -                <td>
  -                  <j:set var="labelProperty" 
  -                      value="maven.dashboard.aggregator.${aggregatorName.value}.label"/>
  -                  <j:expr value="${context.getVariable(labelProperty)}"/>
  -                </td>                
  -                <td>
  -                  <j:set var="descriptionProperty" 
  -                      value="maven.dashboard.aggregator.${aggregatorName.value}.description"/>
  -                  <j:expr value="${context.getVariable(descriptionProperty)}"/>
  -                </td>
  -              </tr>
  -            </x:forEach>
  -          </table>
  -        </section>
  -      </body>
  -    </document>
  -  </jsl:template>
  -</jsl:stylesheet>
  +<?xml version="1.0"?>
  +
  +<jsl:stylesheet
  +  select="$doc"
  +  xmlns:j="jelly:core"
  +  xmlns:jsl="jelly:jsl"
  +  xmlns:x="jelly:xml"
  +  xmlns="dummy" trim="false">
  +
  +  <jsl:template match="dashboard">
  +    <document>
  +      <properties>
  +        <title>Dashboard Report Legend</title>
  +      </properties>
  +      <body>
  +        <section name="Dashboard report column legend">
  +          <table>
  +            <tr>
  +              <th>Column name</th>
  +              <th>Description</th>
  +            </tr>
  +            <x:forEach var="aggregatorName" select="project[1]/aggregator/@name">
  +              <tr>
  +                <td>
  +                  <j:set var="labelProperty" 
  +                      value="maven.dashboard.aggregator.${aggregatorName.value}.label"/>
  +                  <j:expr value="${context.getVariable(labelProperty)}"/>
  +                </td>                
  +                <td>
  +                  <j:set var="descriptionProperty" 
  +                      value="maven.dashboard.aggregator.${aggregatorName.value}.description"/>
  +                  <j:expr value="${context.getVariable(descriptionProperty)}"/>
  +                </td>
  +              </tr>
  +            </x:forEach>
  +          </table>
  +        </section>
  +      </body>
  +    </document>
  +  </jsl:template>
  +</jsl:stylesheet>
  
  
  

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