From 0928d2eebfc789ecda9f3bc0d97e1ec390a8598c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Onur=20P=C4=B1=C3=A7akc=C4=B1?=
<98148844+onurpicakci@users.noreply.github.com>
Date: Fri, 28 Apr 2023 10:26:44 +0300
Subject: [PATCH] Blogging module: member page links have been updated
---
.../Pages/Blogs/Posts/Detail.cshtml | 13 +++++----
.../Pages/Blogs/Posts/Index.cshtml | 29 ++++++++++++++-----
2 files changed, 28 insertions(+), 14 deletions(-)
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml
index f893907e66..cdbfa13d4b 100644
--- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml
+++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml
@@ -73,13 +73,14 @@
@if (Model.Post.Writer != null)
{
-
-
- @(Model.Post.Writer.UserName) @BloggingPageHelper.ConvertDatetimeToTimeAgo(Model.Post.CreationTime)
-
-
+
+
+ @(Model.Post.Writer.UserName)
+
+ @BloggingPageHelper.ConvertDatetimeToTimeAgo(Model.Post.CreationTime)
+
}
-
+
@L["WiewsWithCount", @Model.Post.ReadCount]
|
@L["CommentWithCount", @Model.CommentCount]
diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
index 78c466e8c9..34de18a744 100644
--- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
+++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Index.cshtml
@@ -65,11 +65,12 @@
-
-
- @post.Writer.UserName @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
-
-
+
+
+ @post.Writer.UserName
+
+ @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+
@L["WiewsWithCount", post.ReadCount]
@*
|
@L["CommentWithCount", post.CommentCount]*@
@@ -125,7 +126,12 @@
@if (post.Writer != null)
{
-
@post.Writer.UserName @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+
+
+ @post.Writer.UserName
+
+ @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+
}
@L["WiewsWithCount", post.ReadCount]
@*
|
@@ -184,10 +190,17 @@
-
@post.Writer.UserName @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+
+
+ @post.Writer.UserName
+
+ @BloggingPageHelper.ConvertDatetimeToTimeAgo(post.CreationTime)
+
@L["WiewsWithCount", post.ReadCount]
@*
|
@L["CommentWithCount", post.CommentCount]*@