Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
6e29d558
Commit
6e29d558
authored
2 years ago
by
OndraRehounek
Committed by
jan.bednarik
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
district: Minor mig
parent
7cfadfd4
Branches
Branches containing commit
No related tags found
2 merge requests
!576
Release
,
!570
district: People children pages ordering & program points admin UX
Pipeline
#9068
passed
2 years ago
Stage: build
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
district/models.py
+8
-1
8 additions, 1 deletion
district/models.py
with
8 additions
and
1 deletion
district/models.py
+
8
−
1
View file @
6e29d558
...
...
@@ -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
=
"
P
lnění p
rogram
u
"
def
save
(
self
,
**
kwargs
):
from
redmine_utils.functions
import
fill_data_from_redmine_for_page
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment