|
|
|
@ -404,10 +404,13 @@ module ApplicationHelper |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def reorder_links(name, url) |
|
|
|
|
content_tag(:span, |
|
|
|
|
link_to(image_tag('2uparrow.png', :alt => l(:label_sort_highest)), url.merge({"#{name}[move_to]" => 'highest'}), :method => :post, :title => l(:label_sort_highest)) + |
|
|
|
|
link_to(image_tag('1uparrow.png', :alt => l(:label_sort_higher)), url.merge({"#{name}[move_to]" => 'higher'}), :method => :post, :title => l(:label_sort_higher)) + |
|
|
|
|
link_to(image_tag('1downarrow.png', :alt => l(:label_sort_lower)), url.merge({"#{name}[move_to]" => 'lower'}), :method => :post, :title => l(:label_sort_lower)) + |
|
|
|
|
link_to(image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), url.merge({"#{name}[move_to]" => 'lowest'}), :method => :post, :title => l(:label_sort_lowest)) |
|
|
|
|
link_to(image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), url.merge({"#{name}[move_to]" => 'lowest'}), :method => :post, :title => l(:label_sort_lowest)), |
|
|
|
|
:class => "reorder-icons" |
|
|
|
|
) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def breadcrumb(*args) |
|
|
|
|