[Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ...

jparsons at sourceware.org jparsons at sourceware.org
Tue Aug 22 17:46:07 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons at sourceware.org	2006-08-22 17:46:05

Modified files:
	luci/site/luci/Extensions: cluster_adapters.py 

Log message:
	Fix typo with nav portlet

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.60&r2=1.61

--- conga/luci/site/luci/Extensions/cluster_adapters.py	2006/08/22 17:41:17	1.60
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2006/08/22 17:46:04	1.61
@@ -313,7 +313,7 @@
   #test...
   #clcfg['show_children'] = True
   #Add all cluster type pages here:
-  if pagetype == CLUSTER or pagetype == CLUSTER_ADD or pagetype == CLUSTER_CONFIG:
+  if pagetype == CLUSTER or pagetype == CLUSTER_CONFIG:
     clcfg['show_children'] = True
   else:
     clcfg['show_children'] = False
@@ -399,7 +399,7 @@
   ndcfg['cfg_type'] = "nodecfg"
   ndcfg['absolute_url'] = url + "?pagetype=" + NODE_CONFIG + "&clustername=" + cluname
   ndcfg['Description'] = "Configure cluster nodes"
-  if pagetype == NODE_CONFIG or pagetype == NODE or pagetype == NODES or pagetype == NODE_LIST or pagetype == NODEGRID or pagetype == NODE_ADD:
+  if pagetype == NODE_CONFIG or pagetype == NODE or pagetype == NODES or pagetype == NODE_LIST or pagetype == NODE_GRID or pagetype == NODE_ADD:
     ndcfg['show_children'] = True
   else:
     ndcfg['show_children'] = False




More information about the Cluster-devel mailing list