divan/DiwanRazor/Pages/Partials/DiwanPage/_QuotedPoemPartial.cshtml.cs
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

21 lines
607 B
C#

using Microsoft.AspNetCore.Mvc.RazorPages;
using RMuseum.Models.Diwan.ViewModels;
namespace DiwanRazor.Pages
{
public class _QuotedPoemPartialModel : PageModel
{
public DiwanQuotedPoemViewModel DiwanQuotedPoemViewModel { get; set; }
public string PoetImageUrl { get; set; }
public string PoetNickName { get; set; }
public string BlockClass
{
get
{
return DiwanQuotedPoemViewModel.ClaimedByBothPoets ? "inlinesimi ribbon-parent" : "inlinesimi";
}
}
public bool CanEdit { get; set; }
}
}