右一添加“更多”链接
This commit is contained in:
parent
e8c458c163
commit
9a80ff0597
|
@ -287,7 +287,7 @@
|
||||||
<%#= link_to news.description.to_s.html_safe, news_path(news), :target => '_blank', :class => "resources-tag" %>
|
<%#= 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} %>
|
<%= render :partial =>"users/intro_content_ex", :locals=>{:user_activity_id => document.id, :content=> content, :maxheight=>54, :maxwordsnum => 28, :maxwordsnum => 28} %>
|
||||||
</div>
|
</div>
|
||||||
<%= link_to "更多", news_path(news), :class => "more-btn", :target => "_blank" %>
|
<%#= link_to "更多", news_path(news), :class => "more-btn", :target => "_blank" %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -159,7 +159,10 @@
|
||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="sn-index-activebox" style="display:<%= field.hide == 0?'block':'none' %>;">
|
<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| %>
|
<% org_acts.first(4).each do |activity| %>
|
||||||
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' && activity.org_act_id != @organization.home_id %>
|
<% if activity.container_type == 'Organization' && activity.org_act_type == 'OrgDocumentComment' && activity.org_act_id != @organization.home_id %>
|
||||||
<% document = activity.org_act %>
|
<% document = activity.org_act %>
|
||||||
|
|
Loading…
Reference in New Issue