diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 14:36:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 14:36:49 +0000 |
commit | 7b40767428ac5c04ba80d95c7c90b049c73c7f36 (patch) | |
tree | 641733a4a56afead53aba5da5faba801d84c2c13 /app/views/issue_statuses | |
parent | 56666a41b82d98a773d93dd8fa903a4d702b07ec (diff) | |
download | redmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.tar.gz redmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.zip |
Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_statuses')
-rw-r--r-- | app/views/issue_statuses/index.html.erb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/issue_statuses/index.html.erb b/app/views/issue_statuses/index.html.erb index 430e873f2..dea9fb3cb 100644 --- a/app/views/issue_statuses/index.html.erb +++ b/app/views/issue_statuses/index.html.erb @@ -1,6 +1,6 @@ <div class="contextual"> <%= link_to l(:label_issue_status_new), new_issue_status_path, :class => 'icon icon-add' %> -<%= link_to(l(:label_update_issue_done_ratios), update_issue_done_ratio_issue_statuses_path, :class => 'icon icon-multiple', :method => 'post', :confirm => l(:text_are_you_sure)) if Issue.use_status_for_done_ratio? %> +<%= link_to(l(:label_update_issue_done_ratios), update_issue_done_ratio_issue_statuses_path, :class => 'icon icon-multiple', :method => 'post', :data => {:confirm => l(:text_are_you_sure)}) if Issue.use_status_for_done_ratio? %> </div> <h2><%=l(:label_issue_status_plural)%></h2> @@ -27,10 +27,7 @@ <td align="center"><%= checked_image status.is_closed? %></td> <td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td> <td class="buttons"> - <%= link_to(l(:button_delete), issue_status_path(status), - :method => :delete, - :confirm => l(:text_are_you_sure), - :class => 'icon icon-del') %> + <%= delete_link issue_status_path(status) %> </td> </tr> <% end %> |