From: Scott Baker Date: Wed, 7 Jan 2015 07:00:30 +0000 (-0800) Subject: dashboard iframe selector that can handle multiple nagios without namespace collisions X-Git-Url: http://git.onelab.eu/?p=plstackapi.git;a=commitdiff_plain;h=d39b34a4e7f3fc6e6c9c1b48d6b734a2095e924e dashboard iframe selector that can handle multiple nagios without namespace collisions --- diff --git a/planetstack/core/dashboard/views/home.py b/planetstack/core/dashboard/views/home.py index 7aaa9b3..0d9ff74 100644 --- a/planetstack/core/dashboard/views/home.py +++ b/planetstack/core/dashboard/views/home.py @@ -89,18 +89,16 @@ class DashboardDynamicView(TemplateView): body = body + '' for j,controllerdashboard in enumerate(view.controllerdashboardviews.all()): - body = body + '
\n' % (i,j,i) - body = body + self.embedDashboard(controllerdashboard.url); - body = body + '
\n'; + body = body + '\n' % (i,j, self.embedDashboard(controllerdashboard.url)); + + body = body + '
\n' % i body = body + """ """ % (i,i,i,i,i,i); else: