Skip to content
Snippets Groups Projects

Allow email notifications to be disabled for all users of a group or project

Closed Dustin Spicuzza requested to merge virtuald/gitlab-ce:disable-notification-emails into master
8 unresolved threads
17 files
+ 88
4
Compare changes
  • Side-by-side
  • Inline
Files
17
@@ -68,6 +68,8 @@
@@ -68,6 +68,8 @@
lfsEnabled: true,
lfsEnabled: true,
requestAccessEnabled: true,
requestAccessEnabled: true,
highlightChangesClass: false,
highlightChangesClass: false,
 
emailsEnabled: true,
 
groupEmailsEnabled: true,
};
};
return { ...defaults, ...this.currentSettings };
return { ...defaults, ...this.currentSettings };
@@ -323,6 +325,16 @@
@@ -323,6 +325,16 @@
name="project[project_feature_attributes][snippets_access_level]"
name="project[project_feature_attributes][snippets_access_level]"
/>
/>
</project-setting-row>
</project-setting-row>
 
<project-setting-row
 
label="Email Notifications"
 
help-text="Allow users to receive email notifications from this project"
 
>
 
<project-feature-toggle
 
v-model="emailsEnabled"
 
:disabled-input="!groupEmailsEnabled"
 
name="project[emails_enabled]"
 
/>
 
</project-setting-row>
</div>
</div>
</div>
</div>
</template>
</template>
Loading