[PR #15732] [MERGED] Fixes #15613: Show login button/user menu on mobile view #14660

Closed
opened 2025-12-29 23:25:48 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15732
Author: @jeremystretch
Created: 4/16/2024
Status: Merged
Merged: 4/16/2024
Merged by: @jeremystretch

Base: featureHead: 15613-login-button


📝 Commits (1)

  • fd21054 Fixes #15613: Show login button/user menu on mobile view

📊 Changes

4 files changed (+67 additions, -48 deletions)

View changed files

📝 netbox/project-static/dist/netbox.css (+1 -1)
📝 netbox/project-static/styles/overrides/_bootstrap.scss (+6 -0)
📝 netbox/templates/base/layout.html (+10 -47)
netbox/templates/inc/user_menu.html (+50 -0)

📄 Description

Fixes: #15613

  • Relocate the user menu content to a separate template (inc/user_menu.html)
  • Render a copy of the user menu (hidden) in the side navigation menu header
  • Tweak styling of the dropdown menu divider

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15732 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/16/2024 **Status:** ✅ Merged **Merged:** 4/16/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `15613-login-button` --- ### 📝 Commits (1) - [`fd21054`](https://github.com/netbox-community/netbox/commit/fd21054dd9c8c45a38fabf8ca29ba34c3c598f12) Fixes #15613: Show login button/user menu on mobile view ### 📊 Changes **4 files changed** (+67 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox.css` (+1 -1) 📝 `netbox/project-static/styles/overrides/_bootstrap.scss` (+6 -0) 📝 `netbox/templates/base/layout.html` (+10 -47) ➕ `netbox/templates/inc/user_menu.html` (+50 -0) </details> ### 📄 Description ### Fixes: #15613 - Relocate the user menu content to a separate template (`inc/user_menu.html`) - Render a copy of the user menu (hidden) in the side navigation menu header - Tweak styling of the dropdown menu divider --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:25:48 +01:00
adam closed this issue 2025-12-29 23:25:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14660