Add position ordering and hiding page for i18n
This commit is contained in:
1 parent
f190ce18ee
commit
ce1fecaf93
5 files changed
+35
-8
No files matched your search
@@ -28,12 +28,15 @@ module Admin::ItemHelper
|
||||
end
|
||||
|
||||
def render_children(parent)
|
||||
if children = parent.children
|
||||
children = parent.ordered_children
|
||||
if !children.entries.blank?
|
||||
ret = ''
|
||||
children.each do |child|
|
||||
ret << render_node_and_children(child)
|
||||
end
|
||||
ret
|
||||
else
|
||||
''
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user