From ced87c58450ab1d6ef59d5b631c2505db80a3887 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Thu, 23 Apr 2015 14:39:31 +0200 Subject: [PATCH] fix theme is defined as self.theme in the view --- portal/projectrequestview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal/projectrequestview.py b/portal/projectrequestview.py index 13c49606..37442f11 100644 --- a/portal/projectrequestview.py +++ b/portal/projectrequestview.py @@ -20,7 +20,7 @@ class ProjectRequestView(LoginRequiredAutoLogoutView, ThemeView): template_name = 'projectrequest_view.html' def getAuthorities(self, request): - if theme.theme == 'fed4fire': + if self.theme == 'fed4fire': authorities_query = Query.get('myslice:authority').select('name', 'authority_hrn') else: authorities_query = Query.get('authority').select('name', 'authority_hrn') -- 2.47.0