From 337b510540e6b9f83832472d11b93e8f478bd231 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Wed, 10 Jun 2026 17:10:33 +0330 Subject: [PATCH] Shift card: lead with the role, not the facility name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The headline showed Facility.Name (often «مرکز درمانی (نامشخص)» for ingested shifts) while the actual role was a tiny badge. Match _JobCard/_TalentCard: role becomes the headline; facility moves to the second line with 🏥. Co-Authored-By: Claude Opus 4.8 --- src/JobsMedical.Web/Pages/Shared/_ShiftCard.cshtml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/JobsMedical.Web/Pages/Shared/_ShiftCard.cshtml b/src/JobsMedical.Web/Pages/Shared/_ShiftCard.cshtml index ed9b696..f32089c 100644 --- a/src/JobsMedical.Web/Pages/Shared/_ShiftCard.cshtml +++ b/src/JobsMedical.Web/Pages/Shared/_ShiftCard.cshtml @@ -11,14 +11,10 @@ }
- @JobsMedical.Web.Services.SearchHighlight.Mark(Model.Facility?.Name, q) + @JobsMedical.Web.Services.SearchHighlight.Mark(Model.Role?.Name ?? "شیفت", q) @typeLabel
- @if (Model.Role is not null) - { - @JobsMedical.Web.Services.SearchHighlight.Mark(Model.Role.Name, q) - } @if (Model.GenderRequirement != Gender.Any) { @JalaliDate.GenderLabel(Model.GenderRequirement) @@ -27,6 +23,7 @@ { ✓ تأیید شده } + 🏥 @JobsMedical.Web.Services.SearchHighlight.Mark(Model.Facility?.Name, q)
📍 @Model.Facility?.City?.Name@(Model.Facility?.District is not null ? "، " + Model.Facility.District.Name : "")
@if (Model.DistanceKm is double km)