-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
203 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
{% load i18n %} | ||
|
||
<h3>{% trans 'Respectful' %}: {{ recipient.name }}[{{ recipient.username }}]</h3> | ||
<h3>{% trans 'Dear' %}: {{ recipient.name }}[{{ recipient.username }}]</h3> | ||
<hr> | ||
<p><strong>{% trans 'User' %}:</strong> [{{ name }}({{ username }})]</p> | ||
<p><strong>{% trans 'Assets' %}:</strong> [{{ asset }}]</p> | ||
<p><strong>{% trans 'Account' %}:</strong> [{{ account_name }}({{ account }})]</p> | ||
<p>{% trans 'We would like to inform you that a user has recently logged into the following asset:' %}<p> | ||
<p><strong>{% trans 'Asset details' %}:</strong></p> | ||
<ul> | ||
<li><strong>{% trans 'User' %}:</strong> [{{ name }}({{ username }})]</li> | ||
<li><strong>{% trans 'Assets' %}:</strong> [{{ asset }}]</li> | ||
<li><strong>{% trans 'Account' %}:</strong> [{{ account_name }}({{ account }})]</li> | ||
</ul> | ||
<hr> | ||
|
||
<p>{% trans 'The user has just logged in to the asset. Please ensure that this is an authorized operation. If you suspect that this is an unauthorized access, please take appropriate measures immediately.' %}</p> | ||
|
||
<p>{% trans 'Thank you' %}!</p> | ||
<p>{% trans 'Please review the login activity to ensure the security and proper usage of the asset. If you did not authorize this login or if you notice any suspicious activity, please take the necessary actions immediately.' %}</p> | ||
|
||
<p>{% trans 'Thank you for your attention to this matter' %}!</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
{% load i18n %} | ||
|
||
<h3>{% trans 'Respectful' %}: {{ recipient.name }}[{{ recipient.username }}]</h3> | ||
<h3>{% trans 'Dear' %}: {{ recipient.name }}[{{ recipient.username }}]</h3> | ||
<hr> | ||
<p><strong>{% trans 'User' %}:</strong> [{{ username }}]</p> | ||
<p><strong>IP:</strong> [{{ ip }}]</p> | ||
<p><strong>{% trans 'Login city' %}:</strong> [{{ city }}]</p> | ||
<p><strong>{% trans 'User agent' %}:</strong> [{{ user_agent }}]</p> | ||
<p>{% trans 'We would like to inform you that a user has recently logged:' %}<p> | ||
<p><strong>{% trans 'User details' %}:</strong></p> | ||
<ul> | ||
<li><strong>{% trans 'User' %}:</strong> [{{ username }}]</li> | ||
<li><strong>IP:</strong> [{{ ip }}]</li> | ||
<li><strong>{% trans 'Login city' %}:</strong> [{{ city }}]</li> | ||
<li><strong>{% trans 'User agent' %}:</strong> [{{ user_agent }}]</li> | ||
</ul> | ||
<hr> | ||
|
||
<p>{% trans 'The user has just successfully logged into the system. Please ensure that this is an authorized operation. If you suspect that this is an unauthorized access, please take appropriate measures immediately.' %}</p> | ||
|
||
<p>{% trans 'Thank you' %}!</p> | ||
|
||
<p>{% trans 'Please review the login activity to ensure the security and proper usage of the asset. If you did not authorize this login or if you notice any suspicious activity, please take the necessary actions immediately.' %}</p> | ||
<p>{% trans 'Thank you for your attention to this matter' %}!</p> |
6 changes: 3 additions & 3 deletions
6
apps/authentication/templates/authentication/_msg_rest_password_success.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{% load i18n %} | ||
<p>{% trans 'Hello' %} {{ name }},</p> | ||
<p>{% trans 'Dear' %} {{ name }},</p> | ||
|
||
<p> | ||
{% trans 'Your password has just been successfully updated' %} | ||
</p> | ||
<p> | ||
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br /> | ||
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br/> | ||
<b>{% trans 'Browser' %}:</b> {{ browser }} | ||
</p> | ||
- | ||
<p> | ||
{% trans 'If the password update was not initiated by you, your account may have security issues' %} <br /> | ||
{% trans 'If the password update was not initiated by you, your account may have security issues' %} <br/> | ||
{% trans 'If you have any questions, you can contact the administrator' %} | ||
</p> |
6 changes: 3 additions & 3 deletions
6
apps/authentication/templates/authentication/_msg_rest_public_key_success.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{% load i18n %} | ||
<p>{% trans 'Hello' %} {{ name }},</p> | ||
<p>{% trans 'Dear' %} {{ name }},</p> | ||
|
||
<p> | ||
{% trans 'Your public key has just been successfully updated' %} | ||
</p> | ||
<p> | ||
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br /> | ||
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br/> | ||
<b>{% trans 'Browser' %}:</b> {{ browser }} | ||
</p> | ||
- | ||
<p> | ||
{% trans 'If the public key update was not initiated by you, your account may have security issues' %} <br /> | ||
{% trans 'If the public key update was not initiated by you, your account may have security issues' %} <br/> | ||
{% trans 'If you have any questions, you can contact the administrator' %} | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.