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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
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
Hide 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
...
@@ -14,13 +14,13 @@ module LabelsHelper
def
suggested_colors
def
suggested_colors
[
[
'#
d9534f
'
,
'#
D9534F
'
,
'#
f0ad4e
'
,
'#
F0AD4E
'
,
'#428
bca
'
,
'#428
BCA
'
,
'#5
cb85c
'
,
'#5
CB85C
'
,
'#34495
e
'
,
'#34495
E
'
,
'#7
f8c8d
'
,
'#7
F8C8D
'
,
'#8
e44ad
'
,
'#8
E44AD
'
,
'#FFECDB'
'#FFECDB'
]
]
end
end
...
...
app/models/label.rb
View file @
97288920
class
Label
<
ActiveRecord
::
Base
class
Label
<
ActiveRecord
::
Base
DEFAULT_COLOR
=
'#428
bca
'
DEFAULT_COLOR
=
'#428
BCA
'
belongs_to
:project
belongs_to
:project
has_many
:label_links
,
dependent: :destroy
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