Sha256: 1797196aa1b00bc810eeeb9a82335d6199423d1fae16697e1ba36ee53d619451

Contents?: true

Size: 987 Bytes

Versions: 91

Compression:

Stored size: 987 Bytes

Contents

.block#block-text
  .content
    %h2.title= "Databag: #{@databag_name}"
    .inner
      = partial('item_navigation', :active => 'show')
    .content
      .inner
        %table.table
          %tr
            %th.first{:colspan => 2} Databag Items
            %th  
            %th.last  
            - @databag.sort.each_with_index do |databag_item_uri, index|
              %tr{:class => "#{index % 2 == 1 ? 'odd' : 'even'}"}
                %td{:colspan => 2}= link_to databag_item_uri[0], url(:databag_databag_item, :id => databag_item_uri[0], :databag_id => @databag_name)
                %td
                  = link_to('Edit', url(:edit_databag_databag_item, :id => databag_item_uri[0], :databag_id => @databag_name)) 
                  |
                  = link_to('Delete', url(:databag_databag_item, :id => databag_item_uri[0], :databag_id => @databag_name), :method => "delete", :confirm => "Really delete Databag Item #{databag_item_uri[0]}?  There is no undo.")

Version data entries

91 entries across 91 versions & 1 rubygems

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