Skip to content

Commit

Permalink
Merge pull request #1595 from sarken/issue_2783
Browse files Browse the repository at this point in the history
2783 Consistent Delete Work confirmation text from edit and show
  • Loading branch information
CristinaRO committed Apr 14, 2014
2 parents 51e0d25 + 5eab7ba commit dbdbd8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/works/_work_header_navigation.html.erb
Expand Up @@ -5,7 +5,7 @@
<li class="add"><%= link_to ts("Add Chapter"), new_work_chapter_path(@work) %></li>
<li class="edit"><%= link_to ts("Edit"), edit_work_path(@work) %></li>
<li class="edit tag"><%= link_to ts("Edit Tags"), edit_tags_work_path(@work) %></li>
<li class="del"><%= link_to ts("Delete Work"), confirm_delete_work_path(@work), :confirm => ts("Are you SURE you want to delete your work? THIS CANNOT BE UNDONE.") %></li>
<li class="del"><%= link_to ts("Delete Work"), confirm_delete_work_path(@work), :confirm => ts("Are you sure you want to delete this work? This will destroy all comments and kudos on this work as well and CANNOT BE UNDONE!") %></li>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/works/edit.html.erb
Expand Up @@ -24,7 +24,7 @@
<% if @work.posted? %>
<li><%= link_to ts('Orphan Work'), {:controller => 'orphans', :action => 'new', :work_id => @work.id} %></li>
<% end %>
<li><%= link_to ts('Delete Work'), @work, :confirm => ts('Are you sure?'), :method => :delete %></li>
<li><%= link_to ts("Delete Work"), confirm_delete_work_path(@work), :confirm => ts("Are you sure you want to delete this work? This will destroy all comments and kudos on this work as well and CANNOT BE UNDONE!") %></li>
</ul>
<!--/subnav-->

Expand Down

0 comments on commit dbdbd8a

Please sign in to comment.