左侧讨论区子栏目的样式修改

This commit is contained in:
cxt 2016-10-14 17:13:26 +08:00
parent 89307f9e84
commit 2d7c7dc05d
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<% course_board.children.reorder("position asc").each do |board| %>
<li>
<% count = board ? (board.topics.count + Message.where("board_id =? and parent_id is not ?", board.id, nil).count) : 0 %>
<a href="<%=course_boards_path(@course, :board_id =>board.id) %>"><%=board.name %><span><%=count %></span></a>
<a href="<%=course_boards_path(@course, :board_id =>board.id) %>"><font class="hidden w170 db"><%=board.name %></font><span><%=count %></span></a>
<%= link_to( "",course_boards_path(@course, :board_id =>board.id, :flag => true, :is_new => 1), :class => 'sy_class_add', :title =>"#{l(:label_message_new)}") %>
</li>
<% end %>