Commit ab56718f authored by Patricio Cano's avatar Patricio Cano

Fixed notification level list item helper.

parent 84508c40
......@@ -17,28 +17,24 @@ module NotificationsHelper
case notification_level
when Notification::N_DISABLED
content_tag(:li) do
icon('microphone-slash') do
icon('microphone-slash')
'Disabled'
end
end
when Notification::N_PARTICIPATING
content_tag(:li) do
icon('volume-up') do
icon('volume-up')
'Participating'
end
end
when Notification::N_WATCH
content_tag(:li) do
icon('globe') do
icon('globe')
'Watch'
end
end
when Notification::N_MENTION
content_tag(:li) do
icon('at') do
icon('at')
'Mention'
end
end
else
# do nothing
end
......
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