<%= link_to "项目配置", { :controller => 'projects', :action => 'settings' }, :last => true, :class => "user_setting" %>
<%= link_to "版本库", { :controller => 'repositories', :action => 'show', :repository_id => nil, :path => nil, :rev => nil },
:if => Proc.new { |p| p.repository && !p.repository.new_record? }, :class => "user_setting" %>
<%= link_to "活动", { :controller => 'activities', :action => 'index' }, :class => "user_setting" %>
<%= link_to "项目主页", { :controller => 'projects', :action => 'show' }, :class => "user_setting" %>
<%= page_header_title %>
<% if @project.description.present? %>
<%= textilizable @project.description %>
<% end %>
|
<%= link_to('成员: ', {:controller => 'projects', :action => 'member'}, :class => 'project_infor_tag') %><%= @project.members.count %>
<%= link_to('关注: ', {:controller => 'projects', :action => 'focus'}, :class => 'project_infor_tag') %><%= session[:project_focus_num] %>
<%= link_to('投资者: ',{:controller => 'projects', :action =>'investor'},:class => 'project_infor_tag') %><%= session[:project_investor_num] %>
<%= link_to('缺陷: ',project_issues_path(@project), :class => 'project_infor_tag') %><%= @project.issues.count %>
<%= link_to('任务: ', {:controller =>'projects', :action =>'mission'}, :class => 'project_infor_tag') %><%= session[:project_mission_num] %>
<%= link_to('提交: ', {:controller =>'projects', :action =>'on'}, :class => 'project_infor_tag') %><%= session[:project_on_num] %>
<%= link_to('文件: ', project_files_path(@project), :class => 'project_infor_tag') %><%= @project.attachments.count %>