From f55b2e5b24af4625e59ddb27bd70ceb9d659bfea Mon Sep 17 00:00:00 2001 From: Abishek Subramanian Date: Thu, 20 Aug 2015 13:07:40 -0400 Subject: [PATCH] Remove _40_router.py.example file The openstack_dashboard/local/enabled path uses the example for enabling/disabling the router dashboard. Given the "router" dashboard is no longer present in master, it makes sense to rename this example to an existing dashboard. Change-Id: Ib2fe47fea796adb50f99927a8c942a7838543c24 Closes-Bug: #1487140 --- doc/source/topics/settings.rst | 6 +++--- .../{_40_router.py.example => _50_settings.py.example} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename openstack_dashboard/local/enabled/{_40_router.py.example => _50_settings.py.example} (87%) diff --git a/doc/source/topics/settings.rst b/doc/source/topics/settings.rst index 0bc2a27dae..8f24225851 100755 --- a/doc/source/topics/settings.rst +++ b/doc/source/topics/settings.rst @@ -1395,11 +1395,11 @@ If set to ``True``, this dashboard will be set as the default dashboard. Examples -------- -To disable the Router dashboard locally, create a file -``openstack_dashboard/local/enabled/_40_router.py`` with the following +To disable a dashboard locally, create a file +``openstack_dashboard/local/enabled/_40_dashboard-name.py`` with the following content:: - DASHBOARD = 'router' + DASHBOARD = '' DISABLED = True To add a Tuskar-UI (Infrastructure) dashboard, you have to install it, and then diff --git a/openstack_dashboard/local/enabled/_40_router.py.example b/openstack_dashboard/local/enabled/_50_settings.py.example similarity index 87% rename from openstack_dashboard/local/enabled/_40_router.py.example rename to openstack_dashboard/local/enabled/_50_settings.py.example index 36a888dd3b..7721edf72a 100644 --- a/openstack_dashboard/local/enabled/_40_router.py.example +++ b/openstack_dashboard/local/enabled/_50_settings.py.example @@ -1,5 +1,5 @@ # The name of the dashboard to be added to HORIZON['dashboards']. Required. -DASHBOARD = 'router' +DASHBOARD = 'settings' # If set to True, this dashboard will not be added to the settings. DISABLED = False