divan/DiwanRazor/Pages/Shared/_EmptyState.cshtml
Anas Rashid e8f2306422 Rename Ganjoor -> Diwan throughout the code
Projects (GanjooRazor -> DiwanRazor, GanjoorService.sln -> DiwanService.sln), files,
folders, classes, namespaces, settings, API routes (/api/diwan) and DB tables (Diwan*).
External addresses (ganjoor.net, github.com/ganjoor) unchanged. Migrations renamed
consistently (no pending model changes); requires a fresh database.
Upstream RUNNING_LOCALLY/SEMANTIC_SEARCH docs archived unmodified under docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 23:49:01 +02:00

17 lines
565 B
Plaintext

@*
A consistent "nothing here yet" state for list pages, instead of a bare
<p>. Pass the explanatory text as the model:
<partial name="_EmptyState" model="@("در حال حاضر اعلانی وجود ندارد.")" />
The message is rendered with Html.Raw, so simple trusted inline markup
(e.g. a <a> link) is fine - only pass hardcoded, developer-authored
strings here, never raw user input.
*@
@model string
<div class="up-empty">
<div class="up-empty__icon" aria-hidden="true">&#9679;</div>
<p>@Html.Raw(Model)</p>
</div>