diff --git a/Sevomin.News/Web.config b/Sevomin.News/Web.config index da216e1..f6ffa6f 100644 --- a/Sevomin.News/Web.config +++ b/Sevomin.News/Web.config @@ -24,7 +24,7 @@ - + diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.eot b/Sevomin.News/css/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from Sevomin.News/fonts/glyphicons-halflings-regular.eot rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.eot diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.svg b/Sevomin.News/css/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from Sevomin.News/fonts/glyphicons-halflings-regular.svg rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.svg diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.ttf b/Sevomin.News/css/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from Sevomin.News/fonts/glyphicons-halflings-regular.ttf rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.ttf diff --git a/Sevomin.News/fonts/glyphicons-halflings-regular.woff b/Sevomin.News/css/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from Sevomin.News/fonts/glyphicons-halflings-regular.woff rename to Sevomin.News/css/fonts/glyphicons-halflings-regular.woff diff --git a/Sevomin.News/themes/Sevomin/Post.cshtml b/Sevomin.News/themes/Sevomin/Post.cshtml index bd59fe3..f7c4730 100644 --- a/Sevomin.News/themes/Sevomin/Post.cshtml +++ b/Sevomin.News/themes/Sevomin/Post.cshtml @@ -8,52 +8,50 @@ } else { -
-
-

- -

-
- - - - @Model.CountApprovedComments(Context) Comments - - @Categories() -
-
+
+

+ +

+
+ + + @Model.CountApprovedComments(Context) نظر + + + @Categories() +
@Html.Raw(Model.Content)
- @if (Blog.CurrentPost != null) - { -
- @if (Model.CountApprovedComments(Context) > 0) - { -

Comments

- } + @if (Blog.CurrentPost != null) + { +
+ @if (Model.CountApprovedComments(Context) > 0) + { +

نظرات

+ } - @foreach (Comment comment in Model.Comments) - { - if (comment.IsApproved || !Blog.ModerateComments || Context.User.Identity.IsAuthenticated) + @foreach (Comment comment in Model.Comments) { - @RenderPage("Comment.cshtml", comment) + if (comment.IsApproved || !Blog.ModerateComments || Context.User.Identity.IsAuthenticated) + { + @RenderPage("Comment.cshtml", comment) + } } - } -
+
- if (Model.AreCommentsOpen(Context)) - { - @RenderPage("~/views/CommentForm.cshtml") + if (Model.AreCommentsOpen(Context)) + { + @RenderPage("~/views/CommentForm.cshtml") + } } - }
@helper Categories() { if (Model.Categories.Length > 0) { -