-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add section tabs option to page sidebar options (#1711)
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
etna/generic_pages/migrations/0033_alter_generalpage_page_sidebar.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by Django 5.0.8 on 2024-08-28 10:32 | ||
# etna:allowAlterField | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("generic_pages", "0032_generalpage_twitter_og_description_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="generalpage", | ||
name="page_sidebar", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("contents", "Contents"), | ||
("sections", "Sections"), | ||
("section_tabs", "Section tabs"), | ||
("pages", "Pages"), | ||
], | ||
help_text="Select the sidebar style for this page. For more information, see the <a href='https://nationalarchives.github.io/design-system/components/sidebar/'>sidebar documentation</a>.", | ||
null=True, | ||
), | ||
), | ||
] |