|
|
|
@ -18,37 +18,37 @@
|
|
|
|
|
|
|
|
|
|
<div class="information">
|
|
|
|
|
<p class="stats">
|
|
|
|
|
<table style="padding-left: 100px">
|
|
|
|
|
<table style="width: 400px;">
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 40%;text-align: right;font-size: 17px;">
|
|
|
|
|
<td style="width: 50%;text-align: right;font-size: 17px;">
|
|
|
|
|
<strong><%= link_to @project.watcher_users.count, project_watcherlist_path(project)%></strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 60%;text-align: left">
|
|
|
|
|
<td style="width: 50%;text-align: left">
|
|
|
|
|
<%= content_tag('span', l(:label_x_follow_people,:count =>@project.watcher_users.count)) %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 40%;text-align: right;font-size: 17px;">
|
|
|
|
|
<td style="width: 50%;text-align: right;font-size: 17px;">
|
|
|
|
|
<strong><%= link_to "#{@project.members.count}", project_member_path(@project)%></strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 60%;text-align: left">
|
|
|
|
|
<td style="width: 50%;text-align: left">
|
|
|
|
|
<%= content_tag('span', l(:label_x_current_contributors, :count => @project.users.count)) %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 40%;text-align: right;font-size: 17px;color: rgb(17, 102, 153)">
|
|
|
|
|
<td style="width: 50%;text-align: right;font-size: 17px;color: rgb(17, 102, 153)">
|
|
|
|
|
<strong><%= 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") %></strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 60%;text-align: left">
|
|
|
|
|
<td style="width: 50%;text-align: left">
|
|
|
|
|
<%= content_tag('span', l(:label_since_last_commits)) %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 40%;text-align: right;font-size: 17px;color: rgb(17, 102, 153)">
|
|
|
|
|
<td style="width: 50%;text-align: right;font-size: 17px;color: rgb(17, 102, 153)">
|
|
|
|
|
<% find_project_repository @project %>
|
|
|
|
|
<strong><%= content_tag('span', "#{@project.repository.nil? || @project.project_status.nil? ? '0' : @project.project_status.changesets_count }", :class => "info") %></strong>
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 60%;text-align: left">
|
|
|
|
|
<td style="width: 50%;text-align: left">
|
|
|
|
|
<%= content_tag('span', l(:label_commit_on)) %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|