<% data = @easy_page_modules_data[block_name] %>
<% if data[:query] && data[:project] && data[:query].easy_sprint %>
  <div id="agile_board_container">
    <%#= render :partial => 'easy_agile_board/coworkers', :locals => {:project => project, :easy_sprint => easy_sprint, :coworkers => @coworkers} %>

    <div class="sprint-container" data-sprint_id="<%= data[:query].easy_sprint.id %> " id="<%= modul_uniq_id %>scrum-sprint-container"></div>
  </div>

  <script type="text/javascript">
  <%# TODO: disable position changing! %>
    window.easyLoaders.scrum("#<%= modul_uniq_id %>scrum-sprint-container",'<%= raw output_data_easy_queries_path(data[:query].to_params.merge(output: 'scrum', project_id: data[:project], format: 'json')) %>' );
  </script>
<% else %>
  <p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
