From d133acbf2adf9a77723e6cbd9482dc74a370d178 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Wed, 18 Nov 2015 10:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BA=E5=9D=9B=E5=B8=96=E5=AD=90=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/forums/_show_topics.html.erb | 4 ++-- app/views/memos/show.html.erb | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/forums/_show_topics.html.erb b/app/views/forums/_show_topics.html.erb index bb8a91b69..af90b3049 100644 --- a/app/views/forums/_show_topics.html.erb +++ b/app/views/forums/_show_topics.html.erb @@ -13,10 +13,10 @@ <% author = topic.last_reply.try(:author)%> <% if author%> -
最后回复:<%= author.name%>
+
最后回复:<%= author.name%>
<%= format_date(topic.last_reply.created_at)%>
<% end%> - +
最后更新:<%= format_date(topic.updated_at)%>
diff --git a/app/views/memos/show.html.erb b/app/views/memos/show.html.erb index efcd15a66..408be0aa3 100644 --- a/app/views/memos/show.html.erb +++ b/app/views/memos/show.html.erb @@ -79,6 +79,7 @@ <%= render :partial => 'attachments_links', :locals => {:attachments => @memo.attachments, :options => options, :is_float => true} %> <% end %>
+
最后更新:<%= format_date(@memo.updated_at)%>