Skip to contentSkip to conversation

conga/luci/cluster form-macros

Cluster-devel [email protected] 1 participant 1 message Sep 22, 2006

lore
Share & tools
lore
#0 lore raw

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

luci/cluster/form-macros +3 -3
@@ -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);