continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r209801 - /maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm
Date Fri, 08 Jul 2005 14:51:15 GMT
Author: jvanzyl
Date: Fri Jul  8 07:51:14 2005
New Revision: 209801

URL: http://svn.apache.org/viewcvs?rev=209801&view=rev
Log:
o adding last result and all results to the project view

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm?rev=209801&r1=209800&r2=209801&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm Fri Jul
 8 07:51:14 2005
@@ -25,6 +25,16 @@
             <input type="submit" name="checkout-project" value="Checkout"/>
             </form>
           </td>
+
+          #if ( $item.lastBuildId )
+          #set ( $build = $continuum.getLatestBuildForProject($item.id) )
+          <td><a href="$link.setPage('ProjectBuild.vm').addPathInfo('view', "ProjectBuild").addPathInfo('id',
$item.id).addPathInfo('buildId', $build.id)">Last Result</a></td>
+          #end
+
+          #if ( $item.lastBuildId )
+          <td><a href="$link.setPage('ProjectBuilds.vm').addPathInfo('view', "ProjectBuilds").addPathInfo('id',
$item.id)">All Results</a></td>
+          #end
+
         </tr>
       </table>
     </div>



Mime
View raw message