Skip to content

Commit

Permalink
Use support email in mail footers
Browse files Browse the repository at this point in the history
  • Loading branch information
Taeir committed Nov 12, 2023
1 parent dedfde2 commit df2ceca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion app/views/layouts/devise_mailer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
London, UK<br/>
WC2H 9JQ
</p>
<p><a href="mailto:[email protected]">[email protected]</a></p>
<p>
<a href="mailto:<%= SiteSetting['SupportReceiverEmail'] || '[email protected]' %>">
<%= SiteSetting['SupportReceiverEmail'] || '[email protected]' %>
</a>
</p>
</div>
</div>
</body>
Expand Down
6 changes: 5 additions & 1 deletion app/views/layouts/mailer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
London, UK<br/>
WC2H 9JQ
</p>
<p><a href="mailto:[email protected]">[email protected]</a></p>
<p>
<a href="mailto:<%= SiteSetting['SupportReceiverEmail'] || '[email protected]' %>">
<%= SiteSetting['SupportReceiverEmail'] || '[email protected]' %>
</a>
</p>
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/mailer.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
71-75 Shelton Street
London, UK
WC2H 9JQ
[email protected]
<%= SiteSetting['SupportReceiverEmail'] || '[email protected]' %>

0 comments on commit df2ceca

Please sign in to comment.