Sha256: 2066093e49ac6a5edb75bd2e0e556850e2bc3d326b4678d99827290228014ce8

Contents?: true

Size: 1.6 KB

Versions: 16

Compression:

Stored size: 1.6 KB

Contents

<!-- -PHC- Topbar - Navigation Header -->
<div class="navbar-header">

    <%= link_to phcdevworks_accounts.user_path, class: "navbar-brand" do %>
        <strong>PHCDevworks</strong>Accounts
    <% 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>
<!-- -PHC- Topbar - Navigation Header -->
    
<!-- -PHC- Topbar - Navigation Main -->
<% if current_user %>
    <ul class="navbar-nav navbar-right">

        <!-- -PHC- 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>
        <!-- -PHC- Topbar - Navigation Main - User Menu -->

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
phcdevworks_accounts-3.3.0 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.2.4 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.2.3 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.2.2 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.2.1 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.2.0 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.1.2 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.1.1 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.1.0 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.0.7 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.0.5 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.0.4 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.0.3 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.0.2 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.0.1 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts-3.0.0 app/views/layouts/phcdevworks_accounts/components/backend/navigation/_top_menu.html.erb