Reduce page title duplication in Admin Defaults
Patch https://review.openstack.org/#/c/142802/15 adds a method of reducing duplication of page title logic, this patch applies that change to the admin defaults view. Change-Id: I7d3523018de6f5a73b583790eecdb386d16e69de Partial-Bug: 1413749
This commit is contained in:
parent
1934a7eaa8
commit
b58f14d5e1
@ -2,10 +2,6 @@
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "Defaults" %}{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
{% include "horizon/common/_page_header.html" with title=_("Defaults")%}
|
||||
{% endblock page_header %}
|
||||
|
||||
{% block main %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
|
@ -26,6 +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")
|
||||
|
||||
|
||||
class UpdateDefaultQuotasView(workflows.WorkflowView):
|
||||
|
Loading…
Reference in New Issue
Block a user