Sha256: f1ac855965ef83bec4dd5f397dc10e049e7b175ea970167a3ba6030da4f0af36

Contents?: true

Size: 1.69 KB

Versions: 28

Compression:

Stored size: 1.69 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">Devworks</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

28 entries across 28 versions & 9 rubygems

Version Path
phcdevworks_tutorials-13.0.2 app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb
phcdevworks_scripts-9.0.2 app/views/layouts/phcdevworks_scripts/components/backend/navigation/_top_menu.html.erb
phcdevworks_real_estate-6.0.2 app/views/layouts/phcdevworks_real_estate/components/backend/navigation/_top_menu.html.erb
phcdevworks_press-9.0.2 app/views/layouts/phcdevworks_press/components/backend/navigation/_top_menu.html.erb
phcdevworks_portfolio-11.0.2 app/views/layouts/phcdevworks_portfolio/components/backend/navigation/_top_menu.html.erb
phcdevworks_members-12.0.2 app/views/layouts/phcdevworks_members/components/backend/navigation/_top_menu.html.erb
phcdevworks_core_modules-8.0.3 app/views/layouts/phcdevworks_core_modules/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts_stripe-1.1.1 app/views/layouts/phcdevworks_accounts_stripe/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts_devise-1.1.1 app/views/layouts/phcdevworks_accounts_devise/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts_stripe-1.1.0 app/views/layouts/phcdevworks_accounts_stripe/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts_devise-1.1.0 app/views/layouts/phcdevworks_accounts_devise/components/backend/navigation/_top_menu.html.erb
phcdevworks_core_modules-8.0.2 app/views/layouts/phcdevworks_core_modules/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts_stripe-1.0.4 app/views/layouts/phcdevworks_accounts_stripe/components/backend/navigation/_top_menu.html.erb
phcdevworks_accounts_devise-1.0.1 app/views/layouts/phcdevworks_accounts_devise/components/backend/navigation/_top_menu.html.erb
phcdevworks_tutorials-13.0.1 app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb
phcdevworks_scripts-9.0.1 app/views/layouts/phcdevworks_scripts/components/backend/navigation/_top_menu.html.erb
phcdevworks_real_estate-6.0.1 app/views/layouts/phcdevworks_real_estate/components/backend/navigation/_top_menu.html.erb
phcdevworks_press-9.0.1 app/views/layouts/phcdevworks_press/components/backend/navigation/_top_menu.html.erb
phcdevworks_portfolio-11.0.1 app/views/layouts/phcdevworks_portfolio/components/backend/navigation/_top_menu.html.erb
phcdevworks_members-12.0.1 app/views/layouts/phcdevworks_members/components/backend/navigation/_top_menu.html.erb