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

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

Author: trygvis
Date: Fri Jul  8 06:11:54 2005
New Revision: 209759

URL: http://svn.apache.org/viewcvs?rev=209759&view=rev
Log:
o Using the correct variable.

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=209759&r1=209758&r2=209759&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 06:11:54 2005
@@ -52,19 +52,21 @@
   </div>
   #end
 
-  #if ( ( $project.checkOutException && $project.checkOutException != "" ) || ( $project.checkOutErrorMessage && $project.checkOutErrorMessage != "" ) )
+  #if ( ( $item.checkOutException && $item.checkOutException != "" ) || ( $item.checkOutErrorMessage && $item.checkOutErrorMessage != "" ) )
   <div id="h3">
     <h3>Checkout Error</h3>
     <p>
       There was a error while checking out the project.
+    </p>
+    #if ( $item.checkOutErrorMessage && $item.checkOutErrorMessage != "" )
+    <p>
+    <div style="width:100%; height:500px; overflow:auto; border-style: solid; border-width: 1px"><code><pre>$item.checkOutErrorMessage</pre></code></div>
+    </p>
+    #end
 
-      #if ( $project.checkOutErrorMessage && $project.checkOutErrorMessage != "" )
-      Error message: $project.checkOutErrorMessage
-      #end
-
-      #if ( $project.checkOutErrorException && $project.checkOutErrorException != "" )
-      <div style="width:100%; height:500px; overflow:auto; border-style: solid; border-width: 1px"><code><pre>$project.checkOutErrorException</pre></code></div>
-      #end
+    #if ( $item.checkOutErrorException && $item.checkOutErrorException != "" )
+    <div style="width:100%; height:500px; overflow:auto; border-style: solid; border-width: 1px"><code><pre>$item.checkOutErrorException</pre></code></div>
+    #end
     </p>
   </div>
   #end