summaryrefslogtreecommitdiff
path: root/static/website/templates/navbar.html
diff options
context:
space:
mode:
authorSashi202018-10-10 15:03:02 +0530
committerGitHub2018-10-10 15:03:02 +0530
commitcfc007e023c5a0c3fcc2a534dd5c64ad37581e9b (patch)
tree8c13a8cd762971e86bb39a95029eb2a16784ded0 /static/website/templates/navbar.html
parent78e35b6ffa9ad3336484168b569e9f26c2d9a67e (diff)
parenta80d99243f843181c7356d71a1b3446d5cc80637 (diff)
downloadnccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.gz
nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.tar.bz2
nccps-2018-cfc007e023c5a0c3fcc2a534dd5c64ad37581e9b.zip
Merge pull request #24 from Akshen/develop
DWSIM Quiz NCCP-2018
Diffstat (limited to 'static/website/templates/navbar.html')
-rw-r--r--static/website/templates/navbar.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/static/website/templates/navbar.html b/static/website/templates/navbar.html
index 427ca42..43f8d72 100644
--- a/static/website/templates/navbar.html
+++ b/static/website/templates/navbar.html
@@ -49,6 +49,12 @@
</a>
<ul class="dropdown-menu">
<!-- <li><a href="{% url 'website:proposal' %}">Submit your Paper</a></li> -->
+ {% if request.user.is_staff %}
+ <li><a href="{% url 'website:question_list' %}">View Questions</a></li>
+ {% else %}
+ <li><a href="{% url 'website:proposal' %}">Submit your Paper</a></li>
+ <li><a href="{% url 'website:quiz_intro' %}">Take Quiz</a></li>
+ {% endif %}
<!-- <li><a href="{{SITE_URL}}/#registration">Book your Ticket</a></li> -->
<li><a href="{% url 'auth:logout' %}?next=/nccps-2018"><i class="fa fa-sign-out"></i>&nbsp;Logout</a></li>
</ul>