continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r178198 - in /maven/continuum/trunk/continuum-web/src/main/resources: forms/continuumProject.xml templates/screens/ProjectBuilds.vm
Date Tue, 24 May 2005 16:08:03 GMT
Author: jvanzyl
Date: Tue May 24 09:08:02 2005
New Revision: 178198

URL: http://svn.apache.org/viewcvs?rev=178198&view=rev
Log:
o show what errors we can but this needs to be better
o show the results when there is an error

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/forms/continuumProject.xml
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.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=178198&r1=178197&r2=178198&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 Tue
May 24 09:08:02 2005
@@ -43,7 +43,7 @@
         </validator>
       </validators>
       <type>text</type>
-      <transformer>scmUrl</transformer>
+      <expression>scmUrl</expression>
     </element>
     <element>
       <id>project.nagEmailAddress</id>
@@ -145,7 +145,7 @@
          | Only show the result pages if there are builds to show and if the project is in
a state
          | of ok, failed, error.
          -->
-        <enable>getBuilds().size > 0 &amp;&amp; ( getState() == 2 || getState()
== 3 || getState() == 4 )</enable>
+        <enable>getState() == 4 || ( getBuilds().size > 0 &amp;&amp; ( getState()
== 2 || getState() == 3 ) )</enable>
       </operation>
       <operation>
         <name>Edit</name>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm?rev=178198&r1=178197&r2=178198&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
Tue May 24 09:08:02 2005
@@ -1,7 +1,12 @@
 <div class="app">
+  #if ( $project.checkOutErrorException )
+  <h3>Checkout Exception</h3>
+  <p>
+    <div style="width:100%; height:500px; overflow:auto; border-style: solid; border-width:
1px"><code><pre>$project.checkOutErrorException</pre></code></div>
+  </p>
+  #end
   <h3>Build results for $project.name</h3>
   <p>
-    #set ( $class = "a" )
     <table border="1" cellspacing="2" cellpadding="3" width="100%">
       <tr>
         <th>Start Time</th>
@@ -10,17 +15,12 @@
         <th></th>
       </tr>
       #foreach ( $build in $builds )
-      <tr class="$class">
+      <tr class="$css.nextClass">
         <td>$date.format('medium',$build.startTime)</td>
         <td>$date.format('medium',$build.endTime)</td>
         <td>$state.generate($build)</td>
         <td><a href="$link.setPage('ProjectBuild.vm').addQueryData('view','ProjectBuild').addQueryData('buildId',$build.id).addQueryData('projectId',$project.id)">Result</a></td>
       </tr>
-      #if ( $class == "a" )
-        #set ( $class = "b" )
-      #else
-        #set ( $class = "a" )
-      #end
       #end
     </table>
   </p>



Mime
View raw message