This variable was speculative generality.  It was always being set to
true, and wasn't needed.

Paired-with: Jesse Wolfe <[email protected]>
Signed-off-by: Paul Berry <[email protected]>
---
Local-branch: ticket/next/5785
 app/views/reports/_diff.html.haml |    3 +--
 app/views/reports/diff.html.haml  |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/app/views/reports/_diff.html.haml 
b/app/views/reports/_diff.html.haml
index 2824165..68faaba 100644
--- a/app/views/reports/_diff.html.haml
+++ b/app/views/reports/_diff.html.haml
@@ -1,4 +1,3 @@
-- show_expand_all_link ||= false
 .header
   %h4
     Comparing
@@ -9,7 +8,7 @@
 .item
   %h4
     = pluralize(resource_statuses[:failure].length, 'Mismatch')
-    - if resource_statuses[:failure].present? && show_expand_all_link
+    - if resource_statuses[:failure].present?
       %a{ :href => '#', :class => 'expand-all' } (expand all)
   - if resource_statuses[:failure].present?
     %dl#baseline-diff-report
diff --git a/app/views/reports/diff.html.haml b/app/views/reports/diff.html.haml
index 442daab..53b9a38 100644
--- a/app/views/reports/diff.html.haml
+++ b/app/views/reports/diff.html.haml
@@ -4,5 +4,4 @@
     :baseline_report      => @baseline_report,   |
     :my_report            => @my_report,         |
     :resource_statuses    => @resource_statuses, |
-    :diff                 => @diff,              |
-    :show_expand_all_link => true
+    :diff                 => @diff
-- 
1.7.2

-- 
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