diff --git a/app/views/organizations/_org_custom_right2.html.erb b/app/views/organizations/_org_custom_right2.html.erb index 34e3682f6..7bb2cbf93 100644 --- a/app/views/organizations/_org_custom_right2.html.erb +++ b/app/views/organizations/_org_custom_right2.html.erb @@ -1,13 +1,22 @@
-

热点项目更多>

- -
\ No newline at end of file +

热点项目

+ <% if containers.blank? %> +

该模块暂时没有相关内容

+ <% else %> + <% container = cotainers.first %> +
  • + <%= link_to "#{container.name}".html_safe, project_path(container), :class => "por_hidden_w205 fl", :title => container.name, :target => "_blank" %> +

    活跃度<%= static_project_score(@project.project_score) %>

    +
    + <%=render :partial =>"organizations/organization_content_extension", :locals => {:user_activity_id => activity.id, :content=> activity.description, :maxheight => 20, :maxwordsnum => 70, :maxwidth => 0, :cl => "por_project_p"} %> +
  • + + <% cotainers[1..4].each do |container| %> +
  • + <%= link_to "#{container.name}".html_safe, project_path(container), :class => "por_hidden_w205 fl", :title => container.name, :target => "_blank" %> +

    活跃度<%= static_project_score(@project.project_score) %>

    +
    +
  • + <% end %> + <% end %> +