Skip to content
Snippets Groups Projects
Commit 27402498 authored by jan.bednarik's avatar jan.bednarik
Browse files

senate: Help text improvements and favicon

parent b82cb625
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,8 @@ from wagtail.images.blocks import ImageChooserBlock ...@@ -13,6 +13,8 @@ from wagtail.images.blocks import ImageChooserBlock
from wagtail.images.edit_handlers import ImageChooserPanel from wagtail.images.edit_handlers import ImageChooserPanel
from wagtailmetadata.models import MetadataPageMixin from wagtailmetadata.models import MetadataPageMixin
from tuning import help
class PersonBlock(blocks.StructBlock): class PersonBlock(blocks.StructBlock):
name = blocks.CharBlock(label="jméno") name = blocks.CharBlock(label="jméno")
...@@ -47,13 +49,10 @@ class SenateHomePage(MetadataPageMixin, Page): ...@@ -47,13 +49,10 @@ class SenateHomePage(MetadataPageMixin, Page):
promote_panels = [ promote_panels = [
MultiFieldPanel( MultiFieldPanel(
[ [
HelpPanel(
"Název stránky na předchozím tabu slouží k rozlišení stránek "
"v Majáku. V prohlížeči a SEO metadatech se zobrazí tento titulek."
),
FieldPanel("seo_title"), FieldPanel("seo_title"),
FieldPanel("search_description"), FieldPanel("search_description"),
ImageChooserPanel("search_image"), ImageChooserPanel("search_image"),
HelpPanel(help.build(help.IMPORTANT_TITLE)),
], ],
gettext_lazy("Common page configuration"), gettext_lazy("Common page configuration"),
), ),
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0, shrink-to-fit=no">
{% meta_tags %} {% meta_tags %}
<!-- Favicon -->
{% include "shared/favicon_snippet.html" %}
<script src="https://kit.fontawesome.com/cbdc6198f3.js" crossorigin="anonymous"></script> <script src="https://kit.fontawesome.com/cbdc6198f3.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="{% static "shared/vendor/bootstrap-4.4.1/css/bootstrap.min.css" %}"> <link rel="stylesheet" href="{% static "shared/vendor/bootstrap-4.4.1/css/bootstrap.min.css" %}">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment