<%= render @query, options: { :hascontextmenu => false }  %>

<% ### PAGE CUSTOMS ########################################################## %>

<% content_for :sidebar do -%>
  <%= render :partial => 'sidebar/saved_easyqueries_by_type', :locals => {:query_class => @query.class, :project => @project} -%>
<% end -%>

<% content_for :easy_page_layout_service_box do -%>
  <%= link_to l(:label_import_easy_page), easy_xml_easy_pages_import_settings_path(back_url: request.fullpath), class: 'icon icon-import button-positive' if (User.current.easy_lesser_admin_for?(:easy_xml_data_import) && Redmine::Plugin.installed?(:easy_data_templates)) -%>
  <%= link_to l(:label_easy_page_new), new_easy_page_path, class: 'icon icon-add button-positive' %>
<% end -%>
