2014-03-29 10:57:36 +08:00
|
|
|
<div class="project-block">
|
|
|
|
<div class="img-tag">
|
2014-04-08 09:02:12 +08:00
|
|
|
<%= image_tag('../images/avatars/Project/0', :class => 'avatar2') %>
|
2014-03-29 10:57:36 +08:00
|
|
|
</div>
|
|
|
|
<div class="wiki-description">
|
|
|
|
<p>
|
|
|
|
<%= textilizable(project.short_description, :project => project) %>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="information">
|
|
|
|
<p class="stats">
|
|
|
|
<strong><span style="font-size: 17px;margin-left: 145px">
|
2014-04-06 22:12:16 +08:00
|
|
|
<%= project.users_count %></span></strong>
|
2014-03-29 10:57:36 +08:00
|
|
|
<%= 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>
|
|
|
|
<%= content_tag('span', l(:label_x_current_contributors, :count => 0)) %>
|
|
|
|
</p>
|
|
|
|
<p class="stats">
|
|
|
|
<strong><span style="font-size: 17px;margin-left: 145px">
|
2014-04-06 22:12:16 +08:00
|
|
|
<%= project.commit_count %></span></strong>
|
2014-03-29 10:57:36 +08:00
|
|
|
<%= content_tag('span', l(:label_since_last_commits)) %>
|
|
|
|
</p>
|
|
|
|
<p class="stats">
|
|
|
|
<strong><span style="font-size: 17px;margin-left: 145px">
|
2014-04-06 22:12:16 +08:00
|
|
|
<%= project.code_line %></span></strong>
|
2014-04-01 08:51:43 +08:00
|
|
|
<%= content_tag('span', "行代码") %>
|
2014-03-29 10:57:36 +08:00
|
|
|
</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>
|
2014-04-01 08:51:43 +08:00
|
|
|
<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', format_time(project.created_at)) %>
|
|
|
|
</div>
|
2014-04-03 14:41:04 +08:00
|
|
|
</div>
|
2014-03-29 10:57:36 +08:00
|
|
|
<div class="tags">
|
|
|
|
<div id="tags">
|
|
|
|
<%= image_tag( "/images/sidebar/tags.png") %>
|
2014-04-01 08:51:43 +08:00
|
|
|
<%= render :partial => 'tags/tag_name', :locals => {:obj => project,:object_flag => "2",:non_list_all => true }%>
|
2014-03-29 10:57:36 +08:00
|
|
|
</div>
|
|
|
|
</div>
|