2016-06-02 11:05:42 +05:30
|
|
|
%li.notification-list-item
|
|
|
|
%span.notification.fa.fa-holder.append-right-5
|
|
|
|
- if setting.global?
|
2016-06-16 23:09:34 +05:30
|
|
|
= notification_icon(current_user.global_notification_setting.level)
|
2016-06-02 11:05:42 +05:30
|
|
|
- else
|
|
|
|
= notification_icon(setting.level)
|
|
|
|
|
|
|
|
%span.str-truncated
|
|
|
|
= link_to group.name, group_path(group)
|
|
|
|
|
|
|
|
.pull-right
|
|
|
|
= form_for [group, setting], remote: true, html: { class: 'update-notifications' } do |f|
|
|
|
|
= f.select :level, NotificationSetting.levels.keys, {}, class: 'form-control trigger-submit'
|