mirror of
https://github.com/django/django.git
synced 2025-01-08 17:37:20 +00:00
Refs #25163 -- Added trimmed option to recent blocktrans addition
This commit is contained in:
parent
bcb4fe0012
commit
6ed613b2a5
@ -34,7 +34,7 @@
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
<p class="errornote">
|
||||
{% blocktrans with username=request.user.username %}
|
||||
{% blocktrans with username=request.user.username trimmed %}
|
||||
You are authenticated as {{ username }}, but are not authorized to
|
||||
access this page. Would you like to login to a different account?
|
||||
{% endblocktrans %}
|
||||
|
Loading…
Reference in New Issue
Block a user