Merge "Remove unnecessary ugettext_lazy"
This commit is contained in:
commit
57fb171204
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user