summaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-23 16:16:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-23 16:16:23 +0000
commit4f10dc20e6600b907f97a0beada77b9193250bde (patch)
tree13845c11522ac3ff937dc6825eab312fc270d458 /app/helpers/application_helper.rb
parent3320e651d36b0c44e1f3f5366082c0d184408f6f (diff)
downloadredmine-4f10dc20e6600b907f97a0beada77b9193250bde.tar.gz
redmine-4f10dc20e6600b907f97a0beada77b9193250bde.zip
Removes #reorder_links for Redmine 4.
git-svn-id: http://svn.redmine.org/redmine/trunk@16870 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index b43f817ba..e14cff2e7 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -503,24 +503,6 @@ module ApplicationHelper
str.blank? ? nil : str
end
- def reorder_links(name, url, method = :post)
- # TODO: remove associated styles from application.css too
- ActiveSupport::Deprecation.warn "Application#reorder_links will be removed in Redmine 4."
-
- link_to(l(:label_sort_highest),
- url.merge({"#{name}[move_to]" => 'highest'}), :method => method,
- :title => l(:label_sort_highest), :class => 'icon-only icon-move-top') +
- link_to(l(:label_sort_higher),
- url.merge({"#{name}[move_to]" => 'higher'}), :method => method,
- :title => l(:label_sort_higher), :class => 'icon-only icon-move-up') +
- link_to(l(:label_sort_lower),
- url.merge({"#{name}[move_to]" => 'lower'}), :method => method,
- :title => l(:label_sort_lower), :class => 'icon-only icon-move-down') +
- link_to(l(:label_sort_lowest),
- url.merge({"#{name}[move_to]" => 'lowest'}), :method => method,
- :title => l(:label_sort_lowest), :class => 'icon-only icon-move-bottom')
- end
-
def reorder_handle(object, options={})
data = {
:reorder_url => options[:url] || url_for(object),