Sha256: ed4900510a01ab2ae1cac795fda286b0bda6780455595b6b66915c6ddfaa9486

Contents?: true

Size: 1.7 KB

Versions: 7

Compression:

Stored size: 1.7 KB

Contents

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

    <button type="button" class="navbar-mobile-toggler" data-toggle="app-sidebar-mobile">
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    </button>

    <%= link_to phcdevworks_accounts_devise.user_path, class: "navbar-brand" do %>
        <span class="phc_dev_strong_plugin_logo">PHC</span><span class="phc_dev_light_plugin_logo">CodeSnipper</span>
    <% end %>

</div>
<!-- -PHCDEV- Topbar - Navigation Header -->
    
<!-- -PHCDEV- Topbar - Navigation Main -->
<% if current_user %>
    <div class="navbar-nav">
        <div class="navbar-item navbar-user dropdown">
            <a href="#" class="navbar-link dropdown-toggle d-flex align-items-center" data-bs-toggle="dropdown">
                <%= image_tag current_user.gravatar_url %>
                <span>
                    <span class="d-none d-md-inline"><%= current_user.firstname + " " + current_user.lastname %></span>
                    <b class="caret"></b>
                </span>
            </a>
            <div class="dropdown-menu dropdown-menu-end me-1">
                <%= link_to phcdevworks_accounts_devise.edit_user_registration_path, class: "dropdown-item" do %>
                    <i class="fad fa-cogs"></i> Account Settings
                <% end %>
                <%= link_to phcdevworks_accounts_devise.destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
                    <i class="fad fa-sign-out-alt"></i> Logout
                <% end %>
            </div>
        </div>
    </div>
<% end %>

</div>
<!-- -PHCDEV- Topbar - Navigation Main -->

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
phccodesnipper-6.1.1 app/views/layouts/phccodesnipper/components/backend/navigation/_top_menu.html.erb
phccodesnipperpro-5.0.2 app/views/layouts/phccodesnipperpro/components/backend/navigation/_top_menu.html.erb
phccodesnipper-6.1.0 app/views/layouts/phccodesnipper/components/backend/navigation/_top_menu.html.erb
phccodesnipper-6.0.1 app/views/layouts/phccodesnipper/components/backend/navigation/_top_menu.html.erb
phccodesnipperpro-5.0.1 app/views/layouts/phccodesnipperpro/components/backend/navigation/_top_menu.html.erb
phccodesnipperpro-5.0.0 app/views/layouts/phccodesnipperpro/components/backend/navigation/_top_menu.html.erb
phccodesnipper-6.0.0 app/views/layouts/phccodesnipper/components/backend/navigation/_top_menu.html.erb