This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2013-06-05 05:00:21 +00:00
|
|
|
<% if @data.blank? and @search %>
|
|
|
|
<%=render :partial => 'shared/search_not_found' %>
|
|
|
|
<% elsif @search %>
|
|
|
|
<%= t("search.result_get",:search_word => params[:search_query],:item_num=>@data.count) unless (@data.count == 30) %>
|
|
|
|
<%= t("search.too_many",:search_word => params[:search_query],:exceed_num=>@data.count) if (@data.count ==30) %>
|
|
|
|
<% end %>
|
|
|
|
|
2013-02-06 10:20:45 +00:00
|
|
|
<%= render @partial %>
|
2013-06-05 05:00:21 +00:00
|
|
|
<% if @paginate and !@data.blank? %>
|
2013-02-06 10:20:45 +00:00
|
|
|
<%= paginate @data, :param_name => :page_main, :params => {:same_page_id => @page_id} %>
|
2013-03-07 13:21:48 +00:00
|
|
|
<% elsif @page_part.module_app %>
|
2013-02-23 10:29:50 +00:00
|
|
|
<%= @page_part.module_app.get_registration.default_widget_setting.link_to_more_tag(request,params) %>
|
|
|
|
<% end %>
|