Sha256: d41357a883b2ec590ca4a163a2778ee902f14b752038b372bbe78a6ee2fb1403

Contents?: true

Size: 1.56 KB

Versions: 1

Compression:

Stored size: 1.56 KB

Contents

<!-- Topbar - Navigation Header -->
<div class="navbar-header">
    <%= link_to phcdevworks_members.member_profiles_path, class: "navbar-brand" do %>
        <strong>PHCDevworks</strong>Members
    <% 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 phcdevworks_accounts.edit_user_registration_path, class: "dropdown-item" do %>
                    <i class="fad fa-cogs"></i> Account Settings
                <% end %>
                <%= link_to phcdevworks_accounts.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
                    <i class="fad fa-sign-out-alt"></i> Logout
                <% end %>
            </div>
        </li>
        <!-- Topbar - Navigation Main - User Menu -->

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcdevworks_members-2.3.0 app/views/layouts/phcdevworks_members/components/backend/navigation/_top_menu.html.erb