from plugins.googlemap import GoogleMap
from plugins.hazelnut import Hazelnut
from plugins.lists.simplelist import SimpleList
-from plugins.slicestat import Slicestat
+from plugins.slicestat import SliceStat
# View for 1 platform and its details
class ResourceView(TemplateView):
# query = resource_query,
# )
- resource_stats = Slicestat(
+ resource_stats = SliceStat(
title = None,
page = page,
stats = 'node',
# more general variables expected in the template
context['title'] = 'Information about a resource'
# the menu items on the top
- context['topmenu_items'] = topmenu_items('Dashboard', self.request)
+ context['topmenu_items'] = topmenu_items(None, self.request)
# so we can sho who is logged
context['username'] = the_user(self.request)