diff options
author | dk-15 | 2017-05-20 11:03:07 +0530 |
---|---|---|
committer | dk-15 | 2017-05-20 11:05:45 +0530 |
commit | 521eaad4ce61acb56553cfb00e70e9a55916aaac (patch) | |
tree | 36c8a5551ba88d0f5a5f1970d21fc185796ff3e6 /templates/account/sub_nav.html | |
parent | 9fe3a0234adf464f080098f6dec3b8c1332f2af4 (diff) | |
download | SBHS-2018-Rpi-521eaad4ce61acb56553cfb00e70e9a55916aaac.tar.gz SBHS-2018-Rpi-521eaad4ce61acb56553cfb00e70e9a55916aaac.tar.bz2 SBHS-2018-Rpi-521eaad4ce61acb56553cfb00e70e9a55916aaac.zip |
Add link to admin panel in account/home page
Diffstat (limited to 'templates/account/sub_nav.html')
-rw-r--r-- | templates/account/sub_nav.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/account/sub_nav.html b/templates/account/sub_nav.html index 17ac8a5..62c617e 100644 --- a/templates/account/sub_nav.html +++ b/templates/account/sub_nav.html @@ -5,5 +5,8 @@ <li id="view-slot-nav"><a href="{% url 'slot_index' %}">View/Delete slot</a></li> <li id="download-log-nav"><a href="{% url 'experiment_logs' %}">Download log files</a></li> <li id="video-nav"><a href="{% url 'webcam_show_video' %}">Show video</a></li> + {% if user.is_admin %} + <li id="admin-nav"><a href="{% url 'admin_index' %}">Admin Panel</a></li> + {% endif %} </ul> </div> |