Sha256: 9fe4c4c2c2c97583f471e37552968f78b1b3228e42513dcec21619783dda222b
Contents?: true
Size: 555 Bytes
Versions: 34
Compression:
Stored size: 555 Bytes
Contents
module Cms module SectionNodesHelper def section_icons(node) if (node.root? || node.parent.root? || node.parent.parent.root?) node.child_nodes.empty? ? image_tag("cms/sitemap/no_contents.png", :class => "no_folder_toggle large") : image_tag("cms/sitemap/gray_expand.png", :class => "folder_toggle large") else node.child_nodes.empty? ? image_tag("cms/sitemap/no_contents.png", :class => "no_folder_toggle") : image_tag("cms/sitemap/expand.png", :class => "folder_toggle") end end end end
Version data entries
34 entries across 34 versions & 10 rubygems