diff --git a/src/JobsMedical.Web/Pages/Admin/Overview.cshtml b/src/JobsMedical.Web/Pages/Admin/Overview.cshtml index e9be931..95db80c 100644 --- a/src/JobsMedical.Web/Pages/Admin/Overview.cshtml +++ b/src/JobsMedical.Web/Pages/Admin/Overview.cshtml @@ -5,6 +5,8 @@ string P(int n) => JalaliDate.ToPersianDigits(n.ToString()); } + +

داشبورد مدیریت

diff --git a/src/JobsMedical.Web/Pages/Employer/Index.cshtml b/src/JobsMedical.Web/Pages/Employer/Index.cshtml index 892f924..0e36830 100644 --- a/src/JobsMedical.Web/Pages/Employer/Index.cshtml +++ b/src/JobsMedical.Web/Pages/Employer/Index.cshtml @@ -10,6 +10,8 @@ }; } + +

پنل مرکز درمانی

diff --git a/src/JobsMedical.Web/Pages/Me/Index.cshtml b/src/JobsMedical.Web/Pages/Me/Index.cshtml index 3a1e07d..772f252 100644 --- a/src/JobsMedical.Web/Pages/Me/Index.cshtml +++ b/src/JobsMedical.Web/Pages/Me/Index.cshtml @@ -16,6 +16,8 @@ }; } + +

پنل کارجو

diff --git a/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml b/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml index 04ef0ac..26b4d00 100644 --- a/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml +++ b/src/JobsMedical.Web/Pages/Shared/_Layout.cshtml @@ -16,7 +16,10 @@ meName = string.IsNullOrWhiteSpace(info?.FullName) ? info?.Phone : info!.FullName; meHasAvatar = info?.HasAvatar ?? false; } - var meInitial = string.IsNullOrWhiteSpace(meName) ? "؟" : meName!.Trim().Substring(0, 1); + // Person glyph when there's no real name yet (avoid showing a phone digit like "0"). + var meInitial = (!string.IsNullOrWhiteSpace(meName) && !char.IsDigit(meName!.Trim()[0])) + ? meName!.Trim().Substring(0, 1) : "👤"; + var meLabel = (!string.IsNullOrWhiteSpace(meName) && !char.IsDigit(meName!.Trim()[0])) ? meName! : "حساب من"; // --- SEO context --- var baseUrl = $"{Context.Request.Scheme}://{Context.Request.Host}"; @@ -116,6 +119,7 @@ { @meInitial } + @meLabel