Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Surrey] Included email footer #5357

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions templates/email/surrey/_email_bottom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
</tr>
</table>
</th>
<th class="spacer-cell"></th>
</tr>
</table>
<table [% wrapper_table | safe %] style="[% wrapper_style %]">
<tr>
<th class="spacer-cell"></th>
<th width="[% wrapper_max_width %]" style="[% td_style %][% hint_style %]" class="hint">
[%~ IF email_footer.defined %]
[% email_footer | safe %]
[%~ ELSE %]
[% loc('This email was sent automatically, from an unmonitored email account. Please do not reply to it.') %]
[%~ END %]
</th>
<th class="spacer-cell"></th>
</tr>
<tr>
<th class="spacer-cell"></th>
<th width="[% wrapper_max_width %]" style="[% td_style %][% hint_style %][% banner_style %]">
<img src="[% inline_image('web/cobrands/surrey/images/email.png') %]" alt="" role="presentation" aria-hidden="true" width="24px" height="24px" style="[% banner_image_style %]">
<a href="https://pages.comms.surreycc.info/pages/surrey-county-council-subscribe">Subscribe to our newsletters</a> for the latest news and events.
</th>
<th class="spacer-cell"></th>
</tr>

</table>
</body>
</html>
3 changes: 3 additions & 0 deletions templates/email/surrey/_email_color_overrides.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@
logo_width = "55" # pixel measurement, but without 'px' suffix
logo_height = "50" # pixel measurement, but without 'px' suffix

banner_style = "background-color: #e0e7cf; font-size: 1em; border: 1px solid #ced8b4"
banner_image_style = "vertical-align:middle;"

%]
Binary file added web/cobrands/surrey/images/email.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.