右一添加“更多”链接

This commit is contained in:
huang 2016-05-06 22:21:52 +08:00
parent e8c458c163
commit 9a80ff0597
2 changed files with 5 additions and 2 deletions

View File

@ -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} %>
</div>
<%= link_to "更多", news_path(news), :class => "more-btn", :target => "_blank" %>
<%#= link_to "更多", news_path(news), :class => "more-btn", :target => "_blank" %>
</div>
<% end %>
<% end %>

View File

@ -159,7 +159,10 @@
</div>
<% else %>
<div class="sn-index-activebox" style="display:<%= field.hide == 0?'block':'none' %>;">
<h2 class="h2-title mb18"><%= field.name %><a href="javascript:void(0);" target="_blank" class="more">更多</a></h2>
<h2 class="h2-title mb18"><%= field.name %>
<%= render :partial => 'organizations/link_subfield_more', :locals => {:field => field} %>
<!--<a href="javascript:void(0);" target="_blank" class="more">更多</a>-->
</h2>
<% 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 %>