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

jparsons at sourceware.org jparsons at sourceware.org
Fri Aug 11 14:23:07 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons at sourceware.org	2006-08-11 14:23:07

Modified files:
	luci/cluster   : form-macros 

Log message:
	Case where there are no services

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

--- conga/luci/cluster/form-macros	2006/08/11 14:07:46	1.28
+++ conga/luci/cluster/form-macros	2006/08/11 14:23:07	1.29
@@ -103,6 +103,9 @@
 							<td style="width:30%;text-align:right">
 								<h3>Services: </h3>
 								<ul>
+                  <span tal:condition="python:len(cstatus['currentservices']) < 1">
+                   <li><i>No Services Defined</i></li>
+                  </span>
                   <span tal:repeat="svc cstatus/currentservices">
                     <span tal:condition="python:svc['srunning'] == 'true'">
 									   <li style="list-style-image:url(small_svc.png);">




More information about the Cluster-devel mailing list