1
0
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:
Claude Paroz 2015-08-07 17:29:03 +02:00
parent bcb4fe0012
commit 6ed613b2a5

View File

@ -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 %}