Sha256: dc966618dba4f9dc8f79c1025aced32d488efdec55fe940dbda1b619e27b6de5

Contents?: true

Size: 693 Bytes

Versions: 4

Compression:

Stored size: 693 Bytes

Contents

.secondary-navigation
  %ul
    %li{ :class => "first #{active == 'index' ? "active" : ''}"}= link_to('List', slice_url(:nodes))
    %li{ :class => (active == 'create' ? "active" : '')}= link_to('Create', slice_url(:new_node))
    - if active != 'create' && active != 'index'
      %li{ :class => (active == 'show' ? "active" : '')}= link_to('Show', slice_url(:node, escape_node_id(@node.name)))
      %li{ :class => (active == 'edit' ? "active" : '')}= link_to('Edit', slice_url(:edit_node, escape_node_id(@node.name)))
      %li= link_to('Delete', slice_url(:node, escape_node_id(@node.name)), :method => "delete", :confirm => "Really delete node #{@node.name}? There is no undo.")
  .clear

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chef-server-slice-0.7.16 app/views/nodes/_navigation.html.haml
chef-server-slice-0.7.14 app/views/nodes/_navigation.html.haml
chef-server-slice-0.7.12 app/views/nodes/_navigation.html.haml
chef-server-slice-0.7.10 app/views/nodes/_navigation.html.haml