Sha256: 9699b3cf24a2cbee608e686b35b5a3b4697bb0c8fecefda331147590a4cd00ec

Contents?: true

Size: 929 Bytes

Versions: 94

Compression:

Stored size: 929 Bytes

Contents

<li class='navigation-item--<%= sidenav_item.title %> navigation-item' role="none">
  <% if sidenav_item.label? %>
    <%= link_to(sidenav_item.label, sidenav_item.link_url, class: "#{sidenav_item.css_classes}", role: 'link') %>
  <% end %>
  <a href="#" class='Vlt-sidemenu__trigger' role="link" tabindex="<%= sidenav_item_counter.zero? && 0 %>" aria-haspopup="true" aria-expanded="false" <%= sidenav_item_counter.zero? && "id=sidenav-first" %>>
    <% if sidenav_item.svg? %>
      <svg class='<%= sidenav_item.svg_color %>'><use xlink:href='<%= sidenav_item.svg %>' /></svg>
    <% end %>
    <span class='Vlt-sidemenu__label'>
      <%= sidenav_item.normalized_title %>
    </span>
  </a>
  <% if sidenav_item.children.any? %>
    <ul role="menu" aria-label="<%= sidenav_item.normalized_title %>">
      <%= render partial: 'layouts/partials/sidenav_subitem', collection: sidenav_item.children %>
    </ul>
  <% end %>
</li>

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
station-0.5.16 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.15 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.14 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.13 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.12 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.11 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.10 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.9 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.8 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.7 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.6 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.5 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.4 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.3 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.2 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.1 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.5.0 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.4.9 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.4.8 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb
station-0.4.7 lib/nexmo_developer/app/views/layouts/partials/_sidenav_item.html.erb