mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-06 21:00:20 +01:00
get all non-wip scenarios running again for context and project
This commit is contained in:
parent
0e81706fee
commit
d1b35090ab
7 changed files with 41 additions and 66 deletions
|
|
@ -23,18 +23,6 @@ suppress_edit_button ||= false
|
|||
<%= link_to_delete_context(context, image_tag( "blank.png", :title => t('contexts.delete_context'), :class=>"delete_item")) %>
|
||||
<%= suppress_edit_button ? "" : link_to_edit_context(context, image_tag( "blank.png", :title => t('contexts.edit_context'), :class=>"edit_item")) %>
|
||||
|
||||
<% # = # link_to_remote(
|
||||
#image_tag( "blank.png", :title => "Delete context", :class=>"delete_item"),
|
||||
#:url => {:controller => 'contexts', :action => 'destroy', :id => context.id},
|
||||
#:method => 'delete',
|
||||
#:with => "'_source_view=#{@source_view}'",
|
||||
#:before => "$('#{dom_id(context)}').block({message:null});",
|
||||
#:complete => "$('#{dom_id(context)}').unblock();",
|
||||
#:confirm => "Are you sure that you want to delete the context '#{context.name}'? Be aware that this will also delete all (repeating) actions in this context!",
|
||||
#:html => { :id => dom_id(context, 'delete') }
|
||||
#)
|
||||
%>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="<%= dom_id(context, 'edit') %>" class="edit-form" style="display:none;">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue