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:
Sam Betts 2015-02-10 13:06:03 +00:00
parent 1934a7eaa8
commit b58f14d5e1
2 changed files with 1 additions and 4 deletions

View File

@ -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">

View File

@ -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):