Sha256: fed2eb5323bc962936656518cbcd00aac18b56a1e9b5d6f151fc2670b3fc5404

Contents?: true

Size: 675 Bytes

Versions: 7

Compression:

Stored size: 675 Bytes

Contents

.secondary-navigation
  %ul
    %li{ :class => "first #{active == 'index' ? "active" : ''}"}= link_to('List', slice_url(:databags))
    %li{ :class => (active == 'create' ? "active" : '')}= link_to('Create', slice_url(:new_databag))
    - if active != 'create' && active != 'index'
      %li{ :class => (active == 'show' ? "active" : '')}= link_to('Show', slice_url(:databag, @databag_name))
      %li{ :class => (active == 'edit' ? "active" : '')}= link_to('Edit', slice_url(:edit_databag, @databag_name))
      %li= link_to('Delete', slice_url(:databag, @databag_name), :method => "delete", :confirm => "Really delete Databag #{@databag_name}? There is no undo.")
  .clear

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chef-server-webui-0.8.16 app/views/databags/_navigation.html.haml
chef-server-webui-0.8.14 app/views/databags/_navigation.html.haml
chef-server-webui-0.8.10 app/views/databags/_navigation.html.haml
chef-server-webui-0.8.8 app/views/databags/_navigation.html.haml
chef-server-webui-0.8.6 app/views/databags/_navigation.html.haml
chef-server-webui-0.8.4 app/views/databags/_navigation.html.haml
chef-server-webui-0.8.2 app/views/databags/_navigation.html.haml