|
|
|
@ -3,12 +3,13 @@
|
|
|
|
|
<% if containers.blank? %>
|
|
|
|
|
<p class="fontGrey2 f14 mt10 mb5">该模块暂时没有相关内容</p>
|
|
|
|
|
<% else %>
|
|
|
|
|
<ul>
|
|
|
|
|
<% container = containers.first %>
|
|
|
|
|
<li class="por_project_li">
|
|
|
|
|
<%= link_to "<span class='post_icons_grey fl'></span>#{container.name}".html_safe, project_path(container), :class => "por_hidden_w205 link-black fl", :title => container.name, :target => "_blank" %>
|
|
|
|
|
<p class="fr por_time">活跃度<a class="ml5" ><%= static_project_score(container.project_score) %></a></p>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<%=render :partial =>"organizations/organization_content_extension", :locals => {:user_activity_id => container.id, :content=> container.description, :maxheight => 40, :maxwordsnum => 48, :maxwidth => 0, :cl => "por_project_p"} %>
|
|
|
|
|
<%=render :partial =>"organizations/organization_content_extension", :locals => {:user_activity_id => container.id, :content=> container.description, :maxheight => 40, :maxwordsnum => 55, :maxwidth => 0, :cl => "por_project_p"} %>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<% containers[1..4].each do |container| %>
|
|
|
|
@ -18,5 +19,6 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</li>
|
|
|
|
|
<% end %>
|
|
|
|
|
</ul>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div><!--por_projects end-->
|
|
|
|
|