ecm_cms_navigation 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -41,12 +41,6 @@ if defined?(ActiveAdmin)
|
|
41
41
|
end
|
42
42
|
|
43
43
|
index :title => Ecm::CmsNavigation::NavigationItem.model_name.human(:count => 10) do
|
44
|
-
column do |navigation_item|
|
45
|
-
link_to('▲'.html_safe, move_up_admin_ecm_cms_navigation_navigation_item_path(navigation_item), :class => "arrow") if navigation_item.left_sibling
|
46
|
-
end
|
47
|
-
column do |navigation_item|
|
48
|
-
link_to('▼'.html_safe, move_down_admin_ecm_cms_navigation_navigation_item_path(navigation_item), :class => "arrow") if navigation_item.right_sibling
|
49
|
-
end
|
50
44
|
column :navigation do |navigation_item|
|
51
45
|
link_to navigation_item.navigation, admin_ecm_cms_navigation_navigation_path(navigation_item.navigation)
|
52
46
|
end
|