Skip to content

Commit

Permalink
Feature/tp1 211 change cms snippets order (#12656)
Browse files Browse the repository at this point in the history
* Newsletter field put before header

* Newsletter model filed rearranged

* Linting correction from single to double quotes

---------

Co-authored-by: Diego <[email protected]>
  • Loading branch information
dlopezvsr and dlopezvsrstx authored Jul 29, 2024
1 parent f142bff commit 8e2299b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions network-api/networkapi/wagtailpages/pagemodels/campaigns.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ class CTABase(models.Model):
SynchronizedField("newsletter"),
]

panels = [
FieldPanel("name"),
FieldPanel("newsletter"),
FieldPanel("header"),
FieldPanel("description"),
FieldPanel("privacy_notice"),
]

search_fields = [
index.SearchField("name", boost=10),
index.SearchField("newsletter"),
Expand Down

0 comments on commit 8e2299b

Please sign in to comment.