Просмотр исходного кода

Fixed title for update view

master
David Winterbottom 14 лет назад
Родитель
Сommit
953acefa9d
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      oscar/apps/dashboard/promotions/views.py

+ 1
- 1
oscar/apps/dashboard/promotions/views.py Просмотреть файл

@@ -154,7 +154,7 @@ class UpdateView(PromotionMixin, generic.UpdateView):
154 154
 
155 155
     def get_context_data(self, *args, **kwargs):
156 156
         ctx = super(UpdateView, self).get_context_data(*args, **kwargs)
157
-        ctx['heading'] = "Update raw HTML block"
157
+        ctx['heading'] = "Update content block"
158 158
         ctx['promotion'] = self.get_object()
159 159
         ctx['link_form'] = self.link_form_class()
160 160
         content_type = ContentType.objects.get_for_model(self.model)

Загрузка…
Отмена
Сохранить