Skip to content
New issue

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

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

Already on GitHub? # to your account

Updated activation_email.html to solve Issue #560 #1916

Closed
wants to merge 1 commit into from

Conversation

stefanZorcic
Copy link

No description provided.

@stefanZorcic
Copy link
Author

Images of new email design, disregard clutter from {} elements
Screen Shot 2022-04-12 at 4 53 51 PM
Screen Shot 2022-04-12 at 4 53 56 PM

@stefanZorcic
Copy link
Author

stefanZorcic commented Apr 12, 2022

Updated images:
Screen Shot 2022-04-12 at 5 13 26 PM
Screen Shot 2022-04-12 at 5 13 31 PM
s

<i style="color: white">If you have problems activating your account, feel free to send us an email at <a href="mailto:{{ SITE_ADMIN_EMAIL }}" style="color: white">{{ SITE_ADMIN_EMAIL }}</a>.</i>
<br>
{% else %}
<p style="color: white">See you soon!</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a reason to have See you soon! in both the if and else branches. Just put it before the if-statement.

Also, this white text doesn't work.
Capture

Please click on the following link to activate your account:
<p style="margin-left:1em">
<a href="http://{{ site.domain }}/accounts/activate/{{ activation_key }}/">http://{{ site.domain }}/accounts/activate/{{ activation_key }}</a>
</p>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this empty line.

<div style="padding: 1em;">
<br>
<div>
<img style="display:table;margin-left: auto;margin-right: auto;"src="https://avatars1.githubusercontent.com/u/6934864?v=3&s=101" width="35%" height="30%">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

width="35%" height="30%" creates a bad aspect ratio.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try using max-width and max-height in the style.

<br>
<p>Please click on the following link to activate your account:</p>
<p style="margin-left:1em">
<a href="http://{{ site.domain }}/accounts/activate/{{ activation_key }}/">http://{{ site.domain }}/accounts/activate/{{ activation_key }}</a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https is more common nowadays.

<p style="margin-left:1em">
<a href="http://{{ site.domain }}/accounts/activate/{{ activation_key }}/">http://{{ site.domain }}/accounts/activate/{{ activation_key }}</a>
</p>
<i>Alternatively, you can reply to this message to activate your account</i>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing period

<pre style="margin-left:1em">
{{ activation_key }}
</pre>
<h1 style="font-size:30px;display:inline;vertical-align: middle">Welcome to DMOJ!</h1>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use {{ SITE_NAME }}, not DMOJ

@Xyene
Copy link
Member

Xyene commented Nov 1, 2022

Superseded by #2028.

@Xyene Xyene closed this Nov 1, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants