From 4a1d2e064236caa18d052b266120006efd9e6029 Mon Sep 17 00:00:00 2001 From: Anas Rashid Date: Thu, 8 Oct 2026 20:17:24 +0200 Subject: [PATCH] Poet/category tables of contents after import; Divan wordmark instead of Ganjoor logo - public data import ran with empty HtmlText for poet/category pages (upstream fills it with a separate admin TOC job), so poet pages showed no works; the import now regenerates tables of contents for the importing user - replace Ganjoor's logo image (gdap/gdapk) with the Divan wordmark on all pages; delete it Co-Authored-By: Claude Opus 5.5 --- DivanRazor/Pages/Auth/Login.cshtml | 2 +- DivanRazor/Pages/Auth/ResetPassword.cshtml | 2 +- DivanRazor/Pages/Auth/SignUp.cshtml | 2 +- DivanRazor/Pages/Error.cshtml | 2 +- DivanRazor/Pages/Misc/Photos.cshtml | 2 +- DivanRazor/Pages/Shared/_AdminLayout.cshtml | 2 +- .../Pages/Shared/_SearchHeaderPartial.cshtml | 2 +- DivanRazor/Pages/Shared/_UserPanelLayout.cshtml | 2 +- DivanRazor/Pages/errors/404.cshtml | 2 +- DivanRazor/Pages/errors/503.cshtml | 2 +- DivanRazor/wwwroot/css/divan.css | 5 +++++ DivanRazor/wwwroot/image/gdap.png | Bin 16777 -> 0 bytes DivanRazor/wwwroot/image/gdapk.png | Bin 10933 -> 0 bytes RMuseum/Controllers/DivanController.cs | 3 ++- RMuseum/Services/IDivanService.cs | 2 +- .../DivanService-PublicDataImport.cs | 8 +++++++- 16 files changed, 25 insertions(+), 13 deletions(-) delete mode 100644 DivanRazor/wwwroot/image/gdap.png delete mode 100644 DivanRazor/wwwroot/image/gdapk.png diff --git a/DivanRazor/Pages/Auth/Login.cshtml b/DivanRazor/Pages/Auth/Login.cshtml index b6ca6d2a..e8e9086c 100644 --- a/DivanRazor/Pages/Auth/Login.cshtml +++ b/DivanRazor/Pages/Auth/Login.cshtml @@ -18,7 +18,7 @@
diff --git a/DivanRazor/Pages/Auth/ResetPassword.cshtml b/DivanRazor/Pages/Auth/ResetPassword.cshtml index 87470651..e1245c83 100644 --- a/DivanRazor/Pages/Auth/ResetPassword.cshtml +++ b/DivanRazor/Pages/Auth/ResetPassword.cshtml @@ -16,7 +16,7 @@
diff --git a/DivanRazor/Pages/Auth/SignUp.cshtml b/DivanRazor/Pages/Auth/SignUp.cshtml index 1fe84184..256fc4cb 100644 --- a/DivanRazor/Pages/Auth/SignUp.cshtml +++ b/DivanRazor/Pages/Auth/SignUp.cshtml @@ -17,7 +17,7 @@
diff --git a/DivanRazor/Pages/Error.cshtml b/DivanRazor/Pages/Error.cshtml index e8660d85..4019e869 100644 --- a/DivanRazor/Pages/Error.cshtml +++ b/DivanRazor/Pages/Error.cshtml @@ -61,7 +61,7 @@

غیر متوقع خرابی

diff --git a/DivanRazor/Pages/Misc/Photos.cshtml b/DivanRazor/Pages/Misc/Photos.cshtml index 79307271..4f1a42bd 100644 --- a/DivanRazor/Pages/Misc/Photos.cshtml +++ b/DivanRazor/Pages/Misc/Photos.cshtml @@ -108,7 +108,7 @@

@if (Model.Poet == null) { - + دیوان } else { diff --git a/DivanRazor/Pages/Shared/_AdminLayout.cshtml b/DivanRazor/Pages/Shared/_AdminLayout.cshtml index bef07d41..5e297e98 100644 --- a/DivanRazor/Pages/Shared/_AdminLayout.cshtml +++ b/DivanRazor/Pages/Shared/_AdminLayout.cshtml @@ -421,7 +421,7 @@