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