Sha256: 456112b7eb23866ee84f421d29952c158846716ac91a268e6539104cd85372c3

Contents?: true

Size: 922 Bytes

Versions: 34

Compression:

Stored size: 922 Bytes

Contents

<%= javascript_tag do %>
var operatorLabels = <%= raw_json Query.operators_labels %>;
var operatorByType = <%= raw_json Query.operators_by_filter_type %>;
var availableFilters = <%= raw_json query.available_filters_as_json %>;
var labelDayPlural = <%= raw_json l(:label_day_plural) %>;
var allProjects = <%= raw_json query.all_projects_values %>;
$(document).ready(function(){
  initFilters();
  <% query.filters.each do |field, options| %>
  addFilter("<%= field %>", <%= raw_json query.operator_for(field) %>, <%= raw_json query.values_for(field) %>);
  <% end %>
});
<% end %>

<table style="width:100%">
<tr>
<td>
<table id="filters-table">
</table>
</td>
<td class="add-filter">
<%= label_tag('add_filter_select', l(:label_filter_add)) %>
<%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %>
</td>
</tr>
</table>
<%= hidden_field_tag 'f[]', '' %>
<% include_calendar_headers_tags %>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/queries/_filters.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/queries/_filters.html.erb