Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
97288920
Commit
97288920
authored
Aug 18, 2014
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7496 from Razer6/captalize_suggested_colors
Consistency: Capitalize hex values of sugested colors
parents
4142754c
938eed1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
app/helpers/labels_helper.rb
app/helpers/labels_helper.rb
+7
-7
app/models/label.rb
app/models/label.rb
+1
-1
No files found.
app/helpers/labels_helper.rb
View file @
97288920
...
...
@@ -14,13 +14,13 @@ module LabelsHelper
def
suggested_colors
[
'#
d9534f
'
,
'#
f0ad4e
'
,
'#428
bca
'
,
'#5
cb85c
'
,
'#34495
e
'
,
'#7
f8c8d
'
,
'#8
e44ad
'
,
'#
D9534F
'
,
'#
F0AD4E
'
,
'#428
BCA
'
,
'#5
CB85C
'
,
'#34495
E
'
,
'#7
F8C8D
'
,
'#8
E44AD
'
,
'#FFECDB'
]
end
...
...
app/models/label.rb
View file @
97288920
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