-
Notifications
You must be signed in to change notification settings - Fork 17
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
FR: Display user identity on web gui #58
Comments
Hi @NeroBlackstone this could be achieved with a small number of tweaks of the code as shown below. But not sure it's worth adding a PR just yet, so will show how I did it below. Line 17 in <span class="pe-1 ms-auto fs-16">
Hello, {{name}}
<ng-container *ngIf="admin">(Admin)</ng-container>
</span> Add this under Line 9 of @Input() admin: boolean = false; Change this at the top of <ml-header
[name]="user.display_name"
[admin]="user.is_admin">
</ml-header> That should then display (Admin) after the name if the user is an admin. |
@mshodge Hi! Amazing job! Thanks for your guide.
Maybe wait for the main maintainer's decision (of course it would be great if this feature is added) |
Hi @mshodge, please go ahead with PR, I like your idea |
PR here: #59 |
I hope there will be an interface showing user identity after logging in: administrator user / common user.
Thanks to the developer of this project!
If I have time, I will check how to implement it
The text was updated successfully, but these errors were encountered: