|
|
|
@ -192,13 +192,21 @@
|
|
|
|
|
<span class="memo_activity" 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.forum.name + ']',forum_path(topic.forum),:class => 'memo_Bar_title' %><%= link_to topic.subject.truncate(30, omission: '...'), topic.event_url, :class => "gray" , :style => "font-size: 10pt !important;" %>
|
|
|
|
|
</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);" %> 发表
|
|
|
|
|
</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 %>)</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='memo_activity 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>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
</ul>
|
|
|
|
|