Hide facility/location when it's the «نامشخص» placeholder — omit, don't print it
When a listing's facility is the unknown placeholder, don't show «مرکز درمانی (نامشخص)» anywhere — just leave the location out. Gated on HasRealEmployer: - cards (shift/job/recommendation): the 🏥 facility line is omitted - shift detail: H1 drops the «— نامشخص» suffix; title/description use city only; «شیفتهای دیگر این مرکز» hidden; report label generic - job detail: subtitle drops 🏥, keeps 📍 city; title/description city-only Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,10 @@
|
||||
{
|
||||
<span class="badge badge-gender">@JalaliDate.GenderLabel(s.GenderRequirement)</span>
|
||||
}
|
||||
<span>🏥 @s.Facility?.Name</span>
|
||||
@if (JobsMedical.Web.Services.SeoJsonLd.HasRealEmployer(s.Facility))
|
||||
{
|
||||
<span>🏥 @s.Facility?.Name</span>
|
||||
}
|
||||
<span>📍 @s.Facility?.City?.Name</span>
|
||||
</div>
|
||||
<div class="row">📅 @JalaliDate.WeekDayName(s.Date)، @JalaliDate.ToLongDate(s.Date) — 🕐 @JalaliDate.Time(s.StartTime)</div>
|
||||
|
||||
Reference in New Issue
Block a user