app/views/shows/_controls.html.haml in artfully_ose-1.2.0.pre.5 vs app/views/shows/_controls.html.haml in artfully_ose-1.2.0.pre.6

- old
+ new

@@ -1,27 +1,11 @@ - if not show.played? - = form_tag built_event_shows_path(@event), :remote => true, :'data-type' => :json, :class => "sprited pending" do - = hidden_field_tag :show_id, show.id - = submit_tag "Create Tickets", :class => [ 'btn', 'btn-mini' ] - - = form_tag on_sale_event_shows_path(@event), :remote => true, :'data-type' => :json, :class => "sprited built" do - = hidden_field_tag :show_id, show.id - = submit_tag "Put On Sale", :class => [ 'btn', 'btn-mini' ] - .confirmation.dialog - %p= "You are about to put all tickets for the #{l show.datetime_local_to_event} showing of #{show.event.name} on sale and make it public." - = form_tag unpublished_event_show_path(show.event, show), :remote => true, :'data-type' => :json, :class => "sprited published", :id => "show_#{show.id}" do = submit_tag "Unpublish", :class => [ 'btn', 'btn-mini' ] .confirmation.dialog - %p= "You are unpublishing the #{l show.datetime_local_to_event} showing of #{show.event.name}." + %p= "You are unpublishing the #{l show.stats.datetime_local_to_event} show." = form_tag published_event_show_path(show.event, show), :remote => true, :'data-type' => :json, :class => "sprited built unpublished" do = submit_tag "Publish", :class => [ 'btn', 'btn-mini' ] .confirmation.dialog - %p= "You are publishing the #{l show.datetime_local_to_event} showing of #{show.event.name}." - - = form_tag event_show_path(@event, show), :method => :delete, :remote => true, :'data-type' => :json, :class => "sprited destroyable" do - = hidden_field_tag :show_id, show.id - = submit_tag "Delete", :class => [ 'btn', 'btn-mini', 'btn-danger' ] - .confirmation.dialog - %p= "Are you sure you want to delete this show? Any tickets that have been created will also be deleted." + %p= "You are publishing the #{l show.stats.datetime_local_to_event} show." \ No newline at end of file