Sha256: ff24a773777050d77ca145d121cdad4dd0943af02f1374bcf9699551abf6a4aa

Contents?: true

Size: 1.36 KB

Versions: 8

Compression:

Stored size: 1.36 KB

Contents

<!-- Topbar - Navigation Header -->
<div class="navbar-header">
  <%= link_to phcscriptcdn.script_listings_path, class: "navbar-brand" do %>
    <strong>PHC</strong>ScriptCDN
  <% end %>
  <button type="button" class="navbar-toggle" data-click="sidebar-toggled">
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
  </button>
</div>
<!-- Topbar - Navigation Header -->

<!-- Topbar - Navigation Main -->
<% if current_user %>
  <ul class="navbar-nav navbar-right">

    <!-- Topbar - Navigation Main - User Menu -->
    <li class="dropdown navbar-user">
      <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
        <%= image_tag current_user.gravatar_url %>
        <span class="d-none d-md-inline"><%= current_user.firstname + ' ' + current_user.lastname  %></span> <b class="caret"></b>
      </a>
      <div class="dropdown-menu dropdown-menu-right">
        <%= link_to phcaccounts.edit_user_registration_path, class: "dropdown-item" do %>
          <i class="fas fa-cogs"></i> Account Settings
        <% end %>
        <%= link_to phcaccounts.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
          <i class="fas fa-sign-out-alt"></i> Logout
        <% end %>
      </div>
    </li>
    <!-- Topbar - Navigation Main - User Menu -->

  </ul>
<% end %>
<!-- Topbar - Navigation Main -->

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
phcscriptcdn-54.3.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb
phcscriptcdn-54.2.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb
phcscriptcdn-54.1.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb
phcscriptcdn-54.0.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb
phcscriptcdn-53.0.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb
phcscriptcdn-52.0.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb
phcscriptcdn-51.0.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb
phcscriptcdn-50.0.0 app/views/layouts/phcscriptcdn/components/backend/navigation/_top_menu.html.erb