From 8be4480a3fbec04bc6710f68338c4552290212de Mon Sep 17 00:00:00 2001 From: Stefano Brentegani Date: Fri, 1 Aug 2014 09:25:43 +0200 Subject: [PATCH] is_helpdesk_staff template filter (applied in navigation.html) --- helpdesk/templates/helpdesk/navigation.html | 4 ++-- helpdesk/templatetags/helpdesk_staff.py | 22 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 helpdesk/templatetags/helpdesk_staff.py diff --git a/helpdesk/templates/helpdesk/navigation.html b/helpdesk/templates/helpdesk/navigation.html index 05fa27dd..14c8cf16 100644 --- a/helpdesk/templates/helpdesk/navigation.html +++ b/helpdesk/templates/helpdesk/navigation.html @@ -1,4 +1,4 @@ -{% load i18n %}{% load url from future %} +{% load i18n helpdesk_staff %}{% load url from future %}