Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nouveau bloc "Liste des sous-pages" #148

Merged
merged 3 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12,720 changes: 12,720 additions & 0 deletions blog/migrations/0016_alter_blogentrypage_body_alter_blogindexpage_body.py

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions content_manager/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,15 @@ class Meta:
("separator", SeparatorBlock(label=_("Separator"), group=_("Page structure"))),
("multicolumns", MultiColumnsWithTitleBlock(label=_("Multiple columns"), group=_("Page structure"))),
("fullwidthbackground", FullWidthBackgroundBlock(label=_("Full width background"), group=_("Page structure"))),
(
"subpageslist",
blocks.StaticBlock(
label=_("Subpages list"),
admin_text=_("A simple, alphabetical list of the subpages of the current page."),
template="content_manager/blocks/subpages_list.html",
group=_("Website structure"),
),
),
]

# See warning on https://docs.wagtail.org/en/latest/reference/streamfield/blocks.html#wagtail.blocks.RawHTMLBlock
Expand Down
Binary file modified content_manager/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Loading
Loading