summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-03 14:49:50 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-03 14:49:50 +0300
commit55ab7a2a958c99332f71d8b0e94ccae2b5b54c13 (patch)
tree833029a69306c9fb1666940cd6b3c0cd2d206b4c /app/helpers
parent95d61a094d4d69fc332b40923ba08bbb57776f39 (diff)
downloadgitlab-ce-55ab7a2a958c99332f71d8b0e94ccae2b5b54c13.tar.gz
Remove color-named css classes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/notifications_helper.rb8
-rw-r--r--app/helpers/visibility_level_helper.rb6
2 files changed, 7 insertions, 7 deletions
diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb
index b2399bb6db1..6c43f97446b 100644
--- a/app/helpers/notifications_helper.rb
+++ b/app/helpers/notifications_helper.rb
@@ -1,13 +1,13 @@
module NotificationsHelper
def notification_icon(notification)
if notification.disabled?
- content_tag :i, nil, class: 'icon-volume-off cred'
+ content_tag :i, nil, class: 'icon-volume-off ns-mute'
elsif notification.participating?
- content_tag :i, nil, class: 'icon-volume-down cblue'
+ content_tag :i, nil, class: 'icon-volume-down ns-part'
elsif notification.watch?
- content_tag :i, nil, class: 'icon-volume-up cgreen'
+ content_tag :i, nil, class: 'icon-volume-up ns-watch'
else
- content_tag :i, nil, class: 'icon-circle-blank cblue'
+ content_tag :i, nil, class: 'icon-circle-blank ns-default'
end
end
end
diff --git a/app/helpers/visibility_level_helper.rb b/app/helpers/visibility_level_helper.rb
index 81e10f3685c..8b83b8ff640 100644
--- a/app/helpers/visibility_level_helper.rb
+++ b/app/helpers/visibility_level_helper.rb
@@ -2,11 +2,11 @@ module VisibilityLevelHelper
def visibility_level_color(level)
case level
when Gitlab::VisibilityLevel::PRIVATE
- 'cgreen'
+ 'vs-private'
when Gitlab::VisibilityLevel::INTERNAL
- 'camber'
+ 'vs-internal'
when Gitlab::VisibilityLevel::PUBLIC
- 'cblue'
+ 'vs-public'
end
end