Skip to contentSkip to conversation

conga/luci/cluster form-macros

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

lore
Share & tools
lore
#0 lore raw

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

luci/cluster/form-macros +11 -2
@@ -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>