|
|
|
@ -1,3 +1,15 @@
|
|
|
|
|
<style>
|
|
|
|
|
.information .stats a{
|
|
|
|
|
width: 80px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-style: 1.2em;
|
|
|
|
|
}
|
|
|
|
|
.information .stats span{
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<div class="project-block">
|
|
|
|
|
<div class="img-tag">
|
|
|
|
|
<%= image_tag('../images/avatars/Project/0', :class => 'avatar2') %>
|
|
|
|
@ -9,24 +21,20 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="information">
|
|
|
|
|
<p class="stats">
|
|
|
|
|
<strong><span style="font-size: 17px;margin-left: 145px">
|
|
|
|
|
<%= project.users_count %></span></strong>
|
|
|
|
|
<p class="stats">
|
|
|
|
|
<%= link_to project.users_count %>
|
|
|
|
|
<%= content_tag('span', l(:label_x_follow_people,:count =>0)) %>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="stats">
|
|
|
|
|
<strong><span style="font-size: 17px;margin-left: 145px">
|
|
|
|
|
<%= 1%></span></strong>
|
|
|
|
|
<%=link_to 1%>
|
|
|
|
|
<%= content_tag('span', l(:label_x_current_contributors, :count => 0)) %>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="stats">
|
|
|
|
|
<strong><span style="font-size: 17px;margin-left: 145px">
|
|
|
|
|
<%= project.commit_count %></span></strong>
|
|
|
|
|
<%=link_to project.commit_count %>
|
|
|
|
|
<%= content_tag('span', l(:label_since_last_commits)) %>
|
|
|
|
|
</p>
|
|
|
|
|
<p class="stats">
|
|
|
|
|
<strong><span style="font-size: 17px;margin-left: 145px">
|
|
|
|
|
<%= project.code_line %></span></strong>
|
|
|
|
|
<%=link_to project.code_line %>
|
|
|
|
|
<%= content_tag('span', "行代码") %>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|