<% if page_module.entity_id.blank? -%>
  <%= render :partial => 'easy_page_modules/page_module_cannot_be_displayed', :locals => { :page_module => page_module } %>
<% else -%>
  <%= render :partial => 'sidebar/saved_easyqueries_by_type', :locals => {:user => user, :page_module => page_module, :page_params => page_params, :query_class => EasyIssueQuery, :modul_uniq_id => modul_uniq_id, :private_queries => @easy_page_modules_data[block_name][:personal], :public_queries => @easy_page_modules_data[block_name][:public]} %>
<% end -%>
