aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/create_featured_resource.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
commiteeaddb27560d723ca7d61359744ceb2709fccd2d (patch)
tree04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /pyblackbird_cc/templates/resources/create_featured_resource.html
parent7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff)
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/templates/resources/create_featured_resource.html')
-rw-r--r--pyblackbird_cc/templates/resources/create_featured_resource.html26
1 files changed, 0 insertions, 26 deletions
diff --git a/pyblackbird_cc/templates/resources/create_featured_resource.html b/pyblackbird_cc/templates/resources/create_featured_resource.html
deleted file mode 100644
index 19022fc..0000000
--- a/pyblackbird_cc/templates/resources/create_featured_resource.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{% extends "base.html" %}
-
-{% load static %}
-
-{% block title %}
- Add featured resource
-{% endblock title %}
-{% block content %}
- {% if messages %}
- <ul class="messages">
- {% for message in messages %}
- <li {% if message.tags %}class="{{ message.tags }}"{% endif %}>{{ message }}</li>
- {% endfor %}
- </ul>
- {% endif %}
- {% if request.user.is_authenticated and request.user.is_staff %}
- <div class="row d-flex justify-content-center">
- <div class="col bg-light mt-lg-4 p-4 border border-success border-opacity-25 rounded">
- <h2>Configure featured resources</h2>
- <p>You can select three resources to be "featured" on the main page</p>
- </div>
- </div>
- {% else %}
- <p>You must be a super-user to access this page.</p>
- {% endif %}
-{% endblock content %}