Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated check for an empty run list to use recipes instead of the une…

…xpanded run list. Also fixing some typos on the show role tab that talked about nodes where it really meant role.
  • Loading branch information...
commit 118f1d863d12f4fcdcaad263c3e06fe234c73c24 1 parent 7369d46
@kcbraunschweig kcbraunschweig authored btm committed
View
2  chef-server-webui/app/views/nodes/show.html.haml
@@ -37,7 +37,7 @@
%tr
%th.first Position
%th.last Name
- - if @node.run_list.empty?
+ - if recipes.empty?
%tr
%td{:colspan => 2} This node has no recipes applied.
- else
View
4 chef-server-webui/app/views/roles/show.html.haml
@@ -33,14 +33,14 @@
%h3.head= link_to("Recipes", "#")
%div
%span.description.form.help
- This is the list of recipes, fully expanded, as they will be applied to the node in question.
+ This is the list of recipes, fully expanded, as they will be applied by the role in question.
%table#recipes.table
%tr
%th.first Position
%th.last Name
- if @run_list.empty?
%tr
- %td{:colspan => 2} This node has no recipes applied.
+ %td{:colspan => 2} This role applies no recipes.
- else
- @recipes.each_with_index do |recipe, i|
%tr
Please sign in to comment.
Something went wrong with that request. Please try again.