0.3.8 fix title page indents

This commit is contained in:
SDE
2023-12-09 21:49:13 +03:00
parent 730853a3de
commit 01cd8bea05
2 changed files with 20 additions and 16 deletions

View File

@@ -279,8 +279,9 @@ class Admin_Office(Admin_Trans_BaseModelViewPage):
'modifiedDT', 'createDT'
]
list_editable = [
'work_time_from', 'work_time_to',
# 'work_time_from', 'work_time_to',
# 'main_office',
'enable',
'order'
]
list_display_links = ['id', 'city', 'address']

View File

@@ -2,22 +2,25 @@
{% include 'blocks/dynamic/b_sections_buttons.html' %}
<div class="cut-width">
<div style="padding-top: 40px;">
{% if page.description or page.title or page.text %}
{% if page.description %}
<div class="description_page standart_txt">{{ page.description }}</div>
{% endif %}
{% if page.title %}
<div class="title_page standart_txt">{{ page.title }}</div>
{% endif %}
{% if page.text %}
<div class="title_page standart_txt">{{ page.text|safe }}</div>
{% endif %}
{% endif %}
{% if page.description or page.title or page.text %}
<div {% include "block_settings/blocks_settings.html" %}>
<div class="cut-width">
<div>
{% if page.description %}
<div class="description_page standart_txt">{{ page.description }}</div>
{% endif %}
{% if page.title %}
<div class="title_page standart_txt">{{ page.title }}</div>
{% endif %}
{% if page.text %}
<div class="title_page standart_txt">{{ page.text|safe }}</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{% if page.page_scheme == 'projecting' %}
{% include "pages/page_schemes/ps_projecting.html" %}