소스 검색

Fixed title for update view

master
David Winterbottom 14 년 전
부모
커밋
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)

Loading…
취소
저장