From e726fc036d370e51017139f055dc3284e6ba165d Mon Sep 17 00:00:00 2001 From: shu-mutou Date: Wed, 11 Nov 2015 13:29:52 +0900 Subject: [PATCH] Remove unnecessary ugettext_lazy This patch remove unnecessary ugettext_lazy procedure against database instance name and image name for page title in its detail view. Change-Id: I4f9a2b9ca7d43cf6fdf6ae02f50ad2f9c625d602 Closes-Bug: #1515100 --- openstack_dashboard/contrib/trove/content/databases/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/contrib/trove/content/databases/views.py b/openstack_dashboard/contrib/trove/content/databases/views.py index 7aa20a1..02fdbbf 100644 --- a/openstack_dashboard/contrib/trove/content/databases/views.py +++ b/openstack_dashboard/contrib/trove/content/databases/views.py @@ -101,7 +101,7 @@ class LaunchInstanceView(horizon_workflows.WorkflowView): class DetailView(horizon_tabs.TabbedTableView): tab_group_class = tabs.InstanceDetailTabs template_name = 'horizon/common/_detail.html' - page_title = _("{{ instance.name }}") + page_title = "{{ instance.name }}" def get_context_data(self, **kwargs): context = super(DetailView, self).get_context_data(**kwargs)