Sha256: aa4049ac0d0941ae770d520c49f3a7938385d29a033f59e83819cf2d1995738a

Contents?: true

Size: 1.18 KB

Versions: 20

Compression:

Stored size: 1.18 KB

Contents

%ul.in-table
  %li.dropdown{:id => "#menu#bulkactions"}
    =icon_link_to('Work with...', "#menu#bulkactions", 'icon-asterisk', 'dropdown-toggle dropdown btn', '')
    %ul.sprited-container.dropdown-menu{ :class => [show.state, show.destroyable? ? "destroyable" : "" ] }
      %li
        =link_to "Door List", door_list_event_show_path(@event, @show)
      %li{:class => "sprited built published"}
        =link_to("Unpublish", unpublished_event_show_path(@event, @show), {:remote => true, 'data-type' => :json, :method => :post})
      %li{:class => "sprited built unpublished"}
        =link_to("Publish", published_event_show_path(@event, @show), {:remote => true, 'data-type' => :json, :method => :post})
      - unless show.played?
        %li{:class => "sprited built destroyable"}
          =link_to "Delete", "#delete-confirm", {'data-toggle' => 'modal'}

#delete-confirm.modal
  .modal-header
    .close{'data-dismiss'=>'modal'} x
    %h3 Delete Show
  .modal-body
    Are you sure you want to delete this show?
  .modal-footer
    = link_to "Delete", event_show_path(@event, @show), :class => 'btn btn-danger', :method => :delete
    = link_to "Cancel", "#", :class => 'btn', 'data-dismiss'=>'modal'

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.21 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.20 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.19 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.18 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.17 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.16 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.15 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.12 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.11 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.10 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.9 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.8 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.7 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.6 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.5 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.4 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.3 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.2 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre.1 app/views/shows/_work_with.html.haml
artfully_ose-1.2.0.pre app/views/shows/_work_with.html.haml