Skip to content

Commit

Permalink
refactor: reorder Container type options (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Nov 14, 2024
1 parent 1aa1cd4 commit 1684395
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions taccsite_cms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)')
Expand All @@ -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)')
Expand All @@ -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')
Expand All @@ -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
Expand Down

0 comments on commit 1684395

Please sign in to comment.