From 6be42f7aa1099f195930b334b8081182ac1a46a1 Mon Sep 17 00:00:00 2001 From: lauren Date: Tue, 10 Nov 2020 09:59:47 -0500 Subject: [PATCH] add teacher report and admin links --- studyguides/templates/base.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/studyguides/templates/base.html b/studyguides/templates/base.html index 06e99b2..2123c43 100644 --- a/studyguides/templates/base.html +++ b/studyguides/templates/base.html @@ -34,5 +34,13 @@ {% block content %}{% endblock %} +
+ {% if user.is_teacher %} + Report a Study Guide + {% elif user.is_superuser or user.is_staff %} + Report a Study Guide + Access Admin Console + {% endif %} +