|
@@ -16,7 +16,7 @@ class ServiceTypeCreate(UserPassesTestMixin, CreateView):
|
|
def get_context_data(self, **kwargs):
|
|
def get_context_data(self, **kwargs):
|
|
context = super().get_context_data(**kwargs)
|
|
context = super().get_context_data(**kwargs)
|
|
context.update(get_context(self.request, {
|
|
context.update(get_context(self.request, {
|
|
- 'title': _('Service services'),
|
|
|
|
|
|
+ 'title': _('Услуги сервиса'),
|
|
'object': self.object,
|
|
'object': self.object,
|
|
}))
|
|
}))
|
|
return context
|
|
return context
|
|
@@ -39,7 +39,7 @@ class ServiceTypeListView(UserPassesTestMixin, SingleTableView):
|
|
def get_context_data(self, **kwargs):
|
|
def get_context_data(self, **kwargs):
|
|
context = super().get_context_data(**kwargs)
|
|
context = super().get_context_data(**kwargs)
|
|
context.update(get_context(self.request, {
|
|
context.update(get_context(self.request, {
|
|
- 'title': 'Service services',
|
|
|
|
|
|
+ 'title': 'Услуги сервиса',
|
|
'object_list': context['object_list'],
|
|
'object_list': context['object_list'],
|
|
}))
|
|
}))
|
|
return context
|
|
return context
|
|
@@ -58,7 +58,7 @@ class ServiceTypeUpdateView(UserPassesTestMixin, UpdateView):
|
|
def get_context_data(self, **kwargs):
|
|
def get_context_data(self, **kwargs):
|
|
context = super().get_context_data(**kwargs)
|
|
context = super().get_context_data(**kwargs)
|
|
context.update(get_context(self.request, {
|
|
context.update(get_context(self.request, {
|
|
- 'title': 'Service services',
|
|
|
|
|
|
+ 'title': 'Услуги сервиса',
|
|
'object_list': context['object_list'],
|
|
'object_list': context['object_list'],
|
|
}))
|
|
}))
|
|
return context
|
|
return context
|
|
@@ -77,7 +77,7 @@ class ServiceTypeDelete(UserPassesTestMixin, DeleteView):
|
|
def get_context_data(self, **kwargs):
|
|
def get_context_data(self, **kwargs):
|
|
context = super().get_context_data(**kwargs)
|
|
context = super().get_context_data(**kwargs)
|
|
context.update(get_context(self.request, {
|
|
context.update(get_context(self.request, {
|
|
- 'title': 'Service services',
|
|
|
|
|
|
+ 'title': 'Услуги сервиса',
|
|
'object': self.object,
|
|
'object': self.object,
|
|
}))
|
|
}))
|
|
return context
|
|
return context
|