Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Chronos
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Chronos
Commits
b77b04a6
Verified
Commit
b77b04a6
authored
5 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Use black as default color for foreground
parent
8cff5468
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!39
Resolve "Models for advanced features from SchoolApps (imported from Untis)"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/chronos/migrations/0007_advanced_models_from_untis.py
+1
-1
1 addition, 1 deletion
...pps/chronos/migrations/0007_advanced_models_from_untis.py
aleksis/apps/chronos/models.py
+1
-1
1 addition, 1 deletion
aleksis/apps/chronos/models.py
with
2 additions
and
2 deletions
aleksis/apps/chronos/migrations/0007_advanced_models_from_untis.py
+
1
−
1
View file @
b77b04a6
...
...
@@ -91,7 +91,7 @@ class Migration(migrations.Migration):
(
'
extended_data
'
,
django
.
contrib
.
postgres
.
fields
.
jsonb
.
JSONField
(
default
=
dict
,
editable
=
False
)),
(
'
short_name
'
,
models
.
CharField
(
max_length
=
10
,
verbose_name
=
'
Short name
'
)),
(
'
name
'
,
models
.
CharField
(
max_length
=
50
,
verbose_name
=
'
Long name
'
)),
(
'
colour_fg
'
,
colorfield
.
fields
.
ColorField
(
default
=
'
#
FFFFFF
'
,
max_length
=
18
)),
(
'
colour_fg
'
,
colorfield
.
fields
.
ColorField
(
default
=
'
#
000000
'
,
max_length
=
18
)),
(
'
colour_bg
'
,
colorfield
.
fields
.
ColorField
(
default
=
'
#FFFFFF
'
,
max_length
=
18
)),
],
options
=
{
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/chronos/models.py
+
1
−
1
View file @
b77b04a6
...
...
@@ -644,7 +644,7 @@ class Holiday(ExtensibleModel):
class
SupervisionArea
(
ExtensibleModel
):
short_name
=
models
.
CharField
(
verbose_name
=
_
(
"
Short name
"
),
max_length
=
10
)
name
=
models
.
CharField
(
verbose_name
=
_
(
"
Long name
"
),
max_length
=
50
)
colour_fg
=
ColorField
()
colour_fg
=
ColorField
(
default
=
"
#000000
"
)
colour_bg
=
ColorField
()
class
Meta
:
...
...
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