Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Site Interludes
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
mediatek
Site Interludes
Commits
ece90a1c
Commit
ece90a1c
authored
3 years ago
by
Dorian Lesbre
Browse files
Options
Downloads
Patches
Plain Diff
Removed setting field "planning_caption"
parent
0fb13bf4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site_settings/migrations/0005_remove_sitesettings_planning_caption.py
+17
-0
17 additions, 0 deletions
...s/migrations/0005_remove_sitesettings_planning_caption.py
site_settings/models.py
+0
-5
0 additions, 5 deletions
site_settings/models.py
with
17 additions
and
5 deletions
site_settings/migrations/0005_remove_sitesettings_planning_caption.py
0 → 100644
+
17
−
0
View file @
ece90a1c
# Generated by Django 3.0.8 on 2021-04-25 14:43
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'
site_settings
'
,
'
0004_sitesettings_planning_caption
'
),
]
operations
=
[
migrations
.
RemoveField
(
model_name
=
'
sitesettings
'
,
name
=
'
planning_caption
'
,
),
]
This diff is collapsed.
Click to expand it.
site_settings/models.py
+
0
−
5
View file @
ece90a1c
...
...
@@ -88,11 +88,6 @@ class SiteSettings(SingletonModel):
help_text
=
"
Assurez vous que le message est bien formaté, cela peut casser toutes les pages du site
"
,
)
planning_caption
=
models
.
TextField
(
"
Légende du planning
"
,
blank
=
True
,
null
=
True
,
help_text
=
"
Légende du planning (au format HTML). Les couleurs sont accessibles dans le style
"
"
via var(--color_1), var(--color_1_fg) et var(--color_1_hover)
"
)
@property
def
contact_email_reversed
(
self
)
->
str
:
return
self
.
contact_email
[::
-
1
]
...
...
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