Merge "Remove unnecessary ugettext_lazy"

This commit is contained in:
Jenkins 2015-11-11 09:04:33 +00:00 committed by Gerrit Code Review
commit 57fb171204
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): class DetailView(horizon_tabs.TabbedTableView):
tab_group_class = tabs.InstanceDetailTabs tab_group_class = tabs.InstanceDetailTabs
template_name = 'horizon/common/_detail.html' template_name = 'horizon/common/_detail.html'
page_title = _("{{ instance.name }}") page_title = "{{ instance.name }}"
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context = super(DetailView, self).get_context_data(**kwargs) context = super(DetailView, self).get_context_data(**kwargs)

View File

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