% btn_tips = l(:label_news_notice) label_tips = l(:label_course_news) %>
<%= l(:label_total_news) %> <%= @news_count %> <%= l(:label_course_news_count) %>
<% if @course && User.current.allowed_to?(:manage_news, @course) %> <%= link_to(btn_tips,new_course_news_path(@course),:class => 'problem_new_btn fl c_dorange')%> <% end %><%= l(:label_no_data) %>
<% else %> <% @newss.each do |news| %><%= news.description.html_safe %>
<%= l(:label_create_time)%>:<%= format_time(news.created_on)%>