From 4e33f72eb4181d7d7a9769908324a74d3ae85b9a Mon Sep 17 00:00:00 2001
From: Hamid Reza Mohammadi
Date: Tue, 18 Jan 2022 12:31:45 +0330
Subject: [PATCH] docs: #276 some shortucts for user dashboard in the home page
---
.../Areas/User/Pages/MyBookmarks.cshtml | 7 ++++
.../Areas/User/Pages/Notifications.cshtml | 7 ++++
GanjooRazor/Pages/_HomePagePartial.cshtml | 28 +++++++++++--
GanjooRazor/wwwroot/css/p8.css | 14 ++++++-
RMuseum/RMuseum.xml | 40 +++++++++----------
5 files changed, 71 insertions(+), 25 deletions(-)
diff --git a/GanjooRazor/Areas/User/Pages/MyBookmarks.cshtml b/GanjooRazor/Areas/User/Pages/MyBookmarks.cshtml
index 698599f0..2f3c8232 100644
--- a/GanjooRazor/Areas/User/Pages/MyBookmarks.cshtml
+++ b/GanjooRazor/Areas/User/Pages/MyBookmarks.cshtml
@@ -48,6 +48,13 @@ else
}
+ @if(Model.Bookmarks.Count == 0)
+ {
+
+ شما هنوز هیچ بیتی را نشان نکردهاید. برای آشنایی با نحوهٔ نشان کردن اشعار اینجا را ببینید.
+
+ }
+
@foreach (var bookmark in Model.Bookmarks)
{
if (color == "gray")
diff --git a/GanjooRazor/Areas/User/Pages/Notifications.cshtml b/GanjooRazor/Areas/User/Pages/Notifications.cshtml
index 4d7bc54b..787a8ca7 100644
--- a/GanjooRazor/Areas/User/Pages/Notifications.cshtml
+++ b/GanjooRazor/Areas/User/Pages/Notifications.cshtml
@@ -28,6 +28,13 @@ else
}
+ @if(Model.Notifications.Count == 0)
+ {
+
+ در حال حاضر اعلانی وجود ندارد. در صورتی که کاربری با زدن دکمهٔ «پاسخگویی» برای حاشیهٔ شما پاسخی بنویسد یا شما با پیشنهاد آهنگ مرتبط با شعر یا روش دیگری در گنجور مشارکت کنید و مشارکت شما بررسی شود در قسمت «اعلانهای من» با دریافت یک اعلان از این رویدادها مطلع می شوید.
+
+ }
+
@foreach (var notification in Model.Notifications)
{
if (color == "gray")
diff --git a/GanjooRazor/Pages/_HomePagePartial.cshtml b/GanjooRazor/Pages/_HomePagePartial.cshtml
index aa92d1a0..fe879b96 100644
--- a/GanjooRazor/Pages/_HomePagePartial.cshtml
+++ b/GanjooRazor/Pages/_HomePagePartial.cshtml
@@ -28,6 +28,26 @@
+ @if (Model.LoggedIn)
+ {
+
+ پیشخان کاربر
+
+
+ }
شاعران پرمخاطب
@@ -54,10 +74,10 @@
}
-
+
دستهبندی بر اساس قرن
diff --git a/GanjooRazor/wwwroot/css/p8.css b/GanjooRazor/wwwroot/css/p8.css
index e2597ff7..46ea2f68 100644
--- a/GanjooRazor/wwwroot/css/p8.css
+++ b/GanjooRazor/wwwroot/css/p8.css
@@ -1545,7 +1545,8 @@ audio {
content: 'public';
}
-#findpoet{
+
+#findpoet {
margin-top: 10px;
text-align: center;
}
@@ -1562,3 +1563,14 @@ audio {
transform: none;
}
+.bookmarking-icon::after {
+ content: 'star'
+}
+
+.color-yellow {
+ color: yellow;
+}
+
+.notifications-icon::after {
+ content: 'notifications'
+}
diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml
index 2bd8f0a7..89559da2 100644
--- a/RMuseum/RMuseum.xml
+++ b/RMuseum/RMuseum.xml
@@ -6285,102 +6285,102 @@
death location
-
+
Ganjoor Poet Picture
-
+
id
-
+
Poet Id
-
+
Poet
-
+
order
-
+
picture id
-
+
picture
-
+
suggested by id
-
+
suggested by
-
+
published
-
+
selected
-
+
Ganjoor Poet Specification
-
+
Id
-
+
Poet Id
-
+
Poet
-
+
Description
-
+
suggested by id
-
+
suggested by
-
+
published
-
+
order