Browse Source

perf: site msg content optimize

pull/14281/head
wangruidong 1 month ago committed by Bryan
parent
commit
578458f734
  1. 4
      apps/authentication/templates/authentication/_msg_different_city.html
  2. 3
      apps/authentication/templates/authentication/_msg_reset_password.html
  3. 5
      apps/authentication/templates/authentication/_msg_rest_password_success.html
  4. 5
      apps/authentication/templates/authentication/_msg_rest_public_key_success.html
  5. 3
      apps/perms/templates/perms/_msg_permed_items_expire.html
  6. 3
      apps/users/templates/users/_msg_password_expire_reminder.html
  7. 4
      apps/users/templates/users/_msg_user_created.html

4
apps/authentication/templates/authentication/_msg_different_city.html

@ -8,10 +8,8 @@
<p>
<b>{% trans 'Username' %}:</b> {{ username }}<br>
<b>{% trans 'Login Date' %}:</b> {{ time }}<br>
<b>{% trans 'Login city' %}:</b> {{ city }}({{ ip }})
<b>{% trans 'Login city' %}:</b> {{ city }}({{ ip }})<br>
</p>
-
<p>
{% trans 'If you suspect that the login behavior is abnormal, please modify the account password in time.' %}
</p>

3
apps/authentication/templates/authentication/_msg_reset_password.html

@ -10,8 +10,7 @@
{% trans 'Click here reset password' %}
</a>
</p>
-
<br>
<p>
{% trans 'This link is valid for 1 hour. After it expires' %}
<a href="{{ forget_password_url }}?email={{ user.email }}">{% trans 'request new one' %}</a>

5
apps/authentication/templates/authentication/_msg_rest_password_success.html

@ -5,10 +5,9 @@
{% trans 'Your password has just been successfully updated' %}
</p>
<p>
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br/>
<b>{% trans 'Browser' %}:</b> {{ browser }}
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br>
<b>{% trans 'Browser' %}:</b> {{ browser }} <br>
</p>
-
<p>
{% 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' %}

5
apps/authentication/templates/authentication/_msg_rest_public_key_success.html

@ -5,10 +5,9 @@
{% trans 'Your public key has just been successfully updated' %}
</p>
<p>
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br/>
<b>{% trans 'Browser' %}:</b> {{ browser }}
<b>{% trans 'IP' %}:</b> {{ ip_address }} <br>
<b>{% trans 'Browser' %}:</b> {{ browser }} <br>
</p>
-
<p>
{% 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' %}

3
apps/perms/templates/perms/_msg_permed_items_expire.html

@ -15,8 +15,7 @@
{% endfor %}
</ul>
<br/>
-
<br>
<p>
{% trans 'If you have any question, please contact the administrator' %}
</p>

3
apps/users/templates/users/_msg_password_expire_reminder.html

@ -9,9 +9,8 @@
<br />
<br />
<a href="{{ update_password_url }}">{% trans 'Click here update password' %}</a>
<br />
<br/>
</p>
-
<p>
{% trans 'If your password has expired, please click the link below to' %}
<a href="{{ forget_password_url }}?email={{ email }}">{% trans 'Reset password' %}</a>

4
apps/users/templates/users/_msg_user_created.html

@ -15,9 +15,7 @@
{% trans 'click here to set your password' %}
</a>
</p>
-
<br>
<p>
{% trans 'This link is valid for 1 hour. After it expires' %}
<a href="{{ forget_password_url }}?email={{ user.email }}">{% trans 'request new one' %}</a>

Loading…
Cancel
Save