blob: 58394c8fa33f48e8ac841828cfed615be8338110 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{% extends "wiki/base.html" %}
{% load wiki_tags %}
{% block wiki_pagetitle %}Permission Denied{% endblock %}
{% block wiki_contents %}
<article class="message is-danger">
<div class="message-header">
<p>Permission Denied</p>
</div>
<div class="message-body">
<p>
Sorry, you don't have permission to access this page.
</p>
{% if article.current_revision.locked %}
<p>This article is locked for editing.</p>
{% endif %}
{% if not read_denied %}
<a href="{% url 'wiki:get' article_id=article.id path=urlpath.path %}" class="button is-primary">
<span class="icon">
<i class="fas fa-arrow-left"></i>
</span>
<span>Back to article</span>
</a>
{% elif urlpath.parent %}
<a href="{% url 'wiki:get' path=urlpath.parent.path %}" class="button is-primary">
<span class="icon">
<i class="fas fa-arrow-left"></i>
</span>
<span>Back to article</span>
</a>
{% endif %}
</div>
</article>
{% endblock %}
|