-
<%= link_to '竞赛首页', contest_path(@contest) %>
-
<%= link_to '动态', contest_activities_contest_path(@contest) %>
-
提交<%= work_num%>
<% if is_admin %>
<% end %>
<% contest_board = @contest.boards.where("parent_id is NULL").first %>
-
<% count = contest_board ? contest_board.messages.count : 0 %>
讨论区<%=count %>
<%= link_to( "",contest_boards_path(@contest, :flag => true, :is_new => 1), :class => 'sy_class_add', :title =>"#{l(:label_message_new)}") if is_admin %>
<%= render :partial => 'layouts/contest_board_children_list', :locals => {:contest_board => contest_board} if contest_board %>
-
<%= link_to "通知#{@contest.news.count}".html_safe, contest_news_index_path(@contest), :class => "sy_icons_feedback" %>
<% if is_admin %>
<%= link_to "", contest_news_index_path(@contest,:is_new => 1), :class => "sy_class_add" %>
<% end %>
-
留言<%=contest_feedback_count %>
<%= link_to( "", feedback_contest_path(@contest), :class => 'sy_class_add', :title =>"#{l(:label_course_feedback)}") if User.current.member_of_contest?(@contest) %>
<%= render_flash_messages %>
<%= yield %>
<%= call_hook :view_layouts_base_content %>