app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_menu.html.erb in phcscriptcdnpro-78.4.0 vs app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_menu.html.erb in phcscriptcdnpro-79.0.0
- old
+ new
@@ -1,37 +1,41 @@
-<!-- Topbar - Navigation Header -->
-<div class="navbar-header">
- <%= link_to phcscriptcdnpro.script_listings_path, class: "navbar-brand" do %>
- <strong>PHC</strong>ScriptCDN(Pro)
- <% 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 phcaccountspro.edit_user_registration_path, class: "dropdown-item" do %>
- <i class="fas fa-cogs"></i> Account Settings
- <% end %>
- <%= link_to phcaccountspro.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 -->
+<!-- -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">ScriptCDN</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 -->