\n' % (i, view.name)
body = body + "\n"
for i,view in enumerate(dashboards):
+ # don't display disabled dashboards
+ if (not view.enabled):
+ continue
+
url = view.url
body = body + '
\n' % i
if (view.controllers.all().count()>0):
- body = body + ''
for j,controllerdashboard in enumerate(view.controllerdashboardviews.all()):
body = body + '\n' % (i,j, self.embedDashboard(controllerdashboard.url));
@@ -96,11 +104,15 @@ class DashboardDynamicView(TemplateView):
body = body + """
- """ % (i,i,i,i,i,i);
+ """ % (i,i,i,i,i,i,i);
else:
body = body + self.embedDashboard(url)
body = body + '