diff options
Diffstat (limited to 'pydis_site/templates/wiki/permission_denied.html')
-rw-r--r-- | pydis_site/templates/wiki/permission_denied.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/pydis_site/templates/wiki/permission_denied.html b/pydis_site/templates/wiki/permission_denied.html deleted file mode 100644 index 58394c8f..00000000 --- a/pydis_site/templates/wiki/permission_denied.html +++ /dev/null @@ -1,36 +0,0 @@ -{% 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 %} |