Allow users to change their display name

Fixes #269
This commit is contained in:
rubenwardy
2021-02-25 23:25:33 +00:00
parent 96b5b4ea5b
commit dea5a52c86
11 changed files with 53 additions and 22 deletions

View File

@@ -5,14 +5,12 @@
{{ notification.title }}
</h2>
<p>
{% if notification.package %}
{{ _("From %(username)s and on package %(package)s.",
username=notification.causer.display_name, package=notification.package.title) }}
username=notification.causer.username, package=notification.package.title) }}
{% else %}
{{ _("From %(username)s.", username=notification.causer.display_name) }}
{{ _("From %(username)s.", username=notification.causer.username) }}
{% endif %}
</p>