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>
21 lines
607 B
C#
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; }
|
|
}
|
|
}
|