Fix incorrect window title in admin snapshots and volume types

They all missing the correct title before "- OpenStack Dashboard"
since used the wrong variable.

Change-Id: Ic03ee11a4492ca2084078faef7dc1f0253b3b9eb
Closes-Bug: #1680840
This commit is contained in:
wei.ying 2017-04-07 21:12:16 +08:00
parent 8a8d3fb60e
commit b9cc9fd414
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ from openstack_dashboard.dashboards.project.snapshots \
class SnapshotsView(tables.DataTableView, tables.PagedTableMixin):
table_class = vol_snapshot_tables.VolumeSnapshotsTable
name = _("Volume Snapshots")
page_title = _("Volume Snapshots")
def get_data(self):
if cinder.is_volume_service_enabled(self.request):

View File

@ -38,7 +38,7 @@ from openstack_dashboard import policy
class VolumeTypesView(tables.MultiTableView, volumes_views.VolumeTableMixIn):
table_classes = (volume_types_tables.VolumeTypesTable,
volume_types_tables.QosSpecsTable)
name = _("Volume Types")
page_title = _("Volume Types")
template_name = "admin/volume_types/volume_types_tables.html"
def get_volume_types_data(self):