diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2019-08-16 23:34:30 -0500 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2019-08-16 23:34:30 -0500 |
commit | dbd7fcbdcd0ead0f878f2bcad5e1d9a63d846a5d (patch) | |
tree | 8f519f56dad399aa4616e788f3fea16ea7d3a73c | |
parent | e2de0db98e67d28503733976fe2cec36108e84d7 (diff) | |
download | gitlab-ce-50020-fe-allow-email-notifications-to-be-disabled-for-all-users-of-a-group.tar.gz |
Add checked to emails_disabled group settings50020-fe-allow-email-notifications-to-be-disabled-for-all-users-of-a-group
-rw-r--r-- | app/views/groups/settings/_permissions.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/settings/_permissions.html.haml b/app/views/groups/settings/_permissions.html.haml index eefb13f205d..eff28c844c2 100644 --- a/app/views/groups/settings/_permissions.html.haml +++ b/app/views/groups/settings/_permissions.html.haml @@ -18,7 +18,7 @@ .form-group.append-bottom-default .form-check - = f.check_box :emails_disabled, disabled: !can_disable_group_emails?(@group), class: 'form-check-input' + = f.check_box :emails_disabled, checked: @group.emails_disabled?, disabled: !can_disable_group_emails?(@group), class: 'form-check-input' = f.label :emails_disabled, class: 'form-check-label' do %span.d-block= s_('GroupSettings|Disable email notifications') %span.text-muted= s_('GroupSettings|This setting will override user notification preferences for all members of the group, subgroups, and projects.') |