From 01cd8bea050cd42eb6f89e3fa6a5e78510aa5976 Mon Sep 17 00:00:00 2001 From: SDE Date: Sat, 9 Dec 2023 21:49:13 +0300 Subject: [PATCH] 0.3.8 fix title page indents --- GeneralApp/admin.py | 3 +- .../pages/content/c_section_content.html | 33 ++++++++++--------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/GeneralApp/admin.py b/GeneralApp/admin.py index 44efd60..057d7e0 100644 --- a/GeneralApp/admin.py +++ b/GeneralApp/admin.py @@ -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'] diff --git a/templates/pages/content/c_section_content.html b/templates/pages/content/c_section_content.html index b1b8398..918c42b 100644 --- a/templates/pages/content/c_section_content.html +++ b/templates/pages/content/c_section_content.html @@ -2,22 +2,25 @@ {% include 'blocks/dynamic/b_sections_buttons.html' %} -
-
- {% if page.description or page.title or page.text %} - - {% if page.description %} -
{{ page.description }}
- {% endif %} - {% if page.title %} -
{{ page.title }}
- {% endif %} - {% if page.text %} -
{{ page.text|safe }}
- {% endif %} - {% endif %} +{% if page.description or page.title or page.text %} +
+
+
+ + {% if page.description %} +
{{ page.description }}
+ {% endif %} + {% if page.title %} +
{{ page.title }}
+ {% endif %} + {% if page.text %} +
{{ page.text|safe }}
+ {% endif %} + +
+
-
+{% endif %} {% if page.page_scheme == 'projecting' %} {% include "pages/page_schemes/ps_projecting.html" %}