Sha256: 34e1bb4d025bd44b571bfb9949de4c0457e4d89f5d44d274fafc8130b0b0195b

Contents?: true

Size: 938 Bytes

Versions: 10

Compression:

Stored size: 938 Bytes

Contents

<%- navigation.each do |topic_group| -%>
  <%- if not topic_group.has_key?(:topics) -%>
      <li><a class="<%= topic_id.start_with?(topic_group[:id]) ? ' active' : '' %>" href="<%= subtopic_shim %><%= topic_group[:path] %>"><%= topic_group[:name] %></a></li>
  <%- else -%>
    <li class="nav-header">
      <a class="" href="#" data-toggle="collapse" data-target="#topicGroup-<%= topic_group[:id].hash %>">
        <span id="sgSpan-<%= topic_group[:id].hash %>" class="fa <%= topic_id.start_with?(topic_group[:id]) ? 'fa-caret-down' : 'fa-caret-right' %>"></span>&nbsp;<%= topic_group[:name] %>
      </a>
    <ul id="topicGroup-<%= topic_group[:id].hash %>" class="collapse <%= topic_id.start_with?(topic_group[:id]) ? 'in' : '' %> list-unstyled">
      <%= render("_templates/_nav.html.erb", :navigation => topic_group[:topics], :topic_id => topic_id, :subtopic_shim => subtopic_shim) %>
    </ul>
    </li>
  <%- end -%>
<%- end -%>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ascii_binder_gabriel_rh-0.0.1 templates/_templates/_nav.html.erb
ascii_binder-1.2 templates/_templates/_nav.html.erb
ascii_binder-1.0.1 templates/_templates/_nav.html.erb
ascii_binder-1.0 templates/_templates/_nav.html.erb
ascii_binder-0.2.3 templates/_templates/_nav.html.erb
ascii_binder-0.2.2 templates/_templates/_nav.html.erb
ascii_binder-0.2.1 templates/_templates/_nav.html.erb
ascii_binder-0.2.0 templates/_templates/_nav.html.erb
ascii_binder-0.1.15.3 templates/_templates/_nav.html.erb
ascii_binder-0.1.15.2 templates/_templates/_nav.html.erb