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.
orbit-4-1/app/views/default_widget/default_widget.html.erb

14 lines
675 B
Plaintext
Raw Normal View History

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 %>
<%= render @partial %>
2013-06-05 05:00:21 +00:00
<% if @paginate and !@data.blank? %>
<%= paginate @data, :param_name => :page_main, :params => {:same_page_id => @page_id} %>
<% 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 %>