Merge "Renaming Defaults tab"

This commit is contained in:
Zuul 2025-05-06 13:46:28 +00:00 committed by Gerrit Code Review
commit 0cea967b0d
6 changed files with 8 additions and 8 deletions

View File

@ -87,7 +87,7 @@ View default project quotas
from the drop-down list.
#. 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.
@ -105,7 +105,7 @@ Update project quotas
from the drop-down list.
#. 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.

View File

@ -185,7 +185,7 @@ Network 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
resources.

View File

@ -19,7 +19,7 @@ import horizon
class Defaults(horizon.Panel):
name = _("Defaults")
name = _("Default Quotas")
slug = 'defaults'
policy_rules = (("compute", "context_is_admin"),
("volume", "context_is_admin"),)

View File

@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "Defaults" %}{% endblock %}
{% block title %}{% trans "Default Quotas" %}{% endblock %}
{% block main %}
<div class="row">

View File

@ -26,7 +26,7 @@ from openstack_dashboard.usage import quotas
class IndexView(tabs.TabbedTableView):
tab_group_class = project_tabs.DefaultsTabs
template_name = 'admin/defaults/index.html'
page_title = _("Defaults")
page_title = _("Default Quotas")
class UpdateDefaultQuotasView(workflows.WorkflowView):

View File

@ -93,8 +93,8 @@ t_b_p_s = conf.theme.browse_left_panel_sec
"Trunks - OpenStack Dashboard", "Trunks"),
(t_b_p_m[30], t_b_p_s[30], "RBAC Policies",
"RBAC Policies - OpenStack Dashboard", "RBAC Policies"),
(t_b_p_m[31], t_b_p_s[31], "Defaults",
"Defaults - OpenStack Dashboard", "Defaults"),
(t_b_p_m[31], t_b_p_s[31], "Default Quotas",
"Default Quotas - OpenStack Dashboard", "Default Quotas"),
(t_b_p_m[32], t_b_p_s[32], "Metadata Definitions",
"Metadata Definitions - OpenStack Dashboard",
"Metadata Definitions"),