From 59a5105e5a1b320d0172f6f66bebb5f6a774d638 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Thu, 26 May 2016 22:48:06 -0400 Subject: [PATCH] Hide links if no permission to view Hides sigtracker and optimer, links if user doesn't have the view permission. Addresses #432 --- stock/templates/public/base.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stock/templates/public/base.html b/stock/templates/public/base.html index b42316b9..3a5e9435 100755 --- a/stock/templates/public/base.html +++ b/stock/templates/public/base.html @@ -155,19 +155,20 @@ {% endif %} {% if perms.auth.member or perms.auth.blue_member %} + {% if perms.auth.sigtracker_view %}
  • Wormhole Tracker
  • - + {% endif %} + {% if perms.auth.optimer_view %}
  • Fleet Operations
  • - - + {% endif %} {% if perms.auth.timer_view %}