<% query = easy_page_modules_data[:query] %>
<%= render 'easy_page_modules/easy_query_show', :easy_page_modules_data => easy_page_modules_data, user: user, modul_uniq_id: modul_uniq_id, block_name: block_name, page_module: page_module, settings: settings %>
<% if easy_page_modules_data[:entities] && easy_page_modules_data[:entities].length > 0 %>
  <div class="toolbar"><%= link_to l(:label_issue_view_all),{ :controller => 'issues', :action => 'index', :project_id => query.project, :set_filter => 1, :status_id => 'o', :sort => easy_page_modules_data[:sort]}, :class => 'button-main button-rounded button-outlined' %></div>
<% end %>

