app/views/roles/show.html.haml in chef-server-webui-0.9.0.a91 vs app/views/roles/show.html.haml in chef-server-webui-0.9.0.a92
- old
+ new
@@ -25,11 +25,11 @@
%td.position= i
%td= run_list_item.name
%td= run_list_item.type
.left.accordion
%h3.head= link_to("Recipes", "#")
- - full_recipe_list, default_attrs, override_attrs = @role.run_list.expand()
+ - recipes = @role.run_list.expand('server').recipes
%div
%span.description.form.help
This is the list of recipes, fully expanded, as they will be applied to the node in question.
%table#recipes.table
%tr
@@ -37,13 +37,13 @@
%th.last Name
- if @role.run_list.empty?
%tr
%td{:colspan => 2} This node has no recipes applied.
- else
- - full_recipe_list.each_index do |i|
+ - recipes.each do |recipe|
%tr
%td.position= i
- %td= full_recipe_list[i]
+ %td= recipes
.left
%h3 Default Attributes
= build_tree('defattrs', @role.default_attributes)
.left