Sha256: 6478ff846d0e31ca355b02de9cf3ca6b9cd6816ea953a3ac527f574bcd34ac1a

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

- if editable?(event)
  .menu{:data => {:for => "event_#{event.id}"}}
    %ul.actions
      %li
        = link_to t(:edit_event), droom.edit_event_url(event), :class => 'edit', :data => {:action => "popup", :replaced => "#event_#{event.id}", :affected => ".minimonth"}
      %li
        = link_to t(:add_document), droom.new_folder_document_url(event.folder), :class => "add", :data => {:action => "popup", :affected => "#event_#{event.id}"}
      %li
        = link_to t(:add_subfolder), droom.new_folder_folder_url(event.folder), :class => "add", :data => {:action => "popup", :affected => "#event_#{event.id}"}
      %li
        = link_to t(:invite_group), droom.new_event_group_invitation_url(event), :class => "add", :data => {:action => "popup", :affected => "#event_#{event.id}"}
      %li
        = link_to t(:invite_person), droom.new_event_invitation_url(event), :class => "add", :data => {:action => "popup", :affected => ".people"}
      %li
        = link_to t(:delete_event), droom.event_url(event), :method => 'delete', :class => 'delete', :data => {:action => "remove", :removed => "#event_#{event.id}", :affected => ".minimonth", :confirm => t(:confirm_delete_event, :name => event.name)}

Version data entries

4 entries across 4 versions & 1 rubygems

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