From 9a80ff05975b5d48b67f4f0611e9405db54251d5 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 6 May 2016 22:21:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B3=E4=B8=80=E6=B7=BB=E5=8A=A0=E2=80=9C?= =?UTF-8?q?=E6=9B=B4=E5=A4=9A=E2=80=9D=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/organizations/_org_subfield_leftMD.html.erb | 2 +- app/views/organizations/_org_subfield_rightT.html.erb | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/organizations/_org_subfield_leftMD.html.erb b/app/views/organizations/_org_subfield_leftMD.html.erb index b6bc5f294..e9c20d4bb 100644 --- a/app/views/organizations/_org_subfield_leftMD.html.erb +++ b/app/views/organizations/_org_subfield_leftMD.html.erb @@ -287,7 +287,7 @@ <%#= link_to news.description.to_s.html_safe, news_path(news), :target => '_blank', :class => "resources-tag" %> <%= render :partial =>"users/intro_content_ex", :locals=>{:user_activity_id => document.id, :content=> content, :maxheight=>54, :maxwordsnum => 28, :maxwordsnum => 28} %> - <%= link_to "更多", news_path(news), :class => "more-btn", :target => "_blank" %> + <%#= link_to "更多", news_path(news), :class => "more-btn", :target => "_blank" %> <% end %> <% end %> diff --git a/app/views/organizations/_org_subfield_rightT.html.erb b/app/views/organizations/_org_subfield_rightT.html.erb index 2dfbbee5d..1a57b7dd2 100644 --- a/app/views/organizations/_org_subfield_rightT.html.erb +++ b/app/views/organizations/_org_subfield_rightT.html.erb @@ -159,7 +159,10 @@ <% else %>
-

<%= field.name %>更多

+

<%= field.name %> + <%= render :partial => 'organizations/link_subfield_more', :locals => {:field => field} %> + +

<% org_acts.first(4).each do |activity| %> <% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' && activity.org_act_id != @organization.home_id %> <% document = activity.org_act %>