diff options
author | Patricio Cano <suprnova32@gmail.com> | 2015-09-14 18:40:47 -0500 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2015-09-14 18:40:47 -0500 |
commit | ab56718feb0e155ae889afe900a009594f8acfa1 (patch) | |
tree | 3f436e62364eda9aea30969d7ab2eb1b0f227b69 /app/helpers/notifications_helper.rb | |
parent | 84508c40b7a132b775717d2aeef313d4e370a2b9 (diff) | |
download | gitlab-ce-ab56718feb0e155ae889afe900a009594f8acfa1.tar.gz |
Fixed notification level list item helper.
Diffstat (limited to 'app/helpers/notifications_helper.rb')
-rw-r--r-- | app/helpers/notifications_helper.rb | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb index db6fe3b29ed..3cc59f9ca5b 100644 --- a/app/helpers/notifications_helper.rb +++ b/app/helpers/notifications_helper.rb @@ -17,27 +17,23 @@ module NotificationsHelper case notification_level when Notification::N_DISABLED content_tag(:li) do - icon('microphone-slash') do - 'Disabled' - end + icon('microphone-slash') + 'Disabled' end when Notification::N_PARTICIPATING content_tag(:li) do - icon('volume-up') do - 'Participating' - end + icon('volume-up') + 'Participating' end when Notification::N_WATCH content_tag(:li) do - icon('globe') do - 'Watch' - end + icon('globe') + 'Watch' end when Notification::N_MENTION content_tag(:li) do - icon('at') do - 'Mention' - end + icon('at') + 'Mention' end else # do nothing |