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

rmccabe at sourceware.org rmccabe at sourceware.org
Mon Sep 25 15:59:21 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2006-09-25 15:59:21

Modified files:
	luci/cluster   : form-macros 

Log message:
	fix logic inversion bug on the cluster list page

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

--- conga/luci/cluster/form-macros	2006/09/25 15:46:15	1.67
+++ conga/luci/cluster/form-macros	2006/09/25 15:59:21	1.68
@@ -27,12 +27,14 @@
 <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)"/>
-  <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>
+	<tal:block tal:define="global ragent python: here.getRicciAgent(clu)" />
+
+ <span tal:condition="python: ragent == ''">
+    <strong class="errmsgs">An error occurred when trying to contact any of the nodes in the <span tal:replace="python: clu[0]"/> cluster.</strong>
   <hr/>
   </span>
-  <span tal:condition="python: 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