Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
0773838b7983
Commit
938eed1e
authored
Aug 15, 2014
by
Robert Schilling
Browse files
Consistency: Capitalize hex values of sugested colors
parent
f00c1274e798
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/helpers/labels_helper.rb
View file @
0773838b
...
...
@@ -14,13 +14,13 @@ def render_colored_label(label)
def
suggested_colors
[
'#
d
9534
f
'
,
'#
f0ad4e
'
,
'#428
bca
'
,
'#5
cb
85
c
'
,
'#34495
e
'
,
'#7
f8c8d
'
,
'#8
e
44
ad
'
,
'#
D
9534
F
'
,
'#
F0AD4E
'
,
'#428
BCA
'
,
'#5
CB
85
C
'
,
'#34495
E
'
,
'#7
F8C8D
'
,
'#8
E
44
AD
'
,
'#FFECDB'
]
end
...
...
app/models/label.rb
View file @
0773838b
class
Label
<
ActiveRecord
::
Base
DEFAULT_COLOR
=
'#428
bca
'
DEFAULT_COLOR
=
'#428
BCA
'
belongs_to
:project
has_many
:label_links
,
dependent: :destroy
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment