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 myslice.theme import ThemeView
-class ValidatePendingView(FreeAccessView):
+class ValidatePendingView(FreeAccessView, ThemeView):
template_name = "validate_pending.html"
def get_context_data(self, **kwargs):
ctx_my_authorities = {}
ctx_delegation_authorities = {}
ctx_sub_authorities = {}
+ dest = {}
# The user need to be logged in
context['topmenu_items'] = topmenu_items_live('Validation', page)
# so we can sho who is logged
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())