Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_group_settings.html.haml « notifications « profiles « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 82083af9ff14a0032477cf40e3fa08ced5312b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- emails_disabled = group.emails_disabled?

.gl-responsive-table-row.notification-list-item
  .table-section.section-40
    %span.notification.gl-mr-2
      = notification_icon(notification_icon_level(setting, emails_disabled))

    %span.str-truncated
      = link_to group.name, group_path(group)

  .table-section.section-30.text-right
    - 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" } }

  .table-section.section-30
    = form_for setting, url: profile_notifications_group_path(group), method: :put, html: { class: 'update-notifications gl-display-flex' } do |f|
      = f.select :notification_email, @user.public_verified_emails, { include_blank: 'Global notification email' }, class: 'select2 js-group-notification-email'