mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
Make "Hello" part of notification emails use user's username if we don't know their real name
This commit is contained in:
parent
eccb0990bb
commit
7fee62f8eb
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{% load i18n %}{% block subject %}{% endblock %}
|
||||
{% block greeting %}{% trans "Hello" %} {{ user.get_short_name }},{% endblock %}
|
||||
{% block greeting %}{% trans "Hello" %} {{ user.get_short_name|default:user.get_username }},{% endblock %}
|
||||
{% block notification %}{% endblock %}
|
||||
{% trans "Edit your notification preferences here:" %} {{ settings.BASE_URL }}{% url 'wagtailadmin_account_notification_preferences' %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue