|
|
|
@ -13,13 +13,17 @@
|
|
|
|
|
TO
|
|
|
|
|
<%= link_to activity.course.name.to_s+" | 课程讨论区", course_boards_path(activity.course,:host=> Setting.host_course), :class => "newsBlue ml15 mr5"%>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="homepagePostTitle break_word">
|
|
|
|
|
<div class="homepagePostTitle hidden m_w530 fl">
|
|
|
|
|
<% if activity.parent_id.nil? %> <!--+"(帖子标题)"-->
|
|
|
|
|
<%= link_to activity.subject.to_s.html_safe, board_message_path(activity.board_id, activity), :class=> "postGrey" %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to activity.parent.subject.to_s.html_safe, board_message_path(activity.board_id, activity), :class=> "postGrey"%>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
<% if activity.sticky == 1%>
|
|
|
|
|
<span class="sticky_btn_cir ml10">置顶</span>
|
|
|
|
|
<% end%>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class="homepagePostDate">
|
|
|
|
|
发帖时间:<%= format_time(activity.created_on) %>
|
|
|
|
|
</div>
|
|
|
|
|