<commit_before><h2><%= @query.new_record? ? l(:label_agile_chart_plural) : h(@query.name) %></h2>
<% html_title(@query.new_record? ? l(:label_agile_chart_plural) : @query.name) %>


<%= form_tag({ :controller => 'redmine_ex_agile', :action => 'index', :project_id => @project },
            :method => :get, :id => 'query_form') do %>
  <div id="query_form_with_buttons" class="hide-when-print">
    <%= hidden_field_tag 'set_filter', '1' %>
    <div id="query_form_content">
      <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
        <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
        <div style="<%= @query.new_record? ? "" : "display: none;" %>">
          <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
        </div>
      </fieldset>
      <fieldset class="collapsible collapsed">
        <legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
        <div>
          <table>
            <tr>
              <td><label for='chart'><%= l(:label_agile_chart) %></label></td>
              <td><%= select_tag('chart', options_charts_for_select(@chart)) %></td>
            </tr>
            <tr>
              <td><%= l(:label_agile_date_from) %></td>
              <td>
                <%= text_field_tag 'date_from', @query.date_from, :size => 10 %><%= calendar_for('date_from') %>
                <%= l(:label_agile_date_to) %>
                <%= text_field_tag 'date_to', @query.date_to, :size => 10 %><%= calendar_for('date_to') %>
              </td>
            </tr>
          </table>
        </div>
      </fieldset>
    </div>
    <p class="buttons">
      <%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %>
      <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload'  %>
    </p>
  </div>
<% end %>

<%= params["set_filter"] = 1 %>
<div style="border: 2px solid #4185f2; margin-bottom: 10px; margin-right: 10px; display:inline-block;" >
<h2 style="text-align: center; background-color: #4185f2; color: #c5d3ea; margin-bottom: 10px;" >TOTAL</h2>
<embed height="400" type="image/svg+xml" src="/redmine/agile/charts/render_chart?<%= params.to_param %>" />
</div>
<% users = @query.available_filters["assigned_to_id"][:values] %>
<% users.each do |name, id| %>
	<% next if id == "me" %>
	<% if params["f"].to_a.index("assigned_to_id") %>
		<% params["v"]["assigned_to_id"] = [id] %>
	<% else %>
		<% params["f"] ||= [] %>
		<% params["f"].unshift("assigned_to_id") %>
		<% params["v"] ||= {} %>
		<% params["v"]["assigned_to_id"] = [id] %>
		<% params["op"] ||= {} %>
		<% params["op"]["assigned_to_id"] = "=" %>
	<% end %>
	<div style="border: 2px solid #74D170; margin-bottom: 10px; margin-right: 10px; display:inline-block;" >
		<h2 style="text-align: center; background-color: #74D170;" ><%= name %></h2>
		<embed height="400" type="image/svg+xml" src="/redmine/agile/charts/render_chart?<%= params.to_param %>" />
	</div>
<% end %><commit_msg>Fix layout<commit_after><h2><%= @query.new_record? ? l(:label_agile_chart_plural) : h(@query.name) %></h2>
<% html_title(@query.new_record? ? l(:label_agile_chart_plural) : @query.name) %>


<%= form_tag({ :controller => 'redmine_ex_agile', :action => 'index', :project_id => @project },
            :method => :get, :id => 'query_form') do %>
  <div id="query_form_with_buttons" class="hide-when-print">
    <%= hidden_field_tag 'set_filter', '1' %>
    <div id="query_form_content">
      <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
        <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
        <div style="<%= @query.new_record? ? "" : "display: none;" %>">
          <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
        </div>
      </fieldset>
      <fieldset class="collapsible collapsed">
        <legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
        <div>
          <table>
            <tr>
              <td><label for='chart'><%= l(:label_agile_chart) %></label></td>
              <td><%= select_tag('chart', options_charts_for_select(@chart)) %></td>
            </tr>
            <tr>
              <td><%= l(:label_agile_date_from) %></td>
              <td>
                <%= text_field_tag 'date_from', @query.date_from, :size => 10 %><%= calendar_for('date_from') %>
                <%= l(:label_agile_date_to) %>
                <%= text_field_tag 'date_to', @query.date_to, :size => 10 %><%= calendar_for('date_to') %>
              </td>
            </tr>
          </table>
        </div>
      </fieldset>
    </div>
    <p class="buttons">
      <%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %>
      <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload'  %>
    </p>
  </div>
<% end %>

<% params["set_filter"] = 1 %>
<div style="border: 2px solid #4185f2; margin-bottom: 10px; margin-right: 10px; display:inline-block;" >
<h2 style="text-align: center; background-color: #4185f2; color: #c5d3ea; margin-bottom: 10px;" >TOTAL</h2>
<embed height="400" type="image/svg+xml" src="/redmine/agile/charts/render_chart?<%= params.to_param %>" />
</div>
<% users = @query.available_filters["assigned_to_id"][:values] %>
<% users.each do |name, id| %>
	<% next if id == "me" %>
	<% if params["f"].to_a.index("assigned_to_id") %>
		<% params["v"]["assigned_to_id"] = [id] %>
	<% else %>
		<% params["f"] ||= [] %>
		<% params["f"].unshift("assigned_to_id") %>
		<% params["v"] ||= {} %>
		<% params["v"]["assigned_to_id"] = [id] %>
		<% params["op"] ||= {} %>
		<% params["op"]["assigned_to_id"] = "=" %>
	<% end %>
	<div style="border: 2px solid #74D170; margin-bottom: 10px; margin-right: 10px; display:inline-block;" >
		<h2 style="text-align: center; background-color: #74D170;" ><%= name %></h2>
		<embed height="400" type="image/svg+xml" src="/redmine/agile/charts/render_chart?<%= params.to_param %>" />
	</div>
<% end %>
{'fraction_non_alphanumeric': 0.23145448655652737, 'fraction_numerical': 0.017168772270813086, 'mean_word_length': 3.4107142857142856, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 199, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3387551', 'n_tokens_mistral': 2430, 'n_tokens_neox': 2206, 'n_words': 377}