From 2925ef68b0c0a8f199175b79633600a703ff5341 Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Mon, 24 Jun 2024 00:35:57 +0200 Subject: [PATCH] rename 'Leder' to 'Ingress' --- dnscms/associations/models.py | 2 +- dnscms/generic/models.py | 2 +- dnscms/news/models.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dnscms/associations/models.py b/dnscms/associations/models.py index 8179d30..6323197 100644 --- a/dnscms/associations/models.py +++ b/dnscms/associations/models.py @@ -23,7 +23,7 @@ class AssociationIndex(Page): body = CommonStreamField content_panels = Page.content_panels + [ - FieldPanel("lead", heading="Leder"), + FieldPanel("lead", heading="Ingress"), FieldPanel("body", heading="Innhold"), ] diff --git a/dnscms/generic/models.py b/dnscms/generic/models.py index 03b0866..443b31f 100644 --- a/dnscms/generic/models.py +++ b/dnscms/generic/models.py @@ -15,7 +15,7 @@ class GenericPage(Page): body = StreamField(BASE_BLOCKS + [("page_section", PageSectionBlock(label="Seksjon"))]) content_panels = Page.content_panels + [ - FieldPanel("lead", heading="Leder"), + FieldPanel("lead", heading="Ingress"), FieldPanel("body", heading="Innhold"), ] diff --git a/dnscms/news/models.py b/dnscms/news/models.py index 7a8ffde..0039546 100644 --- a/dnscms/news/models.py +++ b/dnscms/news/models.py @@ -16,7 +16,7 @@ class NewsIndex(Page): lead = RichTextField(features=["bold", "italic", "link"], blank=True) content_panels = Page.content_panels + [ - FieldPanel("lead", heading="Leder"), + FieldPanel("lead", heading="Ingress"), ] graphql_fields = [