From b8624947f2949539594cdd20d4ec9390c2e8c756 Mon Sep 17 00:00:00 2001 From: liyingjun Date: Thu, 19 May 2016 10:36:01 +0800 Subject: [PATCH] UX: Remove duplicated view title under Settings section Under Setttings -> User Settings OR -> Change Password There are two title elements with the same content and shown in the same area, remove one for better ux. Change-Id: I863363d8fc79f5144d8ead750ba48878a7fa251b Closes-bug: #1583319 --- openstack_dashboard/dashboards/settings/password/views.py | 1 - openstack_dashboard/dashboards/settings/user/views.py | 1 - 2 files changed, 2 deletions(-) diff --git a/openstack_dashboard/dashboards/settings/password/views.py b/openstack_dashboard/dashboards/settings/password/views.py index 2905371a32..aaacf6f8dc 100644 --- a/openstack_dashboard/dashboards/settings/password/views.py +++ b/openstack_dashboard/dashboards/settings/password/views.py @@ -24,7 +24,6 @@ from openstack_dashboard.dashboards.settings.password \ class PasswordView(forms.ModalFormView): form_class = pass_forms.PasswordForm form_id = "change_password_modal" - modal_header = _("Change Password") modal_id = "change_password_modal" page_title = _("Change Password") submit_label = _("Change") diff --git a/openstack_dashboard/dashboards/settings/user/views.py b/openstack_dashboard/dashboards/settings/user/views.py index f692d6e744..bf0086d76e 100644 --- a/openstack_dashboard/dashboards/settings/user/views.py +++ b/openstack_dashboard/dashboards/settings/user/views.py @@ -24,7 +24,6 @@ from openstack_dashboard.dashboards.settings.user import forms as user_forms class UserSettingsView(forms.ModalFormView): form_class = user_forms.UserSettingsForm form_id = "user_settings_modal" - modal_header = _("User Settings") modal_id = "user_settings_modal" page_title = _("User Settings") submit_label = _("Save")