diff --git a/GeneralApp/models.py b/GeneralApp/models.py index 362b6f1..beb1957 100644 --- a/GeneralApp/models.py +++ b/GeneralApp/models.py @@ -18,8 +18,9 @@ class StaticPage(BaseModelViewPage): block_type_choices = ( - ('photo_n_text', _('Фото + текст')), - ('photo150_n_title', _('Фото 150x150 + заголовок')), + ('photo_n_text', _('Фото с одной стороны + Текст с другой стороны')), + ('present_technology_block', _('описание и НАЗВАНИЕ слева + Картинка справа')), + ('photo150_n_title', _('Фото 150x150 сверху + заголовок под фото')), ('how_work', _('Как с нами работать')), ('how_dev', _('Как ведется разработка')), ('feedback_form', _('Форма обратной связи')), diff --git a/ServicesApp/js_views.py b/ServicesApp/js_views.py index 94cd665..d7caecd 100644 --- a/ServicesApp/js_views.py +++ b/ServicesApp/js_views.py @@ -59,7 +59,7 @@ def get_content_for_section_ajax(request): } - html = render_to_string('pages/content/c_projectiing_section.html', Dict, request=request) + html = render_to_string('pages/content/c_blocks_constructor.html', Dict, request=request) res_Dict = { 'html': html, diff --git a/templates/blocks/b_present_technology.html b/templates/blocks/b_present_technology.html new file mode 100644 index 0000000..566549b --- /dev/null +++ b/templates/blocks/b_present_technology.html @@ -0,0 +1,10 @@ + + +
+ +