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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
939 B
Text
Raw Normal View History

2019-10-12 21:52:04 +05:30
- emails_disabled = group.emails_disabled?
2019-09-04 21:01:54 +05:30
.gl-responsive-table-row.notification-list-item
.table-section.section-40
2020-11-24 15:15:51 +05:30
%span.notification.gl-mr-2
2019-10-12 21:52:04 +05:30
= notification_icon(notification_icon_level(setting, emails_disabled))
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
2021-04-17 20:07:23 +05:30
- if setting
.js-vue-notification-dropdown{ data: { disabled: emails_disabled.to_s, dropdown_items: notification_dropdown_items(setting).to_json, notification_level: setting.level, group_id: group.id, container_class: 'gl-mr-3', show_label: "true" } }
2019-09-04 21:01:54 +05:30
.table-section.section-30
2022-01-26 12:08:38 +05:30
= form_for setting, url: profile_group_notifications_path(group), method: :put, html: { class: 'update-notifications gl-display-flex' } do |f|
2020-05-30 21:06:31 +05:30
= f.select :notification_email, @user.public_verified_emails, { include_blank: 'Global notification email' }, class: 'select2 js-group-notification-email'