-
-
Notifications
You must be signed in to change notification settings - Fork 1
-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a status "badge" to Admin menu #9
Comments
These badges can be added when adding Pushy to the Admin menu. See for example in Grav Admin itself:
However, Pushy uses async calls to commit pages, hence the badge can no longer be update on the server. Some JS should do the trick. That's doable, but unfortunately, the menu-item, nor the badge have proper id of classes. |
Sorry I had seen that option and this wasn't a call for help, just very quickly capturing my idea without wanting to look up the "how" again. Badge is indeed the term I was fishing for, thanks! Thank you for being helpful and on the ball though.
(*or classes, I assume) Try a PR in Admin to add easily selectable id/class attributes if you feel like it. I've had mixed luck with similar PRs though. |
Perhaps too late because you have solved this ..
I noticed this |
Looking at the nav.html.twig template from Admin which generates the Admin menu, properties like |
Integrated circa 23c4188 |
Might be called a pill or something else:
Showing how many changed/new items.
The text was updated successfully, but these errors were encountered: