mirror of
https://github.com/Evolix/chexpire.git
synced 2024-06-27 11:32:52 +02:00
10 lines
200 B
Ruby
10 lines
200 B
Ruby
module NotificationsHelper
|
|
def many_channels_available?
|
|
Notification.channels.many?
|
|
end
|
|
|
|
def notification_variable_col_class
|
|
many_channels_available? ? "col-md-4" : "col-md-5"
|
|
end
|
|
end
|