Sha256: 4190c567dfbae74202cc1d140cd47f21f148f4dca5f60434fafddfbd1943e0fa

Contents?: true

Size: 1.86 KB

Versions: 70

Compression:

Stored size: 1.86 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 for Environment \"#{@current_env}\""
              = @env_run_list_exists ? "" : "(_default)"
            %table.table
              %tr
                %th.first Position
                %th Name
                %th Version
                %th.last Type
                - if @run_list.empty?
                  %tr
                    %td{:colspan => 2} This role does not include any roles or recipes.
                - else
                  -@run_list.each_with_index do |run_list_item, i|
                    %tr
                      %td.position= i
                      %td= run_list_item.name 
                      %td= run_list_item.version 
                      %td= run_list_item.type 
          .left.accordion
            %h3.head= link_to("Recipes", "#")
            %div
              %span.description.form.help
                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 role applies no recipes.
                - else
                  - @recipes.each_with_index do |recipe, i|
                    %tr
                      %td.position= i
                      %td= recipe
          .left 
            %h3 Default Attributes
            = build_tree('defattrs', @role.default_attributes)

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

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
chef-server-webui-10.30.4 app/views/roles/show.html.haml
chef-server-webui-10.30.2 app/views/roles/show.html.haml
chef-server-webui-10.30.2.rc.0 app/views/roles/show.html.haml
chef-server-webui-10.30.0.rc.2 app/views/roles/show.html.haml
chef-server-webui-10.30.0.rc.1 app/views/roles/show.html.haml
chef-server-webui-10.30.0.rc.0 app/views/roles/show.html.haml
chef-server-webui-10.28.0 app/views/roles/show.html.haml
chef-server-webui-10.28.0.rc.0 app/views/roles/show.html.haml
chef-server-webui-10.26.0 app/views/roles/show.html.haml
chef-server-webui-10.26.0.beta.0 app/views/roles/show.html.haml
chef-server-webui-10.24.4 app/views/roles/show.html.haml
chef-server-webui-10.24.0 app/views/roles/show.html.haml
chef-server-webui-10.24.0.rc.2 app/views/roles/show.html.haml
chef-server-webui-10.24.0.rc.1 app/views/roles/show.html.haml
chef-server-webui-10.24.0.rc.0 app/views/roles/show.html.haml
chef-server-webui-10.22.0 app/views/roles/show.html.haml
chef-server-webui-10.22.0.rc.0 app/views/roles/show.html.haml
chef-server-webui-10.20.0 app/views/roles/show.html.haml
chef-server-webui-10.18.4.rc.2 app/views/roles/show.html.haml
chef-server-webui-10.18.4.rc.1 app/views/roles/show.html.haml