continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r170505 - in /maven/continuum/trunk/continuum-web/src/main/resources: forms/continuumProject.xml templates/screens/Summary.vm
Date Tue, 17 May 2005 03:04:23 GMT
Author: jvanzyl
Date: Mon May 16 20:04:22 2005
New Revision: 170505

URL: http://svn.apache.org/viewcvs?rev=170505&view=rev
Log:
o only allow the display of the results if there are actually build results to
  view and the project is not building, updating or checking out.

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml?rev=170505&r1=170504&r2=170505&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml Mon
May 16 20:04:22 2005
@@ -84,7 +84,7 @@
       <operation>
         <name>Results</name>
         <action>ProjectBuilds.vm/view/ProjectBuilds/id/$id$</action>
-        <enable>getBuilds().size > 0</enable>
+        <enable>getBuilds().size > 0 &amp;&amp; ( getState() == 2 || getState()
== 3 || getState() == 4 )</enable>
       </operation>
       <operation>
         <name>Edit</name>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm?rev=170505&r1=170504&r2=170505&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm Mon
May 16 20:04:22 2005
@@ -14,6 +14,7 @@
         <th colspan="$form.summary.operations.size()"></th>
       </tr>
       #foreach ( $item in $formtool.getSummaryItems( $fid ) )
+      >>>> $item.getState()
       <tr class="$css.nextClass">
         #foreach ( $se in $form.summary.summaryElements )
         <td>$formtool.getSummaryItem( $form, $se, $item )</td>



Mime
View raw message