This commit is contained in:
yanxd 2013-11-28 10:14:03 +08:00
parent c4d1b884e8
commit e4162bbff9
1 changed files with 6 additions and 2 deletions

View File

@ -123,9 +123,13 @@
<ul class="welcome-message-list" style="width: 90%;"> <ul class="welcome-message-list" style="width: 90%;">
<h3 style="">论坛热帖</h3> <h3 style="">论坛热帖</h3>
<div class="welcome-box-list"> <div class="welcome-box-list">
<%= find_hot_forum_topics.each do |topic|%> <% find_hot_forum_topics.each do |topic|%>
<li class="message-brief-intro"> <li class="message-brief-intro">
<span style="color:gray"><%= topic.subject %></span> <span style="margin-left: 10px; color: green"><%= link_to topic.author, user_path(topic.author) %></span><span style="margin-left:10px; color:blue"><%= time_tag topic.created_at %></span> <span style="color:gray"><%= topic.subject %></span>
<span style="margin-left: 10px; color: green">
<%= link_to topic.author, user_path(topic.author) %>
</span>
<span style="margin-left:10px; color:blue"><%= time_tag topic.created_at %></span>
</li> </li>
<% end %> <% end %>
<li class="message-brief-intro"> <li class="message-brief-intro">