[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-10 14:16:03

Modified files:
	luci/cluster   : form-macros 

Log message:
	Test code snippet for ryan

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

--- conga/luci/cluster/form-macros	2006/08/09 21:38:00	1.19
+++ conga/luci/cluster/form-macros	2006/08/10 14:16:03	1.20
@@ -885,8 +885,17 @@
   <h2> Service Composition</h2>
   <span tal:define="global svc_rcs sinfo/resource_list"/>
   <span tal:repeat="svc_rc svc_rcs">
-   <h4 tal:content="svc_rc/type"/>
-   <h4 tal:content="svc_rc/indent_ctr"/>
+   <h4> Name: <span tal:content="svc_rc/resource_name"/></h4>
+   <h4> Type: <span tal:content="svc_rc/type"/></h4>
+   <span tal:define="ref svc_rc/ref_object | nothing">
+     <span tal:condition="ref">
+      <h4>This is a shared resource</h4>
+     </span>
+     <span tal:condition="not ref">
+      <h4>This is a resource private to this service</h4>
+     </span>
+   </span>
+   <h4>Indent level:  <span tal:content="svc_rc/indent_ctr"/></h4>
   </span>
 </div>
 


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