Skip to content
Snippets Groups Projects
Commit ecf3df14 authored by jarmil's avatar jarmil
Browse files

Merged with test (opravene pre-commit-hooks, znova aplikovan isort)

parents 6ce96afb e321c864
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,9 @@ class Migration(migrations.Migration):
),
),
],
options={"verbose_name": "Univerzální web",},
options={
"verbose_name": "Univerzální web",
},
bases=(
wagtailmetadata.models.MetadataMixin,
"wagtailcore.page",
......@@ -247,7 +249,9 @@ class Migration(migrations.Migration):
),
),
],
options={"verbose_name": "Flexibilní stránka",},
options={
"verbose_name": "Flexibilní stránka",
},
bases=(
"wagtailcore.page",
uniweb.models.SubpageMixin,
......
......@@ -88,7 +88,10 @@ class UniwebHomePage(MetadataPageMixin, Page):
),
(
"table",
TableBlock(label="tabulka", template="uniweb/snippet_table.html",),
TableBlock(
label="tabulka",
template="uniweb/snippet_table.html",
),
),
("jupyter", DocumentChooserBlock(label="Jupyter notebook")),
],
......@@ -100,7 +103,9 @@ class UniwebHomePage(MetadataPageMixin, Page):
"Matomo ID pro sledování návštěvnosti", blank=True, null=True
)
top_menu = StreamField(
[("item", MenuItemBlock())], verbose_name="horní menu", blank=True,
[("item", MenuItemBlock())],
verbose_name="horní menu",
blank=True,
)
### PANELS
......@@ -158,7 +163,10 @@ class UniwebFlexiblePage(Page, SubpageMixin, MetadataPageMixin):
),
(
"table",
TableBlock(label="tabulka", template="uniweb/snippet_table.html",),
TableBlock(
label="tabulka",
template="uniweb/snippet_table.html",
),
),
("jupyter", DocumentChooserBlock(label="Jupyter notebook")),
],
......
......@@ -12,8 +12,8 @@ register = template.Library()
@register.filter
def jupyterize(value):
""" Exportuje jupyterovsky notebook do raw HTML s vyuzitim vlastnich templates.
Vynechava tagy
"""Exportuje jupyterovsky notebook do raw HTML s vyuzitim vlastnich templates.
Vynechava tagy
"""
# lokalni soubor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment