<% btn_tips = l(:label_news_new) label_tips = l(:label_news) %>

<%= label_tips %>

<%= l(:label_total_news) %><%= @news_count %><%= l(:label_project_new_list) %>

<% if @project && User.current.allowed_to?(:manage_news, @project) %> <%= link_to(btn_tips, new_project_news_path(@project), :class => 'problem_new_btn fl c_dorange') %>
<% end %>
<% if @newss.empty? %>

<%= l(:label_no_data) %>

<% else %> <% @newss.each do |news| %>
<%= link_to image_tag(url_to_avatar(news.author),:width => 42,:height => 42), user_path(news.author), :class => "problem_pic fl" %>
<%= link_to_user_header(news.author,false,{:class=> 'problem_name c_orange fl'}) if news.respond_to?(:author) %> <%= l(:label_add_news) %>:<%= link_to h(news.title), news_path(news),:class => 'problem_tit fl fb c_dblue' %> <%=link_to "#{news.comments.all.count}".html_safe, news_path(news.id), :class => "pro_mes_w_news" %>

<%=textAreailizable news.description %>

<%= l(:label_create_time) %> :<%= format_time(news.created_on) %>
<% end %> <% end %>
<% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => {:project_id => @project, :key => User.current.rss_key} %> <% end %> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> <%= stylesheet_link_tag 'scm' %> <% end %> <% html_title(l(:label_news_plural)) -%>