debian-mirror-gitlab/app/views/profiles/notifications/_group_settings.html.haml

18 lines
833 B
Text
Raw Normal View History

2019-09-04 21:01:54 +05:30
.gl-responsive-table-row.notification-list-item
.table-section.section-40
%span.notification.fa.fa-holder.append-right-5
- if setting.global?
= notification_icon(current_user.global_notification_setting.level)
- else
= notification_icon(setting.level)
2016-06-02 11:05:42 +05:30
2019-09-04 21:01:54 +05:30
%span.str-truncated
= link_to group.name, group_path(group)
2016-06-02 11:05:42 +05:30
2019-09-04 21:01:54 +05:30
.table-section.section-30.text-right
2016-06-22 15:30:34 +05:30
= render 'shared/notifications/button', notification_setting: setting
2019-09-04 21:01:54 +05:30
.table-section.section-30
= form_for @user.notification_settings.find { |ns| ns.source == group }, url: profile_notifications_group_path(group), method: :put, html: { class: 'update-notifications' } do |f|
= f.select :notification_email, @user.all_emails, { include_blank: 'Global notification email' }, class: 'select2 js-group-notification-email'