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/versions | |
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/versions')
-rw-r--r-- | app/views/versions/show.html.erb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb index f44e3f272..2e104bd39 100644 --- a/app/views/versions/show.html.erb +++ b/app/views/versions/show.html.erb @@ -1,8 +1,7 @@ <div class="contextual"> <%= link_to(l(:button_edit), edit_version_path(@version), :class => 'icon icon-edit') if User.current.allowed_to?(:manage_versions, @version.project) %> <%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :project_id => @version.project, :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @version.project.wiki.nil? %> -<%= link_to(l(:button_delete), version_path(@version, :back_url => url_for(:controller => 'versions', :action => 'index', :project_id => @version.project)), - :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') if User.current.allowed_to?(:manage_versions, @version.project) %> +<%= delete_link version_path(@version, :back_url => url_for(:controller => 'versions', :action => 'index', :project_id => @version.project)) if User.current.allowed_to?(:manage_versions, @version.project) %> <%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %> </div> |