From mboxrd@z Thu Jan 1 00:00:00 1970 From: jparsons@sourceware.org Date: 22 Aug 2006 17:41:18 -0000 Subject: [Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ... Message-ID: <20060822174118.16688.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: jparsons at sourceware.org 2006-08-22 17:41:17 Modified files: luci/site/luci/Extensions: cluster_adapters.py Log message: Fix minor cosmetic issue with nav portlet Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.59&r2=1.60 --- conga/luci/site/luci/Extensions/cluster_adapters.py 2006/08/16 23:40:27 1.59 +++ conga/luci/site/luci/Extensions/cluster_adapters.py 2006/08/22 17:41:17 1.60 @@ -312,7 +312,8 @@ #test... #clcfg['show_children'] = True - if pagetype == CLUSTERS: + #Add all cluster type pages here: + if pagetype == CLUSTER or pagetype == CLUSTER_ADD or pagetype == CLUSTER_CONFIG: clcfg['show_children'] = True else: clcfg['show_children'] = False @@ -398,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: + if pagetype == NODE_CONFIG or pagetype == NODE or pagetype == NODES or pagetype == NODE_LIST or pagetype == NODEGRID or pagetype == NODE_ADD: ndcfg['show_children'] = True else: ndcfg['show_children'] = False