Skip to contentSkip to conversation

conga/luci/cluster form-macros

Cluster-devel [email protected] 1 participant 1 message Aug 11, 2006

lore
Share & tools
lore
#0 lore raw

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

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