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
e629c45d
Commit
e629c45d
authored
Feb 12, 2015
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
parents
d899bc91
cab72628
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
app/helpers/labels_helper.rb
app/helpers/labels_helper.rb
+16
-3
app/views/projects/labels/_form.html.haml
app/views/projects/labels/_form.html.haml
+1
-1
No files found.
app/helpers/labels_helper.rb
View file @
e629c45d
...
...
@@ -14,14 +14,27 @@ module LabelsHelper
def
suggested_colors
[
'#D9534F'
,
'#F0AD4E'
,
'#0033CC'
,
'#428BCA'
,
'#44AD8E'
,
'#A8D695'
,
'#5CB85C'
,
'#69D100'
,
'#004E00'
,
'#34495E'
,
'#7F8C8D'
,
'#A295D6'
,
'#5843AD'
,
'#8E44AD'
,
'#FFECDB'
'#FFECDB'
,
'#AD4363'
,
'#D10069'
,
'#CC0033'
,
'#FF0000'
,
'#D9534F'
,
'#D1D100'
,
'#F0AD4E'
,
'#AD8D43'
]
end
...
...
app/views/projects/labels/_form.html.haml
View file @
e629c45d
...
...
@@ -16,7 +16,7 @@
.col-sm-10
.input-group
.input-group-addon.label-color-preview
=
f
.
text
_field
:color
,
placeholder:
"#AA33EE"
,
class:
"form-control"
=
f
.
color
_field
:color
,
placeholder:
"#AA33EE"
,
class:
"form-control"
.help-block
6 character hex values starting with a # sign.
%br
...
...
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