You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by jv...@apache.org on 2005/07/08 16:51:15 UTC

svn commit: r209801 - /maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm

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>