69 lines
1.8 KiB
Plaintext
69 lines
1.8 KiB
Plaintext
<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') %>
|
|
</div>
|
|
<div class="wiki-description">
|
|
<p>
|
|
<%= textilizable(project.short_description, :project => project) %>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="information">
|
|
<p class="stats">
|
|
<%= link_to project.users_count %>
|
|
<%= content_tag('span', l(:label_x_follow_people,:count =>0)) %>
|
|
</p>
|
|
<p class="stats">
|
|
<%=link_to 1%>
|
|
<%= content_tag('span', l(:label_x_current_contributors, :count => 0)) %>
|
|
</p>
|
|
<p class="stats">
|
|
<%=link_to project.commit_count %>
|
|
<%= content_tag('span', l(:label_since_last_commits)) %>
|
|
</p>
|
|
<p class="stats">
|
|
<%=link_to project.code_line %>
|
|
<%= content_tag('span', "行代码") %>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<div class="add-info">
|
|
<div class="main-language">
|
|
|
|
<%= content_tag('span', "#{l(:default_role_manager)}: ") %>
|
|
|
|
</div>
|
|
<div class="licences">
|
|
<%= content_tag('span', "#{l(:label_create_time)}: ") %><%= content_tag('span', format_time(project.created_at)) %>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="url">
|
|
<div class="main-language">
|
|
<%= content_tag('span', "项目来源:")%><%= link_to project.url, project.url %>
|
|
</div>
|
|
<div class="licences">
|
|
<%= content_tag('span', "数据更新时间:") %><%= content_tag('span', project.date_collected) %>
|
|
</div>
|
|
</div>
|
|
<div class="tags">
|
|
<div id="tags">
|
|
<%= image_tag( "/images/sidebar/tags.png") %>
|
|
<%= render :partial => 'tags/tag_name', :locals => {:obj => project,:object_flag => "8",:non_list_all => true }%>
|
|
</div>
|
|
</div>
|