aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/root_missing.html
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-10-05 19:30:10 +0200
committerGravatar GitHub <[email protected]>2020-10-05 19:30:10 +0200
commitab20a2f0ec5df75abb641df651b15ca3c0341c0f (patch)
tree69832b8c41cfb29cae312e265e3e3e3ee1f6419b /pydis_site/templates/wiki/root_missing.html
parentFix content app linting (diff)
parentMerge pull request #405 from python-discord/remove_django_wiki (diff)
Merge branch 'dewikification' into guides-app
Diffstat (limited to 'pydis_site/templates/wiki/root_missing.html')
-rw-r--r--pydis_site/templates/wiki/root_missing.html41
1 files changed, 0 insertions, 41 deletions
diff --git a/pydis_site/templates/wiki/root_missing.html b/pydis_site/templates/wiki/root_missing.html
deleted file mode 100644
index 31ef2eab..00000000
--- a/pydis_site/templates/wiki/root_missing.html
+++ /dev/null
@@ -1,41 +0,0 @@
-{% extends "wiki/create_root.html" %}
-{% load wiki_tags %}
-
-{% block wiki_contents %}
- <div class="columns">
- <div class="column is-two-thirds is-offset-2">
- <article class="message is-primary">
- <div class="message-header">
- <p>No articles found</p>
- </div>
- <div class="message-body">
- <p>
- It appears that there are no articles available on this wiki.
- </p>
-
- {% if not user.is_superuser %}
- <p>
- To get started, please login with a superuser account.
- </p>
-
- {% login_url as wiki_login_url %}
-
- {% if wiki_login_url %}
- <div class="has-text-centered">
- <a href="{{ wiki_login_url }}" class="button is-primary">Login</a>
- </div>
- {% endif %}
- {% else %}
- <p>
- Let's get started - click below to create the first article, or to read up on the
- <code>django-wiki</code> documentation.
- </p>
-
- <a class="button is-primary" href="{% url 'wiki:root_create' %}">Create Article</a>
- <a class="button is-info" href="http://django-wiki.readthedocs.org/">Documentation</a>
- {% endif %}
- </div>
- </article>
- </div>
- </div>
-{% endblock %}