Mercurial > hg > soundsoftware-site
view .svn/pristine/7b/7b2a6adb23a503368488d16e9474371a5b7775da.svn-base @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +0100 |
parents | 261b3d9a4903 |
children |
line wrap: on
line source
<%= 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 %>