Renaming Defaults tab
Renaming the "Defaults" tab to "Default Quotas" for clarity, as it better reflects that the tab contains all types of quota settings. Change-Id: Ie42b279723cfe0f7697c9a4a86a8cb9854dedef8
This commit is contained in:
@@ -87,7 +87,7 @@ View default project quotas
|
|||||||
from the drop-down list.
|
from the drop-down list.
|
||||||
|
|
||||||
#. On the :guilabel:`Admin` tab, open the :guilabel:`System` tab
|
#. On the :guilabel:`Admin` tab, open the :guilabel:`System` tab
|
||||||
and click the :guilabel:`Defaults` category.
|
and click the :guilabel:`Default Quotas` category.
|
||||||
|
|
||||||
#. The default quota values are displayed.
|
#. The default quota values are displayed.
|
||||||
|
|
||||||
@@ -105,7 +105,7 @@ Update project quotas
|
|||||||
from the drop-down list.
|
from the drop-down list.
|
||||||
|
|
||||||
#. On the :guilabel:`Admin` tab, open the :guilabel:`System` tab
|
#. On the :guilabel:`Admin` tab, open the :guilabel:`System` tab
|
||||||
and click the :guilabel:`Defaults` category.
|
and click the :guilabel:`Default Quotas` category.
|
||||||
|
|
||||||
#. Click the :guilabel:`Update Defaults` button.
|
#. Click the :guilabel:`Update Defaults` button.
|
||||||
|
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ Network tab
|
|||||||
System tab
|
System tab
|
||||||
----------
|
----------
|
||||||
|
|
||||||
* :guilabel:`Defaults`: View default quota values. Quotas are hard-coded in
|
* :guilabel:`Default Quotas`: View default quota values. Quotas are hard-coded in
|
||||||
OpenStack Compute and define the maximum allowable size and number of
|
OpenStack Compute and define the maximum allowable size and number of
|
||||||
resources.
|
resources.
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import horizon
|
|||||||
|
|
||||||
|
|
||||||
class Defaults(horizon.Panel):
|
class Defaults(horizon.Panel):
|
||||||
name = _("Defaults")
|
name = _("Default Quotas")
|
||||||
slug = 'defaults'
|
slug = 'defaults'
|
||||||
policy_rules = (("compute", "context_is_admin"),
|
policy_rules = (("compute", "context_is_admin"),
|
||||||
("volume", "context_is_admin"),)
|
("volume", "context_is_admin"),)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% block title %}{% trans "Defaults" %}{% endblock %}
|
{% block title %}{% trans "Default Quotas" %}{% endblock %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ from openstack_dashboard.usage import quotas
|
|||||||
class IndexView(tabs.TabbedTableView):
|
class IndexView(tabs.TabbedTableView):
|
||||||
tab_group_class = project_tabs.DefaultsTabs
|
tab_group_class = project_tabs.DefaultsTabs
|
||||||
template_name = 'admin/defaults/index.html'
|
template_name = 'admin/defaults/index.html'
|
||||||
page_title = _("Defaults")
|
page_title = _("Default Quotas")
|
||||||
|
|
||||||
|
|
||||||
class UpdateDefaultQuotasView(workflows.WorkflowView):
|
class UpdateDefaultQuotasView(workflows.WorkflowView):
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ t_b_p_s = conf.theme.browse_left_panel_sec
|
|||||||
"Trunks - OpenStack Dashboard", "Trunks"),
|
"Trunks - OpenStack Dashboard", "Trunks"),
|
||||||
(t_b_p_m[30], t_b_p_s[30], "RBAC Policies",
|
(t_b_p_m[30], t_b_p_s[30], "RBAC Policies",
|
||||||
"RBAC Policies - OpenStack Dashboard", "RBAC Policies"),
|
"RBAC Policies - OpenStack Dashboard", "RBAC Policies"),
|
||||||
(t_b_p_m[31], t_b_p_s[31], "Defaults",
|
(t_b_p_m[31], t_b_p_s[31], "Default Quotas",
|
||||||
"Defaults - OpenStack Dashboard", "Defaults"),
|
"Default Quotas - OpenStack Dashboard", "Default Quotas"),
|
||||||
(t_b_p_m[32], t_b_p_s[32], "Metadata Definitions",
|
(t_b_p_m[32], t_b_p_s[32], "Metadata Definitions",
|
||||||
"Metadata Definitions - OpenStack Dashboard",
|
"Metadata Definitions - OpenStack Dashboard",
|
||||||
"Metadata Definitions"),
|
"Metadata Definitions"),
|
||||||
|
|||||||
Reference in New Issue
Block a user