@@ -454,6 +454,9 module ApplicationHelper | |||
|
454 | 454 | end |
|
455 | 455 | |
|
456 | 456 | def reorder_links(name, url, method = :post) |
|
457 | # TODO: remove associated styles from application.css too | |
|
458 | ActiveSupport::Deprecation.warn "Application#reorder_links will be removed in Redmine 4." | |
|
459 | ||
|
457 | 460 | link_to(l(:label_sort_highest), |
|
458 | 461 | url.merge({"#{name}[move_to]" => 'highest'}), :method => method, |
|
459 | 462 | :title => l(:label_sort_highest), :class => 'icon-only icon-move-top') + |
@@ -31,6 +31,7 module ActiveRecord | |||
|
31 | 31 | # to give it an entire string that is interpolated if you need a tighter scope than just a foreign key. |
|
32 | 32 | # Example: <tt>acts_as_list :scope => 'todo_list_id = #{todo_list_id} AND completed = 0'</tt> |
|
33 | 33 | def acts_as_list(options = {}) |
|
34 | ActiveSupport::Deprecation.warn "The acts_as_list plugin will be removed from Redmine 4 core, use the acts_as_list gem or similar implementation instead." | |
|
34 | 35 | configuration = { :column => "position", :scope => "1 = 1" } |
|
35 | 36 | configuration.update(options) if options.is_a?(Hash) |
|
36 | 37 |
General Comments 0
You need to be logged in to leave comments.
Login now