diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-07-29 06:59:17 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-07-29 06:59:17 +0000 |
| commit | 1ba4ffb5867ba1dc4a40cc2c220aca3ba2677add (patch) | |
| tree | f280b055bd3e657d2fdf86168bfc328ea0ef077e /openstack_dashboard/enabled | |
| parent | 5de75391d0e843968c5d439abf3c9d6669e5b58c (diff) | |
| parent | fe0df4579cd091caa49a5a0a14bc3b3d93bcd1a4 (diff) | |
| download | horizon-1ba4ffb5867ba1dc4a40cc2c220aca3ba2677add.tar.gz | |
Merge "Enable to refresh ngdetails view"
Diffstat (limited to 'openstack_dashboard/enabled')
3 files changed, 45 insertions, 0 deletions
diff --git a/openstack_dashboard/enabled/_1050_project_images_panel.py b/openstack_dashboard/enabled/_1050_project_images_panel.py index 88e1a825d..5f44e4279 100644 --- a/openstack_dashboard/enabled/_1050_project_images_panel.py +++ b/openstack_dashboard/enabled/_1050_project_images_panel.py @@ -21,3 +21,10 @@ PANEL_GROUP = 'compute' # Python panel class of the PANEL to be added. ADD_PANEL = 'openstack_dashboard.dashboards.project.images.panel.Images' + +# The details view to be belonged to the PANEL_DASHBOARD and PANEL. +# If the details view uses ngdetails, this setting is needed to refresh the +# details view. +ADD_DETAIL_PAGES = { + 'OS::Glance::Image': (PANEL_DASHBOARD, PANEL) +} diff --git a/openstack_dashboard/enabled/_3010_identity_domains_panel.py b/openstack_dashboard/enabled/_3010_identity_domains_panel.py index e8aff7caf..6ebcb1ef3 100644 --- a/openstack_dashboard/enabled/_3010_identity_domains_panel.py +++ b/openstack_dashboard/enabled/_3010_identity_domains_panel.py @@ -1,3 +1,15 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + # The slug of the panel to be added to HORIZON_CONFIG. Required. PANEL = 'domains' # The slug of the dashboard the PANEL associated with. Required. @@ -7,3 +19,10 @@ PANEL_GROUP = 'default' # Python panel class of the PANEL to be added. ADD_PANEL = 'openstack_dashboard.dashboards.identity.domains.panel.Domains' + +# The details view to be belonged to the PANEL_DASHBOARD and PANEL. +# If the details view uses ngdetails, this setting is needed to refresh the +# details view. +ADD_DETAIL_PAGES = { + 'OS::Keystone::Domain': (PANEL_DASHBOARD, PANEL) +} diff --git a/openstack_dashboard/enabled/_3030_identity_users_panel.py b/openstack_dashboard/enabled/_3030_identity_users_panel.py index 52b45330d..be59ef35a 100644 --- a/openstack_dashboard/enabled/_3030_identity_users_panel.py +++ b/openstack_dashboard/enabled/_3030_identity_users_panel.py @@ -1,3 +1,15 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + # The slug of the panel to be added to HORIZON_CONFIG. Required. PANEL = 'users' # The slug of the dashboard the PANEL associated with. Required. @@ -7,3 +19,10 @@ PANEL_GROUP = 'default' # Python panel class of the PANEL to be added. ADD_PANEL = 'openstack_dashboard.dashboards.identity.users.panel.Users' + +# The details view to be belonged to the PANEL_DASHBOARD and PANEL. +# If the details view uses ngdetails, this setting is needed to refresh the +# details view. +ADD_DETAIL_PAGES = { + 'OS::Keystone::User': (PANEL_DASHBOARD, PANEL) +} |
