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
This commit is contained in:
shu-mutou 2015-11-11 13:29:52 +09:00
parent 78f7f010d2
commit 02fc82e2c5
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -118,7 +118,7 @@ class UpdateView(forms.ModalFormView):
class DetailView(tabs.TabView):
tab_group_class = project_tabs.ImageDetailTabs
template_name = 'horizon/common/_detail.html'
page_title = _("{{ image.name }}")
page_title = "{{ image.name }}"
def get_context_data(self, **kwargs):
context = super(DetailView, self).get_context_data(**kwargs)