diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-04-11 21:06:27 +0400 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-04-11 21:06:27 +0400 |
commit | 28f1a5d7d8e108b85ed36356c50c03e96558d9ea (patch) | |
tree | afafdad675319a199b9274412f4ae1baf076d0e4 /app/helpers | |
parent | 4881d4932edd1ba2a7297a37e3613dcb62bd0948 (diff) |
Determine label color based on lowercase name
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/labels_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/labels_helper.rb b/app/helpers/labels_helper.rb index d1eb3808f9e..4d20b827a0d 100644 --- a/app/helpers/labels_helper.rb +++ b/app/helpers/labels_helper.rb @@ -12,7 +12,7 @@ module LabelsHelper def label_css_class(name) klass = Gitlab::IssuesLabels - case name + case name.downcase when *klass.warning_labels 'label-warning' when *klass.neutral_labels |