Paired-With: Jesse Wolfe
Signed-off-by: Nick Lewis <[email protected]>
---
Local-branch: ticket/next/5867
app/views/node_groups/diff.html.haml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/views/node_groups/diff.html.haml
b/app/views/node_groups/diff.html.haml
index cf8e21d..16943e6 100644
--- a/app/views/node_groups/diff.html.haml
+++ b/app/views/node_groups/diff.html.haml
@@ -7,15 +7,15 @@
- unless @nodes_without_latest_inspect_reports.empty?
.item
%h2 No latest inspect report
- = @nodes_without_latest_inspect_reports.map {|node| link_to node.name,
node_path(node)}.join(", ")
+ = @nodes_without_latest_inspect_reports.sort_by(&:name).map {|node|
link_to node.name, node_path(node)}.join(", ")
- unless @nodes_without_baselines.empty?
.item
%h2 No baseline
- = @nodes_without_baselines.map {|node| link_to node.name,
node_path(node)}.join(", ")
+ = @nodes_without_baselines.sort_by(&:name).map {|node| link_to
node.name, node_path(node)}.join(", ")
- unless @nodes_without_differences.empty?
.item
%h2 No differences from baseline
- = @nodes_without_differences.map {|node| link_to node.name,
node_path(node)}.join(", ")
+ = @nodes_without_differences.sort_by(&:name).map {|node| link_to
node.name, node_path(node)}.join(", ")
- unless @nodes_with_differences.empty?
.item
%h2 Nodes with difference from baseline
--
1.7.3.5
--
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.