Skip to content
Snippets Groups Projects
Commit 6e29d558 authored by OndraRehounek's avatar OndraRehounek Committed by jan.bednarik
Browse files

district: Minor mig

parent 7cfadfd4
Branches
No related tags found
2 merge requests!576Release,!570district: People children pages ordering & program points admin UX
Pipeline #9068 passed
......@@ -971,6 +971,9 @@ class DistrictElectionCampaignPage(DistrictElectionBasePage):
### PANELS
content_panels = Page.content_panels + [
HelpPanel(
"<strong>TIP: </strong>Body programu a stránku povolební strategie přidávejte jako podstránky této stránky"
),
FieldPanel("candidates"),
MultiFieldPanel(
[
......@@ -997,6 +1000,10 @@ class DistrictElectionCampaignPage(DistrictElectionBasePage):
### RELATIONS
parent_page_types = ["district.DistrictElectionRootPage"]
subpage_types = [
"district.DistrictElectionProgramPage",
"district.DistrictPostElectionStrategyPage",
]
class Meta:
verbose_name = "Kandidatura"
......@@ -1152,7 +1159,7 @@ class DistrictProgramPage(
### OTHERS
class Meta:
verbose_name = "Program"
verbose_name = "Plnění programu"
def save(self, **kwargs):
from redmine_utils.functions import fill_data_from_redmine_for_page
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment