Skip to content
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
3 changes: 2 additions & 1 deletion templates/security/email/change_notice.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
</td>
</tr>
<tr>
{% set name = user.profile.full_name if user.profile and user.profile.full_name else user.username %}
<td style="padding:5px 15px 10px 15px;">
<p>{{ _('Hello, %(username)s!', username=user.username) }}</p>
<p>{{ _('Hello, %(name)s!', name=name) }}</p>
<p>{{ _('Your password has been successfully changed!') }}</p>
</td>
</tr>
Expand Down
5 changes: 3 additions & 2 deletions templates/security/email/confirmation_instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
<td style="padding:15px 15px 10px 15px;">
<a href="{{ url_for('security.login', _external=True) }}">
<img src="{{ url_for('static', filename='images/zenodo-gradient-1000.png', _external=True) }}" style="width:250px;border-radius:10px;"/>
</a>
</a>
</td>
</tr>
<tr>
{% set name = user.profile.full_name if user.profile and user.profile.full_name else user.username %}
<td style="padding:5px 15px 10px 15px;">
<p>{{ _('Hello, %(username)s!', username=user.username) }}</p>
<p>{{ _('Hello, %(name)s!', name=name) }}</p>
<p>{{ _('You have received this message because your email address has been registered with Zenodo.') }} </p>
<p>{{ _('Verify yourself and confirm your email by clicking below.') }}</p>
</td>
Expand Down
3 changes: 2 additions & 1 deletion templates/security/email/reset_instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
</td>
</tr>
<tr>
{% set name = user.profile.full_name if user.profile and user.profile.full_name else user.username %}
<td style="padding:5px 15px 10px 15px;">
<p>{{ _('Hello, %(username)s!', username=user.username) }}</p>
<p>{{ _('Hello, %(name)s!', name=name) }}</p>
<p>{{ _('There was a request to reset your password.') }}</p>
<p>{{ _('If you did not make this request then please ignore this message.') }}</p>
<p>{{ _('Otherwise, please press the button below to change your password.') }}</p>
Expand Down
3 changes: 2 additions & 1 deletion templates/security/email/reset_notice.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
</td>
</tr>
<tr>
{% set name = user.profile.full_name if user.profile and user.profile.full_name else user.username %}
<td style="padding:5px 15px 10px 15px;">
<p>{{ _('Hello, %(username)s!', username=user.username) }}</p>
<p>{{ _('Hello, %(name)s!', name=name) }}</p>
<p>{{ _('Your password has been successfully reset!') }}</p>
</td>
</tr>
Expand Down