77985826d9
* Add email_header_and_footer_enabled flag to appearances table * Set email_header_and_footer_enabled default value to false * Add checkbox to appearance to toggle show header and footer in emails * Add email_header_and_footer_enabled to allowed params in controller * Add header and footer messages to the html and text email layouts * Remove the color styling for emails header and footer * Add empty_mailer layout for emails without layout, to have the header and footer applied
16 lines
404 B
Text
16 lines
404 B
Text
<%= text_header_message %>
|
|
|
|
<%= yield -%>
|
|
|
|
-- <%# signature marker %>
|
|
<% if @target_url -%>
|
|
<% if @reply_by_email -%>
|
|
<%= "Reply to this email directly or view it on GitLab: #{@target_url}" -%>
|
|
<% else -%>
|
|
<%= "View it on GitLab: #{@target_url}" -%>
|
|
<% end -%>
|
|
<% end -%>
|
|
|
|
<%= "You're receiving this email because #{notification_reason_text(@reason)}." %>
|
|
|
|
<%= text_footer_message -%>
|