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

16 lines
711 B
Text
Raw Normal View History

2019-10-12 21:52:04 +05:30
- emails_disabled = project.emails_disabled?
2016-06-02 11:05:42 +05:30
%li.notification-list-item
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
%span.str-truncated
= link_to_project(project)
2018-11-08 19:23:39 +05:30
.float-right
2021-03-11 19:13:27 +05:30
- if Feature.enabled?(:vue_notification_dropdown, default_enabled: :yaml)
- if setting
.js-vue-notification-dropdown{ data: { disabled: emails_disabled, dropdown_items: notification_dropdown_items(setting).to_json, notification_level: setting.level, project_id: project.id, container_class: 'gl-mr-3', show_label: "true" } }
- else
= render 'shared/notifications/button', notification_setting: setting, emails_disabled: emails_disabled