|
|
|
@ -96,22 +96,28 @@
|
|
|
|
|
<%= link_to "我要反馈" , suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%></h3>
|
|
|
|
|
<span style="margin-top: -30px;float: right; display: block;"><%= link_to "更多>>", forums_path %></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="welcome-box-list-new">
|
|
|
|
|
<% find_new_forum_topics(7).each do |topic|%>
|
|
|
|
|
<li class="message-brief-intro" style="line-height: 1.63em;padding-bottom:3px;">
|
|
|
|
|
<div style="display: inline-block; width: 100%;">
|
|
|
|
|
<span style="color:gray; display: inline-block; margin-bottom:6px; background: url('/images/list-icon.png') no-repeat scroll ;background-position: left center;">
|
|
|
|
|
<%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url, :class => "gray" , :style => "font-size: 10pt !important;", :target => "_blank" %>
|
|
|
|
|
</span>
|
|
|
|
|
<br>
|
|
|
|
|
<span style="margin-left: 24px; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;"><%= l(:field_updated_on) %><%=time_tag_welcome(topic_last_time topic)%>前</span>
|
|
|
|
|
<span style="margin-left: 8px; margin-bottom: 0px; color: rgb(172, 174, 177) !important; white-space: nowrap;">
|
|
|
|
|
由 <%= link_to topic.author ? topic.author : 'Anonymous', user_path(topic.author_id), :style => "font-size: 9pt !important; color: rgb(17, 102, 173);", :target => "_blank" %> 发表
|
|
|
|
|
</span>
|
|
|
|
|
<span style="float: right; color: rgb(172, 174, 177); white-space: nowrap; font-size: 9pt !important;;">回复(<%= link_to (topic.parent ? topic.parent.replies_count : topic.replies_count), topic.event_url, :target => "_blank" %>)</span>
|
|
|
|
|
<div class="welcome-box-list-new memo_activity">
|
|
|
|
|
<% find_new_forum_topics(7).each do |topic|%>
|
|
|
|
|
<li class="message-brief-intro">
|
|
|
|
|
<div class='memo_title'>
|
|
|
|
|
<%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url,title: topic.subject %>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='memo_attr'>
|
|
|
|
|
<span class='memo_timestamp'>
|
|
|
|
|
<%= "#{l(:label_updated_time, value: time_tag_welcome(topic_last_time topic))}".html_safe %>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="memo_author">
|
|
|
|
|
楼主: <%= link_to_user(topic.author) %>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="memo_last_person">
|
|
|
|
|
最后回复:<%=link_to_user topic.last_reply.try(:author) %>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="memo_reply">
|
|
|
|
|
回复(<%= link_to topic.try(:replies_count), topic.event_url %>)
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|