Browse Source

Blog module pages creation time changed to time past

pull/441/head
Yunus Emre Kalkan 8 years ago
parent
commit
812d87ea92
  1. 6
      modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml
  2. 6
      modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml

6
modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Detail.cshtml

@ -44,7 +44,7 @@
<img src="https://placeimg.com/60/60/people" class="article-avatar"> <img src="https://placeimg.com/60/60/people" class="article-avatar">
</a> </a>
<a href="#"> <a href="#">
<strong> Halil İbrahim Kalkan</strong>, @Model.Post.CreationTime.ToString("dd/MM/yyyy hh/mm") <strong> Halil İbrahim Kalkan</strong>, @ConvertDatetimeToTimeAgo(Model.Post.CreationTime)
</a> </a>
<span class="seperator">|</span> <span class="seperator">|</span>
<a href="#"> <a href="#">
@ -122,7 +122,7 @@
<div class="media-body"> <div class="media-body">
<h5 class="comment-owner"> <h5 class="comment-owner">
Armağan Ünlü Armağan Ünlü
<span class="float-right">@commentWithRepliesDto.Comment.CreationTime.ToString("dd/MM/yyyy hh/mm")</span> <span class="float-right">@ConvertDatetimeToTimeAgo(commentWithRepliesDto.Comment.CreationTime)</span>
</h5> </h5>
<p> <p>
@commentWithRepliesDto.Comment.Text @commentWithRepliesDto.Comment.Text
@ -167,7 +167,7 @@
<div class="media-body"> <div class="media-body">
<h5 class="comment-owner"> <h5 class="comment-owner">
Zlatan Ibrahimovic Zlatan Ibrahimovic
<span class="float-right">@reply.CreationTime.ToString("dd/MM/yyyy hh/mm")</span> <span class="float-right">@ConvertDatetimeToTimeAgo(reply.CreationTime)</span>
</h5> </h5>
<p> <p>
@reply.Text @reply.Text

6
modules/blogging/src/Volo.Blogging.Web/Pages/Blog/Posts/Index.cshtml

@ -65,7 +65,7 @@
<img src="https://placeimg.com/120/120/people" class="article-avatar"> <img src="https://placeimg.com/120/120/people" class="article-avatar">
</a> </a>
<a href="#"> <a href="#">
<strong>Armağan Ünlü</strong>, @((DateTime.Today - post.CreationTime).Days) @L["DaysAgo"] <strong>Armağan Ünlü</strong>, @ConvertDatetimeToTimeAgo(post.CreationTime)
</a> </a>
<span class="seperator">|</span> <span class="seperator">|</span>
<a href="#"> <a href="#">
@ -132,7 +132,7 @@
<div class="article-infos"> <div class="article-infos">
<div class="user-card"> <div class="user-card">
<a href="#"> <a href="#">
<strong>Armağan Ünlü</strong>, @((DateTime.Today - post.CreationTime).Days) @L["DaysAgo"] <strong>Armağan Ünlü</strong>, @ConvertDatetimeToTimeAgo(post.CreationTime)
</a> </a>
</div> </div>
</div> </div>
@ -204,7 +204,7 @@
<img src="https://placeimg.com/120/120/pople" class="article-avatar"> <img src="https://placeimg.com/120/120/pople" class="article-avatar">
</a> </a>
<a href="#"> <a href="#">
<strong>Armağan Ünlü</strong>, @((DateTime.Today - post.CreationTime).Days) @L["DaysAgo"] <strong>Armağan Ünlü</strong>, @ConvertDatetimeToTimeAgo(post.CreationTime)
</a> </a>
<span class="seperator">|</span> <span class="seperator">|</span>
<a href="#"> <a href="#">

Loading…
Cancel
Save