diff --git a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/Default.cshtml b/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/Default.cshtml index f61ff27e95..ab24b4da70 100644 --- a/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/Default.cshtml +++ b/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Commenting/Default.cshtml @@ -89,37 +89,41 @@ @foreach (var comment in Model.Comments) { -
-
- - @GetCommentAuthorName(comment.Author).Invoke(null) -
+
+
+
+ + @GetCommentAuthorName(comment.Author).Invoke(null) +
- @GetCommentContentArea(comment.Id, comment.Author.Id, false, comment.Text).Invoke(null) + @GetCommentContentArea(comment.Id, comment.Author.Id, false, comment.Text).Invoke(null) - @if (CurrentUser.IsAuthenticated) - { - @GetCommentArea(comment.Id, true).Invoke(null) - } + @if (CurrentUser.IsAuthenticated) + { + @GetCommentArea(comment.Id, true).Invoke(null) + } - @if (comment.Replies.Any()) - { -
- @foreach (var reply in comment.Replies) - { -
-
- - @GetCommentAuthorName(reply.Author).Invoke(null) -
+ @if (comment.Replies.Any()) + { +
+ @foreach (var reply in comment.Replies) + { +
+
- @GetCommentContentArea(reply.Id, reply.Author.Id, true, reply.Text).Invoke(null) +
+ + @GetCommentAuthorName(reply.Author).Invoke(null) +
-
- } -
- } + @GetCommentContentArea(reply.Id, reply.Author.Id, true, reply.Text).Invoke(null) +
+
+ } +
+ } +
}
@@ -129,7 +133,9 @@ } else if (!string.IsNullOrWhiteSpace(Model.LoginUrl)) { - @L["LoginToAddComment"] + }