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