From 168439545a503158ca55ba795361d4071fee5646 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Wed, 13 Nov 2024 19:42:35 -0600 Subject: [PATCH] refactor: reorder Container type options (#898) --- taccsite_cms/settings.py | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/taccsite_cms/settings.py b/taccsite_cms/settings.py index 48a2c06aa..af5eb49c4 100644 --- a/taccsite_cms/settings.py +++ b/taccsite_cms/settings.py @@ -611,8 +611,11 @@ def get_subdirs_as_module_names(path): # SEE: https://github.com/django-cms/djangocms-bootstrap4 DJANGOCMS_BOOTSTRAP4_GRID_CONTAINERS = [ + ('container', _('Container')), + ('container-fluid', _('Fluid container')), + ('o-section', _('Section')), + ('_', _('None')), (_('Container'), ( - ('container', _('Container')), # default ( 'container o-section', _('Container + Section (transparent / margin)') @@ -631,7 +634,6 @@ def get_subdirs_as_module_names(path): ), )), (_('Fluid container'), ( - ('container-fluid', _('Fluid container')), # default ( 'container-fluid o-section', _('Fluid container + Section (transparent / margin)') @@ -650,10 +652,6 @@ def get_subdirs_as_module_names(path): ), )), (_('Section only'), ( - ( - 'o-section', - _('Section (transparent / margin)') - ), ( 'o-section o-section--style-light', _('Light section') @@ -667,12 +665,6 @@ def get_subdirs_as_module_names(path): _('Dark section') ), )), - (_('Empty'), ( - ( - '_', - _('No container, No section') - ), - )), ] # https://github.com/django-cms/djangocms-style