<%=link_to l(:label_news), project_news_index_path(@project) %>
<% if @news.any? && authorize_for('news', 'index') %>
<%= render :partial => 'news/news', :collection => @news %>
<%= link_to"更多",:contoller=>'project',:action=>'index'%>
<% end %>
<%= call_hook(:view_projects_show_right, :project => @project) %>
<%=link_to @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %>
<% @events_by_day.keys.sort.reverse.each do |day| %>
<% sort_activity_events(@events_by_day[day]).each do |e, in_group| -%>
-
|
<%= format_activity_day(day) %>
<%= format_time(e.event_datetime, false) %>
<%= content_tag('span', h(e.project), :class => 'project') if @project.nil? || @project != e.project %>
<%= link_to format_activity_title(e.event_title), e.event_url %>
<%= link_to_user(e.event_author ,:class=>"author") if e.respond_to?(:event_author) %> |
<% end -%>
<% end -%>
<%= link_to"更多",:contoller=>'project',:action=>'index'%>