fix blocktrans

This commit is contained in:
Hugh Rundle 2023-11-18 15:58:01 +11:00
parent a56ba0ce1c
commit 97757fa1ee
No known key found for this signature in database
GPG key ID: A7E35779918253F9

View file

@ -7,10 +7,14 @@
{% block content %}
<div class="block">
<h1 class="title">{% trans "Permission Denied" %}</h1>
{% blocktrans trimmed with level=request.user|get_user_permission %}
<p class="content">You do not have permission to view this page or perform this action. Your user permission level is <code>{{ level }}</code>.</p>
<p class="content">If you think you should have access, please speak to your BookWyrm server administrator.</p>
{% endblocktrans %}
<p class="content">
{% blocktrans trimmed with level=request.user|get_user_permission %}
You do not have permission to view this page or perform this action. Your user permission level is <code>{{ level }}</code>.
{% endblocktrans %}
</p>
<p class="content">{% trans "If you think you should have access, please speak to your BookWyrm server administrator." %}
</p>
</div>
{% endblock %}