Skip to contentSkip to conversation

conga/luci/cluster form-macros

Cluster-devel [email protected] 1 participant 1 message Nov 30, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-11-30 21:28:27

Modified files:
luci/cluster : form-macros

Log message:
minor macro mistake

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

luci/cluster/form-macros +2 -4
@@ -3116,15 +3116,13 @@
 	<div class="cluster fencedev">
   <tal:block tal:define="
 		global cur_fencename request/fencename | nothing;
-		global cur_cluster request/clustername | nothing" />
+		global cur_cluster request/clustername | nothing;
+		global cur_fence_type python: 'fence_apc'"/>
 
   <span tal:condition="cur_fencename">
     <span tal:define="global cur_fencedev python:here.getFence(model,request);
                       global cur_fence_type cur_fencedev/agent"/>
   </span>
-  <span tal:condition="not cur_fencename">
-		<span tal:define="global cur_fence_type python: 'fence_apc'"/>
-  </span>
 	
 	<tal:block tal:condition="python: cur_fence_type == 'fence_apc'">
 		<tal:block metal:use-macro="here/form-macros/macros/fence-form-apc" />