Signed-off-by: Pieter van de Bruggen <[email protected]>
---
Local-branch: tickets/next/6989
 app/views/reports/_report.html.haml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/app/views/reports/_report.html.haml 
b/app/views/reports/_report.html.haml
index 6455aa4..910de8e 100644
--- a/app/views/reports/_report.html.haml
+++ b/app/views/reports/_report.html.haml
@@ -9,11 +9,13 @@
 
 .item
   - user_facing = { '600_resource_statuses' => 'Events', '700_log' => 'Log', 
'800_metrics' => 'Metrics' }
+  - panels = []
   %ul#report-tabs
     - Registry.each_callback :core, :report_view_widgets do |name, widget|
+      - panels << capture_haml do
+        %div(id="#{user_facing[name].downcase}")
+          = widget.call self, report
       %li
         %a{ :href => "##{user_facing[name].downcase}" }
           = user_facing[name]
-  - Registry.each_callback :core, :report_view_widgets do |name, widget|
-    %div(id="#{user_facing[name].downcase}")
-      = widget.call self, report
+  = panels
-- 
1.7.4.1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to