You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ev...@apache.org on 2005/08/25 12:09:54 UTC

svn commit: r240036 - in /maven/continuum/trunk/continuum-web/src/main/resources: META-INF/plexus/components.xml templates/screens/View.vm

Author: evenisse
Date: Thu Aug 25 03:09:49 2005
New Revision: 240036

URL: http://svn.apache.org/viewcvs?rev=240036&view=rev
Log:
[CONTINUUM-282] Show build definitions

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/View.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml?rev=240036&r1=240035&r2=240036&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml Thu Aug 25 03:09:49 2005
@@ -159,6 +159,20 @@
         <views>
           <!--
            |
+           | Project View
+           |
+           -->
+          <view>
+            <id>View</id>
+            <scalars>
+              <scalar>
+                <id>project</id>
+                <expression>getProjectWithAllDetails(#id)</expression>
+              </scalar>
+            </scalars>
+          </view>
+          <!--
+           |
            | Project Builds
            |
            -->

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=240036&r1=240035&r2=240036&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 Thu Aug 25 03:09:49 2005
@@ -48,7 +48,7 @@
       </div>
     </div>
 
-    <!--
+    
     <h3>$i18n.getString( "project.buildDefinitions.label" )</h3>
     <table border="1" cellspacing="2" cellpadding="3" width="100%">
       <tr>
@@ -65,13 +65,28 @@
         <td>$buildDefinition.goals</td>
         <td>$buildDefinition.arguments</td>
         <td>$buildDefinition.buildFile</td>
-        <td>$buildDefinition.profile.name</td>
-        <td>$buildDefinition.schedule.name</td>
+        <td>
+          #if ( $buildDefinition.profile )
+            $buildDefinition.profile.name
+          #else
+            DEFAULT
+          #end
+        </td>
+        <td>
+          #if ( $buildDefinition.schedule )
+            $buildDefinition.schedule.name
+          #else
+            DEFAULT
+          #end
+        </td>
         <td>Project</td>
-        <td><a href="#">Edit</a> | <a href="#">Delete</a></td>
+        <td>
+          <!-- <a href="#">Edit</a> | <a href="#">Delete</a> -->
+        </td>
       </tr>
       #end
     </table>
+    <!--
     <div class="functnbar3">
       <table>
         <tr>
@@ -84,6 +99,7 @@
       </table>
     </div>
     -->
+    
 
     #if ( $project.notifier )
     <h3>$i18n.getString( "project.notifiers.label" )</h3>
@@ -158,7 +174,7 @@
       </tr>
       #foreach ( $dependency in $project.dependencies )
       <tr class="b">
-        <td>$dependency.name</td>
+        <td>$dependency.groupId:$dependency.artifactId</td>
       </tr>
       #end
     </table>