[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons 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);">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]