Skip to content

Commit

Permalink
Add gmail anti trim functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
didrikmunther committed Feb 21, 2024
1 parent 16edc51 commit 2e2f69e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions templates/email/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
</tbody>
</table>
<table style="margin: 0 40px;">
<!-- Make sure gmail doesn't trim the email -->
<span style="opacity: 0">{% now "Y-m-d (H:i:s:u)" %}</span>
</table>
</body>

Expand Down
2 changes: 1 addition & 1 deletion templates/register/email/received_application.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block content %}
<p style="font-size:16px;line-height:24px;margin:16px 0;color:#525f7f;text-align:left">
Hello {{ user.name }}!
Hello {{ user }}!
</p>
<p style="font-size:16px;line-height:24px;margin:16px 0;color:#525f7f;text-align:left">
We have received your application for Armada {{ recruitment_period.fair }}. You can view and edit your application
Expand Down

0 comments on commit 2e2f69e

Please sign in to comment.