X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fvalidationview.py;h=b5170b9b155f3892756abde42dfb041fff270a03;hb=9cbecc70e8916a0574e32088a15617c33c03bf9d;hp=3daeaf8cb6b892339580b4bafe23da6efadabb70;hpb=3d16aa36af64e8e0e5ce3a48c34df158fbfaae29;p=myslice.git diff --git a/portal/validationview.py b/portal/validationview.py index 3daeaf8c..b5170b9b 100644 --- a/portal/validationview.py +++ b/portal/validationview.py @@ -41,10 +41,10 @@ from plugins.raw import Raw from portal.models import PendingUser, PendingSlice from portal.actions import get_requests -from manifold.manifoldapi import execute_query +from manifoldapi.manifoldapi import execute_query from manifold.core.query import Query from unfold.page import Page -from theme import ThemeView +from myslice.theme import ThemeView class ValidatePendingView(FreeAccessView, ThemeView): template_name = "validate_pending.html" @@ -60,6 +60,7 @@ class ValidatePendingView(FreeAccessView, ThemeView): ctx_my_authorities = {} ctx_delegation_authorities = {} ctx_sub_authorities = {} + dest = {} # The user need to be logged in @@ -262,7 +263,7 @@ class ValidatePendingView(FreeAccessView, ThemeView): context['username'] = the_user(self.request) context['theme'] = self.theme - + context['section'] = "Requests" # XXX We need to prepare the page for queries #context.update(page.prelude_env())