diff --git a/src/Humans.Web/Views/Google/_SyncTabContent.cshtml b/src/Humans.Web/Views/Google/_SyncTabContent.cshtml
index 1893d7f9b..de95e1328 100644
--- a/src/Humans.Web/Views/Google/_SyncTabContent.cshtml
+++ b/src/Humans.Web/Views/Google/_SyncTabContent.cshtml
@@ -188,13 +188,7 @@ else
- @await Component.InvokeAsync("UserAvatar", new
- {
- profilePictureUrl = m.ProfilePictureUrl,
- displayName = nameDisplay,
- size = 24,
- cssClass = "me-2"
- })
+
@nameDisplay
}
diff --git a/src/Humans.Web/Views/Home/Dashboard.cshtml b/src/Humans.Web/Views/Home/Dashboard.cshtml
index 9cdd3e89d..248f6594c 100644
--- a/src/Humans.Web/Views/Home/Dashboard.cshtml
+++ b/src/Humans.Web/Views/Home/Dashboard.cshtml
@@ -6,8 +6,7 @@
-
@@ -72,7 +71,7 @@
}
}
- else if (Model.IsShiftBrowsingOpen)
+ else if (Model.IsShiftBrowsingOpen && Model.IsVolunteerMember)
{
@* Guided shift discovery — shown when user has no upcoming shifts *@
diff --git a/src/Humans.Web/Views/Profile/AdminDetail.cshtml b/src/Humans.Web/Views/Profile/AdminDetail.cshtml
index 0b6a0403e..c31bf263b 100644
--- a/src/Humans.Web/Views/Profile/AdminDetail.cshtml
+++ b/src/Humans.Web/Views/Profile/AdminDetail.cshtml
@@ -23,8 +23,7 @@
-
diff --git a/src/Humans.Web/Views/Profile/Edit.cshtml b/src/Humans.Web/Views/Profile/Edit.cshtml
index 3c425e9ac..71f4315e8 100644
--- a/src/Humans.Web/Views/Profile/Edit.cshtml
+++ b/src/Humans.Web/Views/Profile/Edit.cshtml
@@ -38,8 +38,7 @@
@Localizer["Profile_ProfilePicture"]
-
@if (!Model.HasCustomProfilePicture && !string.IsNullOrEmpty(Model.ProfilePictureUrl))
{
diff --git a/src/Humans.Web/Views/Profile/Search.cshtml b/src/Humans.Web/Views/Profile/Search.cshtml
index fe4c243ec..76f2ce351 100644
--- a/src/Humans.Web/Views/Profile/Search.cshtml
+++ b/src/Humans.Web/Views/Profile/Search.cshtml
@@ -40,8 +40,7 @@
{
-
diff --git a/src/Humans.Web/Views/Shared/Components/ProfileCard/Default.cshtml b/src/Humans.Web/Views/Shared/Components/ProfileCard/Default.cshtml
index 2520825b5..fde8281c4 100644
--- a/src/Humans.Web/Views/Shared/Components/ProfileCard/Default.cshtml
+++ b/src/Humans.Web/Views/Shared/Components/ProfileCard/Default.cshtml
@@ -13,8 +13,7 @@
@* Photo + Name + Pronouns + Status + Teams *@
-
diff --git a/src/Humans.Web/Views/Shared/_HumanPopover.cshtml b/src/Humans.Web/Views/Shared/_HumanPopover.cshtml
index 48eddce2e..62df98ac3 100644
--- a/src/Humans.Web/Views/Shared/_HumanPopover.cshtml
+++ b/src/Humans.Web/Views/Shared/_HumanPopover.cshtml
@@ -1,7 +1,7 @@
@model Humans.Web.Models.ProfileSummaryViewModel
-
+
@Model.DisplayName
@if (Model.IsSuspended)
diff --git a/src/Humans.Web/Views/Shared/_LoginPartial.cshtml b/src/Humans.Web/Views/Shared/_LoginPartial.cshtml
index 6cb4b9582..cbe9fd3cb 100644
--- a/src/Humans.Web/Views/Shared/_LoginPartial.cshtml
+++ b/src/Humans.Web/Views/Shared/_LoginPartial.cshtml
@@ -13,12 +13,10 @@
data-bs-toggle="dropdown"
data-bs-display="static"
aria-expanded="false">
- @await Component.InvokeAsync("UserAvatar", new {
- profilePictureUrl = currentUser?.ProfilePictureUrl,
- displayName = displayName,
- size = 32,
- bgColor = "bg-secondary"
- })
+ @if (currentUser is not null)
+ {
+
+ }
@displayName