Sha256: 27c50f4719066f0758f380cb259465f4eca3c14e42f7a512bf9a6e80cbf4f171

Contents?: true

Size: 1.02 KB

Versions: 20

Compression:

Stored size: 1.02 KB

Contents

<%
   children = child_hash[key].keys
   section_node = key
   access_status = access_status(node, @public_sections)
   first_level = in_first_level?(node)
%>
<%= sitemap_ul_tag(node) %>
  <li>
    <%= render :partial => "node", :locals => {
            :node => node,
            :node_type => "section",
            :icon => "#{section_icons(section_node, children)} #{action_icon(first_level ? :root_folder : :folder, :class => "folder")}",
            :hidden => node.hidden?,
            :access_icon => status_icon(access_status),
            :parent => parent
    } %>
    <% children.each do |child_section_node| %>
        <%= render :partial => child_section_node.node.partial_for,
                   :locals => {:access_icon => access_status,
                               :node => child_section_node.node,
                               :parent => node,
                               :child_hash => child_hash[key],
                               :key => child_section_node
                   } %>
    <% end %>

  </li>
</ul>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
browsercms-3.5.7 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.6 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.5 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.4 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.3 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.2 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.1 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.0 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.0.rc3 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.0.rc2 app/views/cms/section_nodes/_section.html.erb
browsercms-3.5.0.rc1 app/views/cms/section_nodes/_section.html.erb
browsercms-3.4.2 app/views/cms/section_nodes/_section.html.erb
browsercms-3.3.4 app/views/cms/section_nodes/_section.html.erb
browsercms-3.4.2.rc1 app/views/cms/section_nodes/_section.html.erb
browsercms-3.4.1 app/views/cms/section_nodes/_section.html.erb
browsercms-3.4.0 app/views/cms/section_nodes/_section.html.erb
browsercms-3.4.0.rc2 app/views/cms/section_nodes/_section.html.erb
browsercms-3.4.0.rc1 app/views/cms/section_nodes/_section.html.erb
browsercms-3.3.3 app/views/cms/section_nodes/_section.html.erb
browsercms-3.1.5 app/views/cms/section_nodes/_section.html.erb