from plugins.querytable import QueryTable
from myslice.configengine import ConfigEngine
+from myslice.theme import ThemeView
# View for 1 platform and its details
-class PlatformView(FreeAccessView):
+class PlatformView(FreeAccessView, ThemeView):
template_name = "platform.html"
def get_context_data(self, **kwargs):
context['topmenu_items'] = topmenu_items_live('Platforms', page)
# so we can sho who is logged
context['username'] = the_user(self.request)
-
+ context['theme'] = self.theme
context.update(page.prelude_env())
return context