Sha256: f8c74d190c69ab94867b89192e5a601a4582b06a9931ae54842f9cd471d8b127

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 KB

Contents

<ul class="nav navbar-nav">
  <li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"><%= icon(:list, t('b.content')) %></a>
    <div class="dropdown-menu">
      <%= link_to t('b.pages'), backend_pages_path, class: 'dropdown-item' %>
      <%= link_to t('b.snippets'), backend_snippets_path, class: 'dropdown-item' %>
    </div>
  </li>

  <li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"><%= icon(:cog, t('b.settings')) %></a>
    <div class="dropdown-menu">
      <%= link_to t('b.navigation'), backend_navigations_path, class: 'dropdown-item' %>
      <%= link_to t('b.admins'), backend_admins_path, class: 'dropdown-item' %>
      <%= link_to t('b.redirects'), backend_redirects_path, class: 'dropdown-item' %>
      <%= link_to t('b.email'), backend_emails_path, class: 'dropdown-item' %>
      <%= link_to t('b.email_templates'), backend_email_templates_path, class: 'dropdown-item' %>
    </div>
  </li>

  <li class="nav-item dropdown pull-xs-right">
    <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"><%= icon(:user, current_admin.full_name) %></a>
    <div class="dropdown-menu">
      <%= link_to icon(:sign_out, t('b.logout')), backend_session_path(id: 42), method: :delete, data: { confirm: t('b.msg.confirm') }, class: 'dropdown-item' %>
    </div>
  </li>
</ul>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
udongo-1.0.3 app/views/layouts/backend/_top_navigation.html.erb
udongo-1.0.2 app/views/layouts/backend/_top_navigation.html.erb
udongo-1.0.1 app/views/layouts/backend/_top_navigation.html.erb
udongo-1.0.0 app/views/layouts/backend/_top_navigation.html.erb
udongo-0.1.0 app/views/layouts/backend/_top_navigation.html.erb