git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f2b8a
)
fix theme is defined as self.theme in the view
author
Loic Baron
<loic.baron@lip6.fr>
Thu, 23 Apr 2015 12:39:31 +0000
(14:39 +0200)
committer
Loic Baron
<loic.baron@lip6.fr>
Thu, 23 Apr 2015 12:39:31 +0000
(14:39 +0200)
portal/projectrequestview.py
patch
|
blob
|
history
diff --git
a/portal/projectrequestview.py
b/portal/projectrequestview.py
index
13c4960
..
37442f1
100644
(file)
--- 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')