2018-11-18 11:00:15 +05:30
|
|
|
= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-email-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-05-09 12:01:36 +05:30
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
|
|
|
.form-group
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check
|
|
|
|
= f.check_box :email_author_in_body, class: 'form-check-input'
|
|
|
|
= f.label :email_author_in_body, class: 'form-check-label' do
|
|
|
|
Include author name in notification email body
|
|
|
|
.form-text.text-muted
|
|
|
|
Some email servers do not support overriding the email sender name.
|
|
|
|
Enable this option to include the name of the author of the issue,
|
|
|
|
merge request or comment in the email body instead.
|
2018-05-09 12:01:36 +05:30
|
|
|
.form-group
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check
|
|
|
|
= f.check_box :html_emails_enabled, class: 'form-check-input'
|
|
|
|
= f.label :html_emails_enabled, class: 'form-check-label' do
|
|
|
|
Enable HTML emails
|
|
|
|
.form-text.text-muted
|
|
|
|
By default GitLab sends emails in HTML and plain text formats so mail
|
|
|
|
clients can choose what format to use. Disable this option if you only
|
|
|
|
want to send emails in plain text format.
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|