Sha256: d9bd6967fa08dd76b955f569e9b108a8fa1bb341a027f46c0f5e03cc207b49b2

Contents?: true

Size: 1.75 KB

Versions: 19

Compression:

Stored size: 1.75 KB

Contents

.block#block-tables
  .content
    %h2.title= "Role #{h @role.name}"
    .inner
      = partial("navigation", :active => "show")
      .content
        .inner
          .left
            %h3 Description
            = @role.description

          .left
            %h3 Run List
            %table.table
              %tr
                %th.first Position
                %th Name
                %th.last Type
                - if @role.run_list.empty?
                  %tr
                    %td{:colspan => 2} This role does not include any roles or recipes.
                - else
                  -@role.run_list.each_with_index do |run_list_item, i|
                    %tr
                      %td.position= i
                      %td= run_list_item.name 
                      %td= run_list_item.type 
          .left.accordion
            %h3.head= link_to("Recipes", "#")
            - 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
                  %th.first Position
                  %th.last Name
                - if @role.run_list.empty?
                  %tr
                    %td{:colspan => 2} This node has no recipes applied.
                - else
                  - recipes.each_with_index do |recipe, i|
                    %tr
                      %td.position= i
                      %td= recipes
          .left 
            %h3 Default Attributes
            = build_tree('defattrs', @role.default_attributes)

          .left 
            %h3 Override Attributes
            = build_tree('overattrs', @role.override_attributes)

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
chef-server-webui-0.9.18 app/views/roles/show.html.haml
chef-server-webui-0.9.16 app/views/roles/show.html.haml
chef-server-webui-0.9.14 app/views/roles/show.html.haml
chef-server-webui-0.9.14.rc.1 app/views/roles/show.html.haml
chef-server-webui-0.9.14.beta.1 app/views/roles/show.html.haml
chef-server-webui-0.9.12 app/views/roles/show.html.haml
chef-server-webui-0.9.10 app/views/roles/show.html.haml
chef-server-webui-0.9.10.rc.3 app/views/roles/show.html.haml
chef-server-webui-0.9.10.rc.2 app/views/roles/show.html.haml
chef-server-webui-0.9.10.rc.1 app/views/roles/show.html.haml
chef-server-webui-0.9.10.rc.0 app/views/roles/show.html.haml
chef-server-webui-0.9.8 app/views/roles/show.html.haml
chef-server-webui-0.9.8.rc.0 app/views/roles/show.html.haml
chef-server-webui-0.9.8.beta.2 app/views/roles/show.html.haml
chef-server-webui-0.9.8.beta.1 app/views/roles/show.html.haml
chef-server-webui-0.9.6 app/views/roles/show.html.haml
chef-server-webui-0.9.4 app/views/roles/show.html.haml
chef-server-webui-0.9.2 app/views/roles/show.html.haml
chef-server-webui-0.9.0 app/views/roles/show.html.haml