[Cluster-devel] conga/luci/cluster form-macros

jparsons at sourceware.org jparsons at sourceware.org
Fri Sep 22 20:58:59 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons at sourceware.org	2006-09-22 20:58:59

Modified files:
	luci/cluster   : form-macros 

Log message:
	minor nits

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.63&r2=1.64

--- conga/luci/cluster/form-macros	2006/09/22 20:30:27	1.63
+++ conga/luci/cluster/form-macros	2006/09/22 20:58:59	1.64
@@ -27,12 +27,12 @@
 <div metal:define-macro="clusters-form">
 <div id="cluster_list">
 <div class="cluster" tal:repeat="clu clusystems">
-	<span tal:define="global ragent python: here.getRicciAgent(clu) | nothing"/>
-  <span tal:condition="not: ragent">
+	<span tal:define="global ragent python: here.getRicciAgent(clu)"/>
+  <span tal:condition="python: ragent == ''">
     <h4><font color="red">An error occurred when trying to contact any of the nodes in the <span tal:content="clu"/>.</font></h4>
   <hr/>
   </span>
-  <span tal:condition="ragent">
+  <span tal:condition="python: ragent == ''">
 	<tal:block
 			tal:define="global stat python: here.getClusterStatus(ragent);
 			global cstatus python: here.getClustersInfo(stat,request);




More information about the Cluster-devel mailing list