Sha256: ce6f10851038022300188521d9cbeb169e9899def3a3d3c422562c9daa971fcf

Contents?: true

Size: 645 Bytes

Versions: 11

Compression:

Stored size: 645 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
chef-server-webui-0.8.16 app/views/roles/_navigation.html.haml
chef-server-webui-0.8.14 app/views/roles/_navigation.html.haml
chef-server-webui-0.8.10 app/views/roles/_navigation.html.haml
chef-server-webui-0.8.8 app/views/roles/_navigation.html.haml
chef-server-webui-0.8.6 app/views/roles/_navigation.html.haml
chef-server-webui-0.8.4 app/views/roles/_navigation.html.haml
chef-server-webui-0.8.2 app/views/roles/_navigation.html.haml
chef-server-slice-0.7.16 app/views/roles/_navigation.html.haml
chef-server-slice-0.7.14 app/views/roles/_navigation.html.haml
chef-server-slice-0.7.12 app/views/roles/_navigation.html.haml
chef-server-slice-0.7.10 app/views/roles/_navigation.html.haml