Sha256: 296812c52ab4dc4d0d32e83e87a3d71bef97f007999599a4a7c4e20740467bc1

Contents?: true

Size: 1.34 KB

Versions: 20

Compression:

Stored size: 1.34 KB

Contents

<li class="navigation-item--<%= sidenav_subitem.title.parameterize %> navigation-item">
  <% if sidenav_subitem.show_link? %>
    <%= link_to(sidenav_subitem.url, class: 'Vlt-sidemenu__link', role: 'link') do %>
      <% if sidenav_subitem.label? %>
        <span class="Vlt-sidemenu__label">
          <%= sidenav_subitem.title %>
          <span class="<%= sidenav_subitem.css_classes %>">
            <%= sidenav_subitem.label %>
          </span>
        </span>
      <% else %>
        <%= sidenav_subitem.title %>
      <% end %>
    <% end %>
  <% elsif sidenav_subitem.collapsible? %>
    <li class="js--collapsible navigation-item--<%= sidenav_subitem.title.parameterize %> navigation-item">
      <a class="Vlt-sidemenu__trigger" href="/concepts" role="link">
        <span class="Vlt-sidemenu__label"><%= sidenav_subitem.title %></span>
      </a>
      <% if sidenav_subitem.children.any? %>
        <ul>
          <%= render partial: 'layouts/partials/sidenav_subitem', collection: sidenav_subitem.children %>
        </ul>
      <% end %>
    </li>
  <% else %>
    <h5 class="Vlt-sidemenu__title Vlt-sidemenu__title--border"><%= sidenav_subitem.title %></h5>
    <% if sidenav_subitem.children.any? %>
      <ul>
        <%= render partial: 'layouts/partials/sidenav_subitem', collection: sidenav_subitem.children %>
      </ul>
    <% end %>
  <% end %>
</li>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
station-0.0.115 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.114 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.113 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.112 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.111 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.110 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.109 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.108 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.107 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.106 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.105 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.104 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.103 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.102 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.101 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.100 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.97 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.96 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.95 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb
station-0.0.93 lib/nexmo_developer/app/views/layouts/partials/_sidenav_subitem.html.erb