Sha256: 9011e52955061c56ba37855ff778fbd1feaf0b5435ceb5c32f4a33819f6ba434

Contents?: true

Size: 798 Bytes

Versions: 3

Compression:

Stored size: 798 Bytes

Contents

- if editable?(organisation)
  .menu{:data => {:for => "organisation_#{organisation.id}"}}
    %ul.actions
      %li
        = link_to t(:edit_organisation), droom.edit_organisation_url(organisation), :class => 'edit', :data => {:action => "popup", :replaced => "#organisation_#{organisation.id}"}
      %li
        = link_to t(:add_person), droom.new_organisation_person_url(organisation), :class => 'add', :data => {:action => "popup", :affected => "#organisation_#{organisation.id}"}
      %li
        = link_to t(:delete_organisation), droom.organisation_url(organisation), :method => 'delete', :class => 'delete', :data => {:action => "remove", :removed => "#organisation_#{organisation.id}", :affected => ".minimonth", :confirm => t(:confirm_delete_organisation, :name => organisation.name)}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/organisations/_action_menu.html.haml
droom-0.4.2 app/views/droom/organisations/_action_menu.html.haml
droom-0.4.1 app/views/droom/organisations/_action_menu.html.haml