Merge pull request #262 from LD-Reborn/242-bug-detailphoto-does-not-have-alt-text

Fixed detail photo does not have alt text
This commit is contained in:
LD50
2025-11-02 22:21:55 +01:00
committed by GitHub

View File

@@ -92,7 +92,7 @@
<div class="nav-link dropdown-toggle d-flex align-items-center" href="#" id="userDropdown" role="button" <div class="nav-link dropdown-toggle d-flex align-items-center" href="#" id="userDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false"> data-bs-toggle="dropdown" aria-expanded="false">
<img src="/Home/UserPhoto?uid=@User.Identity.Name&size=30" alt="Profile" <img src="/Home/UserPhoto?uid=@User.Identity.Name&size=30" alt="Profile"
class="rounded-circle me-2" width="30" height="30" /> class="rounded-circle me-2" width="30" height="30" alt="Photo" />
<span>@User.Identity.Name</span> <span>@User.Identity.Name</span>
</div> </div>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="userDropdown"> <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="userDropdown">