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
Kazuhiko Shiozaki
gitlab-ce
Commits
938eed1e
Commit
938eed1e
authored
Aug 15, 2014
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consistency: Capitalize hex values of sugested colors
parent
27cf081e
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 @
938eed1e
...
...
@@ -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 @
938eed1e
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