<%= l(:label_news) %> <%= link_to(l(:label_news_new), new_contest_contestnotification_path(@contest), :class => 'icon icon-add', :onclick => 'showAndScrollTo("add-contestnotifications", "contestnotifications_title"); return false;') %> <% if @contest && User.current.allowed_to?(:manage_contestnotifications, @contest) %> <% end %>
<% if @contestnotificationss.empty? %>

<%= l(:label_no_data) %>

<% else %> <% @contestnotificationss.each do |contestnotifications| %>
<%= link_to image_tag(url_to_avatar(contestnotifications.author), :class => "avatar"), user_path(contestnotifications.author) %>
<%= link_to_user(contestnotifications.author) if contestnotifications.respond_to?(:author) %><%= l(:label_project_notice) %><%#= link_to h(contestnotifications.title), contest_contestnotification_path(contestnotifications) %> <%= delete_link contest_contestnotification_path(contestnotifications) if User.current.allowed_to?(:manage_contestnotifications, @contest) %>
<%= textilizable(contestnotifications, :description) %>
<%= l :label_update_time %>  <%= format_time(contestnotifications.created_at) %> <%#= link_to l(:label_project_newother), contest_contestnotification_path(contestnotifications) %><%#= "(#{l(:label_x_comments, :count => contestnotifications.comments_count)})" if(contestnotifications.comments_count >= 0)%>
<% end %> <% 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)) -%>