Sha256: 69d0061b529bf0db8c55142104d21d832952377946c8d3f373a221a64086c269

Contents?: true

Size: 663 Bytes

Versions: 7

Compression:

Stored size: 663 Bytes

Contents

.secondary-navigation
  %ul
    %li{ :class => "first #{active == 'index' ? "active" : ''}"}= link_to('List', slice_url(:clients))
    %li{ :class => (active == 'create' ? "active" : '')}= link_to('Create', slice_url(:new_client))
    - if active != 'create' && active != 'index'
      %li{ :class => (active == 'show' ? "active" : '')}= link_to('Show', slice_url(:client, @client.name))
      %li{ :class => (active == 'edit' ? "active" : '')}= link_to('Edit', slice_url(:edit_client, @client.name))
      %li= link_to('Delete', slice_url(:client, @client.name), :method => "delete", :confirm => "Really delete Role #{@client.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/clients/_navigation.html.haml
chef-server-webui-0.8.14 app/views/clients/_navigation.html.haml
chef-server-webui-0.8.10 app/views/clients/_navigation.html.haml
chef-server-webui-0.8.8 app/views/clients/_navigation.html.haml
chef-server-webui-0.8.6 app/views/clients/_navigation.html.haml
chef-server-webui-0.8.4 app/views/clients/_navigation.html.haml
chef-server-webui-0.8.2 app/views/clients/_navigation.html.haml