Commit a9b0cfbf authored by 神楽坂玲奈's avatar 神楽坂玲奈

板块列表最后发帖微调

parent 2ad5822e
......@@ -28,9 +28,9 @@
<td class="boardnums">
<em><%= board.topics.size %></em> / <%= board.posts.size %></td>
<td class="boardlast">
<% if board.topics.last %>
<p><%= board.topics.last %></p>
<cite><%= board.posts.last.user %> - <span title="<%= board.posts.last.updated_at %>"><%=l board.posts.last.updated_at, :format => :short %></span></cite>
<% if post = board.posts.last %>
<p><%= post.topic %></p>
<cite><%= post.user %> - <span title="<%= post.updated_at %>"><%=l post.updated_at, :format => :short %></span></cite>
<% else %>
<%=t 'board.none' %>
<% end %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment