Add custom additional text to emails
What does this MR do?
CE backport, https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18183
- Add custom additional text to emails
Are there points in the code the reviewer needs to double check?
- You can check the previews at http://192.168.1.135:3010/rails/mailers/devise_mailer
- These previews are generated from
spec/mailers/previews/devise_mailer_preview.rb
Emails layouts
app/views/layouts/mailer.html.hamlapp/views/layouts/_mailer.html.haml
app/views/layouts/mailer.text.erbapp/views/layouts/mailer/devise.html.hamlapp/views/layouts/_mailer.html.haml
app/views/layouts/mailer/devise.text.erbapp/views/layouts/notify.html.hamlapp/views/layouts/notify.text.erbapp/views/email_rejection_mailer/rejection.html.hamlapp/views/email_rejection_mailer/rejection.text.hamlapp/views/repository_check_mailer/notify.html.hamlapp/views/repository_check_mailer/notify.text.haml- ...
ee/app/views/layouts/service_desk.html.hamlee/app/views/notify/service_desk_new_note_email.text.erbee/app/views/notify/service_desk_new_note_email.text.erbee/app/views/notify/approved_merge_request_email.html.hamlee/app/views/notify/unapproved_merge_request_email.html.haml
Why was this MR needed?
Does this MR meet the acceptance criteria?
- Changelog entry added, if necessary
- Documentation created/updated
- Tests added for this feature/bug
- Review
- Has been reviewed by UX
- Has been reviewed by Frontend
- Has been reviewed by Backend
- Has been reviewed by Database
- Conform by the merge request performance guides
- Conform by the style guides
- Squashed related commits together
- Internationalization required/considered
- If paid feature, have we considered GitLab.com plan and how it works for groups and is there a design for promoting it to users who aren't on the correct plan
- End-to-end tests pass (
package-qamanual pipeline job)
What are the relevant issue numbers?
Closes #4474 (closed)
Edited by Coung Ngo

