Commit 938eed1e authored by Robert Schilling's avatar Robert Schilling

Consistency: Capitalize hex values of sugested colors

parent 27cf081e
...@@ -14,13 +14,13 @@ module LabelsHelper ...@@ -14,13 +14,13 @@ module LabelsHelper
def suggested_colors def suggested_colors
[ [
'#d9534f', '#D9534F',
'#f0ad4e', '#F0AD4E',
'#428bca', '#428BCA',
'#5cb85c', '#5CB85C',
'#34495e', '#34495E',
'#7f8c8d', '#7F8C8D',
'#8e44ad', '#8E44AD',
'#FFECDB' '#FFECDB'
] ]
end end
......
class Label < ActiveRecord::Base class Label < ActiveRecord::Base
DEFAULT_COLOR = '#428bca' DEFAULT_COLOR = '#428BCA'
belongs_to :project belongs_to :project
has_many :label_links, dependent: :destroy has_many :label_links, dependent: :destroy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment