fix for tenant view
diff --git a/planetstack/core/plus/views.py b/planetstack/core/plus/views.py
index 37165c0..451ee6d 100644
--- a/planetstack/core/plus/views.py
+++ b/planetstack/core/plus/views.py
@@ -53,7 +53,15 @@
def get(self, request, name="hpc_historical", *args, **kwargs):
context = self.get_context_data(**kwargs)
- t = template.Template(self.head_template + open("/opt/planetstack/templates/admin/dashboard/%s.html" % name, "r").read() + self.tail_template)
+ head_template = self.head_template
+ tail_template = self.tail_template
+
+ if (name=="tenant"):
+ # quick fix for tenant view
+ head_template = head_template + '<div id="tabs-5"></div>'
+
+
+ t = template.Template(head_template + open("/opt/planetstack/templates/admin/dashboard/%s.html" % name, "r").read() + self.tail_template)
userDetails = getUserSliceInfo(request.user)
#context['site'] = userDetails['site']