app/views/roles/index.html.haml in chef-server-webui-10.14.0.beta.3 vs app/views/roles/index.html.haml in chef-server-webui-10.14.0.rc.0
- old
+ new
@@ -9,10 +9,10 @@
%tr
%th.first{:colspan => 2} Name
%th
%th.last
- even = false;
- - @role_list.each do |role|
+ - @role_list.sort_by {|value| value.downcase}.each do |role|
%tr{ :class => even ? "even" : "odd" }
%td{:colspan => 2}= link_to(role[0], url(:role, role[0]))
%td
= link_to('Edit', url(:edit_role, role[0]))
|