<%= textilizable(project.short_description.strip, :project => project) %>
<%= link_to @project.watcher_users.count, project_watcherlist_path(project)%> | <%= content_tag('span', l(:label_x_follow_people,:count =>@project.watcher_users.count)) %> |
<%= link_to "#{@project.members.count}", project_member_path(@project)%> | <%= content_tag('span', l(:label_x_current_contributors, :count => @project.users.count)) %> |
<%= content_tag('span', "#{(@project.repository.nil? || @project.repository.changesets[0].nil?) ? '0' : distance_of_time_in_words(Time.now, @project.repository.changesets[0].committed_on)}", :class => "info") %> | <%= content_tag('span', l(:label_since_last_commits)) %> |
<%= content_tag('span', "#{get_project_score(@project).nil? ? 0:get_project_score(@project).changeset_num}", :class => "info") %> | <%= content_tag('span', l(:label_commit_on)) %> |
<%= textilizable(project.short_description, :project => project) %>
<%= content_tag('span', link_to("#{@project.homeworks.count}", homework_project_path(@project)), :class => "info") %><%= content_tag('span', l(:label_x_task, :count => @project.homeworks.count)) %>
<%= content_tag('span', link_to("#{@project.members.count}", member_project_path(@project)), :class => "info") %><%= content_tag('span', l(:label_x_member, :count => @project.members.count)) %>
<% files_count = @project.attachments.count %> <% @project.versions.each do |version| %> <% files_count += version.attachments.count %> <% end %> <%= content_tag('span', link_to(files_count, file_project_path(@project)), :class => "info") %><%= content_tag('span', l(:label_x_data,:count => files_count)) %>