default widget show search
This commit is contained in:
1 parent
c0f1614cb9
commit
06fd305bf9
2 files changed
+32
-11
No files matched your search
@@ -1,5 +1,12 @@
|
||||
<% 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 %>
|
||||
|
||||
<%= render @partial %>
|
||||
<% if @paginate %>
|
||||
<% if @paginate and !@data.blank? %>
|
||||
<%= paginate @data, :param_name => :page_main, :params => {:same_page_id => @page_id} %>
|
||||
<% elsif @page_part.module_app %>
|
||||
<%= @page_part.module_app.get_registration.default_widget_setting.link_to_more_tag(request,params) %>
|
||||
|
||||
Reference in new issue
Block a user