mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
fix blocktrans
This commit is contained in:
parent
a56ba0ce1c
commit
97757fa1ee
1 changed files with 8 additions and 4 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue