init
This commit is contained in:
18
user/plugins/admin/themes/grav/templates/denied.html.twig
Normal file
18
user/plugins/admin/themes/grav/templates/denied.html.twig
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends 'partials/base.html.twig' %}
|
||||
|
||||
{% block messages %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="admin-block">
|
||||
<h1>
|
||||
{{ "PLUGIN_ADMIN.ACCESS_DENIED"|t }}
|
||||
</h1>
|
||||
|
||||
{% include 'partials/messages.html.twig' %}
|
||||
|
||||
<p>{{ admin.user.fullname }}, {{ "PLUGIN_ADMIN.ACCOUNT_NOT_ADMIN"|t }}. <a href="{{ uri.addNonce(base_url_relative ~ '/task' ~ config.system.param_sep ~ 'logout', 'logout-form', 'logout-nonce') }}">{{ "PLUGIN_ADMIN.LOGOUT"|t }}</a></p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block navigation %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user