From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 7 Oct 2006 01:04:02 -0000 Subject: [Cluster-devel] conga/luci site/luci/Extensions/storage_adapte ... Message-ID: <20061007010402.27246.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: kupcevic at sourceware.org 2006-10-07 01:04:01 Modified files: luci/site/luci/Extensions: storage_adapters.py luci/storage : form-chooser form-macros mappings_provider Log message: luci storage: display BD only as a part of a MAPPER Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/storage_adapters.py.diff?cvsroot=cluster&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-chooser.diff?cvsroot=cluster&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/form-macros.diff?cvsroot=cluster&r1=1.7&r2=1.8 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/mappings_provider.diff?cvsroot=cluster&r1=1.1&r2=1.2 --- conga/luci/site/luci/Extensions/storage_adapters.py 2006/08/03 18:56:10 1.3 +++ conga/luci/site/luci/Extensions/storage_adapters.py 2006/10/07 01:04:01 1.4 @@ -224,15 +224,11 @@ sr['absolute_url'] = url + '?' + PAGETYPE + '=' + VIEW_MAPPER + '&' + STONAME + '=' + hostname + '&' + PT_MAPPER_TYPE + '=' + mapper_type + '&' + PT_MAPPER_ID + '=' + sr_id sr['Description'] = pretty_name_desc - if pagetype_req == VIEW_BD and mapper_id_req == sr_id: - sr['show_children'] = True - else: - sr['show_children'] = False - - if pagetype_req == VIEW_MAPPER and mapper_id_req == sr_id: + if (pagetype_req == VIEW_MAPPER or pagetype_req == VIEW_BD) and mapper_id_req == sr_id: sr['currentItem'] = True else: sr['currentItem'] = False + sr['show_children'] = False # targets tgts_list = [] --- conga/luci/storage/form-chooser 2006/08/03 18:56:09 1.2 +++ conga/luci/storage/form-chooser 2006/10/07 01:04:01 1.3 @@ -44,6 +44,16 @@
+ + + + + +
--- conga/luci/storage/form-macros 2006/10/06 22:59:26 1.7 +++ conga/luci/storage/form-macros 2006/10/07 01:04:01 1.8 @@ -509,9 +509,15 @@ Graphical View -
+
+ + +