gitlab-org--gitlab-foss/app/views/profiles/notifications/_project_settings.html.haml
Brett Walker 9be16e1f49 UI for disabling group/project email notification
- Adds UI to configure in group and project settings
- Removes notification configuration for users when
disabled at group or project level
2019-08-17 05:56:48 +00:00

11 lines
375 B
Text

- emails_disabled = project.emails_disabled?
%li.notification-list-item
%span.notification.fa.fa-holder.append-right-5
= notification_icon(notification_icon_level(setting, emails_disabled))
%span.str-truncated
= link_to_project(project)
.float-right
= render 'shared/notifications/button', notification_setting: setting, emails_disabled: emails_disabled