pwice_grid 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +68 -0
- data/.circleci/run-build-locally.sh +7 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- data/.gitignore +22 -0
- data/.inch.yml +3 -0
- data/.rspec +3 -0
- data/.rubocop.yml +186 -0
- data/Appraisals +11 -0
- data/CHANGELOG.md +758 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +298 -0
- data/MIT-LICENSE +20 -0
- data/README.md +1561 -0
- data/Rakefile +49 -0
- data/SAVED_QUERIES_HOWTO.md +113 -0
- data/app/views/kaminari/wice_grid/_gap.html.erb +1 -0
- data/app/views/kaminari/wice_grid/_next_page.html.erb +1 -0
- data/app/views/kaminari/wice_grid/_page.html.erb +1 -0
- data/app/views/kaminari/wice_grid/_paginator.html.erb +19 -0
- data/app/views/kaminari/wice_grid/_prev_page.html.erb +1 -0
- data/config/locales/cz.yml +40 -0
- data/config/locales/de.yml +42 -0
- data/config/locales/en.yml +42 -0
- data/config/locales/es.yml +42 -0
- data/config/locales/fr.yml +40 -0
- data/config/locales/is.yml +41 -0
- data/config/locales/it.yml +33 -0
- data/config/locales/ja.yml +42 -0
- data/config/locales/nl.yml +40 -0
- data/config/locales/pt-BR.yml +31 -0
- data/config/locales/pt.yml +40 -0
- data/config/locales/ru.yml +40 -0
- data/config/locales/sk.yml +40 -0
- data/config/locales/uk.yml +40 -0
- data/config/locales/zh.yml +40 -0
- data/gemfiles/rails_5.0.gemfile +7 -0
- data/gemfiles/rails_5.0.gemfile.lock +299 -0
- data/gemfiles/rails_5.1.gemfile +7 -0
- data/gemfiles/rails_5.1.gemfile.lock +299 -0
- data/gemfiles/rails_5.2.gemfile +7 -0
- data/gemfiles/rails_5.2.gemfile.lock +307 -0
- data/lib/generators/wice_grid/add_migration_for_serialized_queries_generator.rb +19 -0
- data/lib/generators/wice_grid/install_generator.rb +13 -0
- data/lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb +13 -0
- data/lib/generators/wice_grid/templates/wice_grid_config.rb +191 -0
- data/lib/wice/active_record_column_wrapper.rb +122 -0
- data/lib/wice/columns.rb +282 -0
- data/lib/wice/columns/column_action.rb +51 -0
- data/lib/wice/columns/column_boolean.rb +39 -0
- data/lib/wice/columns/column_bootstrap_datepicker.rb +47 -0
- data/lib/wice/columns/column_custom_dropdown.rb +114 -0
- data/lib/wice/columns/column_float.rb +8 -0
- data/lib/wice/columns/column_html5_datepicker.rb +30 -0
- data/lib/wice/columns/column_integer.rb +87 -0
- data/lib/wice/columns/column_jquery_datepicker.rb +48 -0
- data/lib/wice/columns/column_processor_index.rb +22 -0
- data/lib/wice/columns/column_rails_date_helper.rb +40 -0
- data/lib/wice/columns/column_rails_datetime_helper.rb +40 -0
- data/lib/wice/columns/column_range.rb +73 -0
- data/lib/wice/columns/column_string.rb +91 -0
- data/lib/wice/columns/common_date_datetime_mixin.rb +19 -0
- data/lib/wice/columns/common_js_date_datetime_conditions_generator_mixin.rb +38 -0
- data/lib/wice/columns/common_js_date_datetime_mixin.rb +14 -0
- data/lib/wice/columns/common_rails_date_datetime_conditions_generator_mixin.rb +25 -0
- data/lib/wice/columns/common_standard_helper_date_datetime_mixin.rb +21 -0
- data/lib/wice/grid_output_buffer.rb +48 -0
- data/lib/wice/grid_renderer.rb +624 -0
- data/lib/wice/helpers/bs_calendar_helpers.rb +73 -0
- data/lib/wice/helpers/js_calendar_helpers.rb +82 -0
- data/lib/wice/helpers/wice_grid_misc_view_helpers.rb +74 -0
- data/lib/wice/helpers/wice_grid_serialized_queries_view_helpers.rb +94 -0
- data/lib/wice/helpers/wice_grid_view_helpers.rb +719 -0
- data/lib/wice/kaminari_monkey_patching.rb +12 -0
- data/lib/wice/table_column_matrix.rb +64 -0
- data/lib/wice/wice_grid_controller.rb +174 -0
- data/lib/wice/wice_grid_core_ext.rb +145 -0
- data/lib/wice/wice_grid_misc.rb +208 -0
- data/lib/wice/wice_grid_serialized_queries_controller.rb +86 -0
- data/lib/wice/wice_grid_serialized_query.rb +13 -0
- data/lib/wice/wice_grid_spreadsheet.rb +19 -0
- data/lib/wice_grid.rb +702 -0
- data/spec/acceptance_helper.rb +59 -0
- data/spec/features/action_column_request_spec.rb +280 -0
- data/spec/features/adding_rows_request_spec.rb +21 -0
- data/spec/features/all_records_request_spec.rb +18 -0
- data/spec/features/auto_reloads2_request_spec.rb +366 -0
- data/spec/features/auto_reloads3_request_spec.rb +130 -0
- data/spec/features/auto_reloads_request_spec.rb +364 -0
- data/spec/features/basics1_request_spec.rb +11 -0
- data/spec/features/basics2_request_spec.rb +10 -0
- data/spec/features/basics3_request_spec.rb +29 -0
- data/spec/features/basics4_request_spec.rb +19 -0
- data/spec/features/basics5_request_spec.rb +13 -0
- data/spec/features/basics6_request_spec.rb +22 -0
- data/spec/features/blockless_column_definition_spec.rb +27 -0
- data/spec/features/buttons_request_spec.rb +172 -0
- data/spec/features/csv_and_detached_filters_spec.rb +10 -0
- data/spec/features/csv_export_request_spec.rb +13 -0
- data/spec/features/custom_filter_params_request_spec.rb +29 -0
- data/spec/features/custom_filters1_request_spec.rb +136 -0
- data/spec/features/custom_filters2_request_spec.rb +31 -0
- data/spec/features/custom_filters3_request_spec.rb +34 -0
- data/spec/features/custom_filters4_request_spec.rb +13 -0
- data/spec/features/custom_ordering_on_calculated_request_spec.rb +30 -0
- data/spec/features/custom_ordering_request_spec.rb +36 -0
- data/spec/features/custom_ordering_with_arel_request_spec.rb +36 -0
- data/spec/features/custom_ordering_with_proc_request_spec.rb +44 -0
- data/spec/features/custom_ordering_with_ruby_request_spec.rb +30 -0
- data/spec/features/dates_request_spec.rb +56 -0
- data/spec/features/detached_filters_spec.rb +10 -0
- data/spec/features/detached_filters_two_grids_spec.rb +135 -0
- data/spec/features/disable_all_filters_spec.rb +22 -0
- data/spec/features/hiding_checkboxes_in_action_column_request_spec.rb +294 -0
- data/spec/features/integration_with_application_view_request_spec.rb +43 -0
- data/spec/features/integration_with_forms_request_spec.rb +141 -0
- data/spec/features/joining_tables_spec.rb +40 -0
- data/spec/features/localization_request_spec.rb +24 -0
- data/spec/features/many_grids_on_page_request_spec.rb +104 -0
- data/spec/features/negation_request_spec.rb +25 -0
- data/spec/features/no_records_request_spec.rb +26 -0
- data/spec/features/numeric_filters_request_spec.rb +10 -0
- data/spec/features/resultset_processings2_request_spec.rb +27 -0
- data/spec/features/resultset_processings_request_spec.rb +30 -0
- data/spec/features/saved_queries_request_spec.rb +120 -0
- data/spec/features/shared.rb +1005 -0
- data/spec/features/shared_detached_filters.rb +175 -0
- data/spec/features/styling_spec.rb +15 -0
- data/spec/features/two_associations_spec.rb +48 -0
- data/spec/features/upper_pagination_panel_request_spec.rb +23 -0
- data/spec/features/when_filtered_spec.rb +209 -0
- data/spec/fixtures/.gitkeep +0 -0
- data/spec/fixtures/companies.yml +21 -0
- data/spec/fixtures/priorities.yml +31 -0
- data/spec/fixtures/project_roles.yml +25 -0
- data/spec/fixtures/projects.yml +22 -0
- data/spec/fixtures/statuses.yml +55 -0
- data/spec/fixtures/tasks.yml +751 -0
- data/spec/fixtures/tasks_users.yml +2089 -0
- data/spec/fixtures/users.yml +61 -0
- data/spec/fixtures/versions.yml +78 -0
- data/spec/models/company_spec.rb +6 -0
- data/spec/models/priority_spec.rb +6 -0
- data/spec/models/project_spec.rb +11 -0
- data/spec/models/status_spec.rb +6 -0
- data/spec/models/task_spec.rb +12 -0
- data/spec/models/user_project_participation_spec.rb +7 -0
- data/spec/models/user_spec.rb +12 -0
- data/spec/models/version_spec.rb +5 -0
- data/spec/rails_helper.rb +15 -0
- data/spec/schema.rb +8 -0
- data/spec/spec_helper.rb +75 -0
- data/spec/support/active_record.rb +10 -0
- data/spec/support/test_app/Rakefile +3 -0
- data/spec/support/test_app/app/assets/javascripts/application.js +20 -0
- data/spec/support/test_app/app/assets/javascripts/common.js.coffee +6 -0
- data/spec/support/test_app/app/assets/javascripts/jquery.ui.datepicker.locales.js +56 -0
- data/spec/support/test_app/app/assets/stylesheets/adding_rows.scss +3 -0
- data/spec/support/test_app/app/assets/stylesheets/application.scss +46 -0
- data/spec/support/test_app/app/assets/stylesheets/csv_and_detached_filters.scss +3 -0
- data/spec/support/test_app/app/assets/stylesheets/many_grids_on_page.scss +3 -0
- data/spec/support/test_app/app/controllers/action_column_controller.rb +15 -0
- data/spec/support/test_app/app/controllers/adding_rows_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/all_records_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/application_controller.rb +99 -0
- data/spec/support/test_app/app/controllers/auto_reloads2_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/auto_reloads3_controller.rb +20 -0
- data/spec/support/test_app/app/controllers/auto_reloads_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/basics1_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics2_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics3_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics4_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics5_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/basics6_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/blockless_column_definition_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/buttons_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/csv_and_detached_filters_controller.rb +13 -0
- data/spec/support/test_app/app/controllers/csv_export_controller.rb +28 -0
- data/spec/support/test_app/app/controllers/custom_filter_params_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/custom_filters1_controller.rb +9 -0
- data/spec/support/test_app/app/controllers/custom_filters2_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/custom_filters3_controller.rb +12 -0
- data/spec/support/test_app/app/controllers/custom_filters4_controller.rb +12 -0
- data/spec/support/test_app/app/controllers/custom_ordering_controller.rb +18 -0
- data/spec/support/test_app/app/controllers/custom_ordering_on_calculated_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/custom_ordering_with_arel_controller.rb +18 -0
- data/spec/support/test_app/app/controllers/custom_ordering_with_proc_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/custom_ordering_with_ruby_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/dates_controller.rb +8 -0
- data/spec/support/test_app/app/controllers/detached_filters_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/detached_filters_two_grids_controller.rb +7 -0
- data/spec/support/test_app/app/controllers/disable_all_filters_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/hiding_checkboxes_in_action_column_controller.rb +13 -0
- data/spec/support/test_app/app/controllers/home_controller.rb +3 -0
- data/spec/support/test_app/app/controllers/integration_with_application_view_controller.rb +16 -0
- data/spec/support/test_app/app/controllers/integration_with_forms_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/joining_tables_controller.rb +11 -0
- data/spec/support/test_app/app/controllers/localization_controller.rb +26 -0
- data/spec/support/test_app/app/controllers/many_grids_on_page_controller.rb +7 -0
- data/spec/support/test_app/app/controllers/negation_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/no_records_controller.rb +8 -0
- data/spec/support/test_app/app/controllers/null_values_controller.rb +10 -0
- data/spec/support/test_app/app/controllers/numeric_filters_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/queries_controller.rb +4 -0
- data/spec/support/test_app/app/controllers/resultset_processings2_controller.rb +29 -0
- data/spec/support/test_app/app/controllers/resultset_processings_controller.rb +30 -0
- data/spec/support/test_app/app/controllers/saved_queries_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/styling_controller.rb +7 -0
- data/spec/support/test_app/app/controllers/tasks_controller.rb +14 -0
- data/spec/support/test_app/app/controllers/two_associations_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/upper_pagination_panel_controller.rb +6 -0
- data/spec/support/test_app/app/controllers/when_filtered_controller.rb +6 -0
- data/spec/support/test_app/app/helpers/application_helper.rb +82 -0
- data/spec/support/test_app/app/mailers/.gitkeep +0 -0
- data/spec/support/test_app/app/models/.gitkeep +0 -0
- data/spec/support/test_app/app/models/company.rb +5 -0
- data/spec/support/test_app/app/models/populate.rb +84 -0
- data/spec/support/test_app/app/models/priority.rb +10 -0
- data/spec/support/test_app/app/models/project.rb +14 -0
- data/spec/support/test_app/app/models/project_role.rb +3 -0
- data/spec/support/test_app/app/models/status.rb +10 -0
- data/spec/support/test_app/app/models/task.rb +11 -0
- data/spec/support/test_app/app/models/to_dropdown_mixin.rb +16 -0
- data/spec/support/test_app/app/models/user.rb +8 -0
- data/spec/support/test_app/app/models/user_project_participation.rb +6 -0
- data/spec/support/test_app/app/models/version.rb +6 -0
- data/spec/support/test_app/app/views/action_column/_grid.html.erb +35 -0
- data/spec/support/test_app/app/views/action_column/index.html.haml +45 -0
- data/spec/support/test_app/app/views/adding_rows/_grid.html.erb +58 -0
- data/spec/support/test_app/app/views/adding_rows/index.html.haml +37 -0
- data/spec/support/test_app/app/views/all_records/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/all_records/index.html.haml +12 -0
- data/spec/support/test_app/app/views/auto_reloads/_grid.html.erb +32 -0
- data/spec/support/test_app/app/views/auto_reloads/index.html.haml +15 -0
- data/spec/support/test_app/app/views/auto_reloads2/_grid.html.erb +32 -0
- data/spec/support/test_app/app/views/auto_reloads2/index.html.haml +65 -0
- data/spec/support/test_app/app/views/auto_reloads3/_grid.html.erb +25 -0
- data/spec/support/test_app/app/views/auto_reloads3/index.html.haml +78 -0
- data/spec/support/test_app/app/views/basics1/_grid.html.erb +26 -0
- data/spec/support/test_app/app/views/basics1/index.html.haml +13 -0
- data/spec/support/test_app/app/views/basics2/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/basics2/index.html.haml +12 -0
- data/spec/support/test_app/app/views/basics3/_grid.html.erb +28 -0
- data/spec/support/test_app/app/views/basics3/index.html.haml +13 -0
- data/spec/support/test_app/app/views/basics4/_grid.html.erb +21 -0
- data/spec/support/test_app/app/views/basics4/index.html.haml +12 -0
- data/spec/support/test_app/app/views/basics5/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/basics5/index.html.haml +12 -0
- data/spec/support/test_app/app/views/basics6/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/basics6/index.html.haml +23 -0
- data/spec/support/test_app/app/views/blockless_column_definition/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/blockless_column_definition/index.html.haml +15 -0
- data/spec/support/test_app/app/views/buttons/_grid.html.erb +20 -0
- data/spec/support/test_app/app/views/buttons/index.html.haml +30 -0
- data/spec/support/test_app/app/views/csv_and_detached_filters/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/csv_and_detached_filters/index.html.haml +58 -0
- data/spec/support/test_app/app/views/csv_export/_projects_grid.html.erb +17 -0
- data/spec/support/test_app/app/views/csv_export/_tasks_grid.html.erb +43 -0
- data/spec/support/test_app/app/views/csv_export/index.html.haml +90 -0
- data/spec/support/test_app/app/views/custom_filter_params/_grid.html.erb +12 -0
- data/spec/support/test_app/app/views/custom_filter_params/index.html.haml +12 -0
- data/spec/support/test_app/app/views/custom_filters1/_g1.html.erb +8 -0
- data/spec/support/test_app/app/views/custom_filters1/_g2.html.erb +9 -0
- data/spec/support/test_app/app/views/custom_filters1/_g3.html.erb +9 -0
- data/spec/support/test_app/app/views/custom_filters1/_g4.html.erb +8 -0
- data/spec/support/test_app/app/views/custom_filters1/index.html.haml +30 -0
- data/spec/support/test_app/app/views/custom_filters2/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/custom_filters2/index.html.haml +41 -0
- data/spec/support/test_app/app/views/custom_filters3/_grid.html.erb +18 -0
- data/spec/support/test_app/app/views/custom_filters3/index.html.haml +16 -0
- data/spec/support/test_app/app/views/custom_filters4/_grid.html.erb +20 -0
- data/spec/support/test_app/app/views/custom_filters4/index.html.haml +12 -0
- data/spec/support/test_app/app/views/custom_ordering/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering/index.html.haml +24 -0
- data/spec/support/test_app/app/views/custom_ordering_on_calculated/_grid.html.erb +14 -0
- data/spec/support/test_app/app/views/custom_ordering_on_calculated/index.html.haml +23 -0
- data/spec/support/test_app/app/views/custom_ordering_with_arel/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering_with_arel/index.html.haml +24 -0
- data/spec/support/test_app/app/views/custom_ordering_with_proc/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering_with_proc/index.html.haml +21 -0
- data/spec/support/test_app/app/views/custom_ordering_with_ruby/_grid.html.erb +10 -0
- data/spec/support/test_app/app/views/custom_ordering_with_ruby/index.html.haml +23 -0
- data/spec/support/test_app/app/views/dates/_grid.html.erb +25 -0
- data/spec/support/test_app/app/views/dates/index.html.haml +52 -0
- data/spec/support/test_app/app/views/detached_filters/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/detached_filters/index.html.haml +79 -0
- data/spec/support/test_app/app/views/detached_filters_two_grids/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/detached_filters_two_grids/index.html.haml +85 -0
- data/spec/support/test_app/app/views/disable_all_filters/_grid.html.erb +21 -0
- data/spec/support/test_app/app/views/disable_all_filters/index.html.haml +14 -0
- data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/_grid.html.erb +34 -0
- data/spec/support/test_app/app/views/hiding_checkboxes_in_action_column/index.html.haml +32 -0
- data/spec/support/test_app/app/views/integration_with_application_view/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/integration_with_application_view/index.html.haml +33 -0
- data/spec/support/test_app/app/views/integration_with_forms/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/integration_with_forms/index.html.haml +18 -0
- data/spec/support/test_app/app/views/joining_tables/_grid.html.erb +23 -0
- data/spec/support/test_app/app/views/joining_tables/index.html.haml +26 -0
- data/spec/support/test_app/app/views/layouts/application.html.haml +61 -0
- data/spec/support/test_app/app/views/localization/_grid.html.erb +36 -0
- data/spec/support/test_app/app/views/localization/index.html.haml +20 -0
- data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid1.html.erb +12 -0
- data/spec/support/test_app/app/views/many_grids_on_page/_tasks_grid2.html.erb +12 -0
- data/spec/support/test_app/app/views/many_grids_on_page/index.html.haml +26 -0
- data/spec/support/test_app/app/views/negation/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/negation/index.html.haml +15 -0
- data/spec/support/test_app/app/views/no_records/_empty_grid.html.haml +1 -0
- data/spec/support/test_app/app/views/no_records/_grid1.html.erb +11 -0
- data/spec/support/test_app/app/views/no_records/_grid2.html.erb +9 -0
- data/spec/support/test_app/app/views/no_records/_grid3.html.erb +9 -0
- data/spec/support/test_app/app/views/no_records/index.html.haml +24 -0
- data/spec/support/test_app/app/views/null_values/_grid.html.erb +17 -0
- data/spec/support/test_app/app/views/null_values/index.html.haml +21 -0
- data/spec/support/test_app/app/views/numeric_filters/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/numeric_filters/index.html.haml +12 -0
- data/spec/support/test_app/app/views/resultset_processings/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/resultset_processings/index.html.haml +50 -0
- data/spec/support/test_app/app/views/resultset_processings2/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/resultset_processings2/index.html.haml +48 -0
- data/spec/support/test_app/app/views/saved_queries/_grid.html.erb +30 -0
- data/spec/support/test_app/app/views/saved_queries/index.html.haml +15 -0
- data/spec/support/test_app/app/views/styling/_grid1.html.erb +12 -0
- data/spec/support/test_app/app/views/styling/_grid2.html.erb +31 -0
- data/spec/support/test_app/app/views/styling/index.html.haml +65 -0
- data/spec/support/test_app/app/views/tasks/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/tasks/index.html.haml +1 -0
- data/spec/support/test_app/app/views/two_associations/_grid.html.erb +13 -0
- data/spec/support/test_app/app/views/two_associations/index.html.haml +13 -0
- data/spec/support/test_app/app/views/upper_pagination_panel/_grid.html.erb +27 -0
- data/spec/support/test_app/app/views/upper_pagination_panel/index.html.haml +14 -0
- data/spec/support/test_app/app/views/when_filtered/_grid.html.erb +19 -0
- data/spec/support/test_app/app/views/when_filtered/index.html.haml +15 -0
- data/spec/support/test_app/bin/rails +4 -0
- data/spec/support/test_app/bin/rake +4 -0
- data/spec/support/test_app/config.ru +5 -0
- data/spec/support/test_app/config/application.rb +70 -0
- data/spec/support/test_app/config/boot.rb +7 -0
- data/spec/support/test_app/config/database.travis.yml +27 -0
- data/spec/support/test_app/config/database.yml +16 -0
- data/spec/support/test_app/config/database.yml.mysql +19 -0
- data/spec/support/test_app/config/database.yml.postgresql +18 -0
- data/spec/support/test_app/config/environment.rb +6 -0
- data/spec/support/test_app/config/environments/development.rb +34 -0
- data/spec/support/test_app/config/environments/production.rb +66 -0
- data/spec/support/test_app/config/environments/test.rb +34 -0
- data/spec/support/test_app/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/support/test_app/config/initializers/inflections.rb +16 -0
- data/spec/support/test_app/config/initializers/mime_types.rb +6 -0
- data/spec/support/test_app/config/initializers/secret_token.rb +12 -0
- data/spec/support/test_app/config/initializers/session_store.rb +9 -0
- data/spec/support/test_app/config/initializers/wice_grid_config.rb +163 -0
- data/spec/support/test_app/config/initializers/wrap_parameters.rb +15 -0
- data/spec/support/test_app/config/locales/en.yml +5 -0
- data/spec/support/test_app/config/locales/wice_grid.yml +550 -0
- data/spec/support/test_app/config/puma.rb +15 -0
- data/spec/support/test_app/config/routes.rb +125 -0
- data/spec/support/test_app/db/migrate/20120224193505_create_tasks.rb +27 -0
- data/spec/support/test_app/db/migrate/20120224193517_create_users.rb +12 -0
- data/spec/support/test_app/db/migrate/20120224193522_create_projects.rb +14 -0
- data/spec/support/test_app/db/migrate/20120224193529_create_priorities.rb +13 -0
- data/spec/support/test_app/db/migrate/20120224193537_create_statuses.rb +13 -0
- data/spec/support/test_app/db/migrate/20120224193543_create_versions.rb +15 -0
- data/spec/support/test_app/db/migrate/20120224193550_create_project_roles.rb +12 -0
- data/spec/support/test_app/db/migrate/20120224193610_create_companies.rb +12 -0
- data/spec/support/test_app/db/migrate/20120224195351_create_user_project_participations.rb +16 -0
- data/spec/support/test_app/db/migrate/20120224195521_add_tasks_users.rb +11 -0
- data/spec/support/test_app/db/migrate/20120610091944_create_wice_grid_serialized_queries.rb +14 -0
- data/spec/support/test_app/db/schema.rb +139 -0
- data/spec/support/test_app/db/seeds.rb +10 -0
- data/spec/support/test_app/lib/ar_fixtures.rb +100 -0
- data/spec/support/test_app/lib/assets/.gitkeep +0 -0
- data/spec/support/test_app/lib/tasks/.gitkeep +0 -0
- data/spec/support/test_app/lib/tasks/ar_fixtures.rake +45 -0
- data/spec/support/test_app/public/404.html +26 -0
- data/spec/support/test_app/public/422.html +26 -0
- data/spec/support/test_app/public/500.html +25 -0
- data/spec/support/test_app/public/favicon.ico +0 -0
- data/spec/support/test_app/public/robots.txt +5 -0
- data/spec/wice/grid_output_buffer_spec.rb +39 -0
- data/spec/wice/table_column_matrix_spec.rb +36 -0
- data/spec/wice/wice_grid_misc_spec.rb +157 -0
- data/spec/wice/wice_grid_spreadsheet_spec.rb +12 -0
- data/vendor/assets/javascripts/wice_grid.js +3 -0
- data/vendor/assets/javascripts/wice_grid_init.js.coffee +351 -0
- data/vendor/assets/javascripts/wice_grid_processor.js.coffee +133 -0
- data/vendor/assets/javascripts/wice_grid_saved_queries_init.js.coffee +104 -0
- data/vendor/assets/stylesheets/wice_grid.scss +81 -0
- data/wice_grid.gemspec +54 -0
- metadata +861 -0
data/Rakefile
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts 'Run `bundle install` to install missing gems'
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
|
13
|
+
require 'rake'
|
14
|
+
require 'rspec/core'
|
15
|
+
require 'rspec/core/rake_task'
|
16
|
+
|
17
|
+
RSpec::Core::RakeTask.new(:spec)
|
18
|
+
|
19
|
+
desc 'Run RSpec with code coverage'
|
20
|
+
task :coverage do
|
21
|
+
ENV['COVERAGE'] = 'true'
|
22
|
+
Rake::Task['spec'].execute
|
23
|
+
end
|
24
|
+
|
25
|
+
# Experimenting with documentation system we will keep both Yardoc and Rdoc for some time, plus Inch
|
26
|
+
|
27
|
+
require 'yard'
|
28
|
+
require 'yard/rake/yardoc_task'
|
29
|
+
desc 'Generate YARDOC documentation for the plugin'
|
30
|
+
YARD::Rake::YardocTask.new(:yardoc) do |t|
|
31
|
+
OTHER_PATHS = %w()
|
32
|
+
t.files = ['lib/**/*.rb', OTHER_PATHS]
|
33
|
+
t.options = %w(--main=README.md --file TODO.md,CHANGELOG.md,SAVED_QUERIES_HOWTO.md,MIT-LICENSE)
|
34
|
+
t.stats_options = ['--list-undoc']
|
35
|
+
end
|
36
|
+
|
37
|
+
gem 'rdoc'
|
38
|
+
require 'rdoc/task'
|
39
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
40
|
+
rdoc.rdoc_dir = 'rdoc'
|
41
|
+
rdoc.title = 'WiceGrid'
|
42
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
43
|
+
rdoc.rdoc_files.include('README.md')
|
44
|
+
rdoc.rdoc_files.include('SAVED_QUERIES_HOWTO.md')
|
45
|
+
rdoc.rdoc_files.include('CHANGELOG.md')
|
46
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
47
|
+
end
|
48
|
+
|
49
|
+
task default: [:spec, :yardoc]
|
@@ -0,0 +1,113 @@
|
|
1
|
+
## Saving Queries How-To
|
2
|
+
|
3
|
+
WiceGrid allows to save the state of filters as a custom query and later restore it from the list of saved queries.
|
4
|
+
|
5
|
+
### Step 1: Create the database table to store queries
|
6
|
+
|
7
|
+
To get started create the database table to store queries. Run the following generator:
|
8
|
+
```
|
9
|
+
rails g wice_grid:add_migration_for_serialized_queries
|
10
|
+
```
|
11
|
+
This add a migration file with the definition of the table. Run the migrate task:
|
12
|
+
```
|
13
|
+
bundle 'rake db:migrate'
|
14
|
+
```
|
15
|
+
### Step 2: Create the controller to handle AJAX queries.
|
16
|
+
|
17
|
+
Creation and deletion of queries is implemented as AJAX calls, and a controller is needed to handle these calls. Create an empty controller
|
18
|
+
with any name and add method +save_wice_grid_queries+ to it:
|
19
|
+
```
|
20
|
+
class QueriesController < ApplicationController
|
21
|
+
save_wice_grid_queries
|
22
|
+
end
|
23
|
+
```
|
24
|
+
This is it. The controller now has the required action methods.
|
25
|
+
|
26
|
+
### Step 3: Add routes
|
27
|
+
|
28
|
+
If the name of the query controller is QueriesController, add the following to `routes.rb`:
|
29
|
+
```
|
30
|
+
Wice::define_routes(self, 'queries')
|
31
|
+
```
|
32
|
+
### Step 4: Add the saved query panel to the view.
|
33
|
+
|
34
|
+
To show the list of saved queries and the form to create new queries in a view, add the following helper to the view:
|
35
|
+
```
|
36
|
+
<%= saved_queries_panel(@grid_object) %>
|
37
|
+
```
|
38
|
+
Voila!
|
39
|
+
|
40
|
+
Just like WiceGrid itself, the query panel contains no forms and is thus form-friendly.
|
41
|
+
|
42
|
+
*Important*: Saved queries of all grids in the application are stored in one table and differentiated by the name of the grid, thus, for all forms
|
43
|
+
with saved queries it is important to define different names! (use parameter `:name` in +initialize_grid+)
|
44
|
+
|
45
|
+
It is also possible to initialize a grid with an initial saved query providing the id of the query record or the ActiveRecord
|
46
|
+
itself to parameter `saved_query`:
|
47
|
+
```
|
48
|
+
@products_grid = initialize_grid(Product,
|
49
|
+
name: 'prod_grid',
|
50
|
+
saved_query: SavedQuery.find_by_id_and_grid_name(12, 'prod_grid') )
|
51
|
+
```
|
52
|
+
|
53
|
+
## Adding Application Specific Logic to Saving/Restoring Queries
|
54
|
+
|
55
|
+
WiceGrid allows to add application specific logic to saving and restoring queries by substituting the default ActiveRecord model provided by WiceGrid with a custom model.
|
56
|
+
|
57
|
+
Copy `lib/wice_grid_serialized_query.rb` from the gem to `app/models/`, rename the file and the class to your liking.
|
58
|
+
|
59
|
+
After renaming the model to SavedQuery it looks like this:
|
60
|
+
```
|
61
|
+
class SavedQuery < ActiveRecord::Base #:nodoc:
|
62
|
+
serialize :query
|
63
|
+
|
64
|
+
validates_uniqueness_of :name, scope: :grid_name, on: :create,
|
65
|
+
message: 'A query with this name already exists'
|
66
|
+
|
67
|
+
validates_presence_of :name, message: 'Please submit the name of the custom query'
|
68
|
+
|
69
|
+
def self.list(name, controller)
|
70
|
+
conditions = {grid_name: name}
|
71
|
+
self.find(:all, conditions: conditions)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
```
|
75
|
+
|
76
|
+
It is required that the model provides class method +list+ which accepts two parameters: the name of the WiceGrid instance and the controller
|
77
|
+
object, and returns a list of queries. The controller object is needed to provide the application context. For instance, if it is needed to
|
78
|
+
store queries for each user, we could add +user_id+ to the table and modify the code so it looks like the following:
|
79
|
+
```
|
80
|
+
class SavedQuery < ActiveRecord::Base
|
81
|
+
serialize :query
|
82
|
+
|
83
|
+
validates_uniqueness_of :name, scope: :grid_name, on: :create,
|
84
|
+
message: 'A query with this name already exists'
|
85
|
+
|
86
|
+
validates_presence_of :name, message: 'Please submit the name of the custom query'
|
87
|
+
|
88
|
+
belongs_to :identity # !
|
89
|
+
|
90
|
+
def self.list(name, controller)
|
91
|
+
conditions = {grid_name: name}
|
92
|
+
if controller.current_user # !
|
93
|
+
conditions[:user_id] = controller.current_user.id # provided that method current_user is defined in ApplicationController and returns the currrent user.
|
94
|
+
end
|
95
|
+
self.find(:all, conditions: conditions)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
```
|
99
|
+
|
100
|
+
The following step is to make sure that a new query is saved with the correct +user_id+. To do so, change the helper
|
101
|
+
`saved_queries_panel(@grid_object)` to the following:
|
102
|
+
|
103
|
+
```
|
104
|
+
<%= saved_queries_panel(@identities_grid, extra_parameters: {user_id: @current_user.id}) %>
|
105
|
+
```
|
106
|
+
For every key in has :extra_parameters there must exist a field in the model - this hash will be used as a parameter to
|
107
|
+
`attributes=` method of the query object.
|
108
|
+
|
109
|
+
Finally, let WiceGrid know which model to use for saving queries by changing constant +QUERY_STORE_MODEL+
|
110
|
+
in `lib/wice_grid_config.rb` to the name of the custom model (as a string), in the above example this would look like the following:
|
111
|
+
```
|
112
|
+
QUERY_STORE_MODEL = 'SavedQuery'
|
113
|
+
```
|
@@ -0,0 +1 @@
|
|
1
|
+
<li class="disabled"><a href="#">...</a></li>
|
@@ -0,0 +1 @@
|
|
1
|
+
<li><%= link_to_unless current_page.last?, ::Wice::NlMessage['next_label'], url, rel: 'next', remote: remote %></li>
|
@@ -0,0 +1 @@
|
|
1
|
+
<li <%if page.current?%>class="active"<%end%>><%= link_to page, url, {remote: remote, rel: page.next? ? 'next' : page.prev? ? 'prev' : nil} %></li>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<%= paginator.render do %>
|
2
|
+
<div class="pagination">
|
3
|
+
<ul class="pagination">
|
4
|
+
<% unless current_page.first? %>
|
5
|
+
<%= prev_page_tag %>
|
6
|
+
<% end %>
|
7
|
+
<% each_page do |page| %>
|
8
|
+
<% if page.left_outer? || page.right_outer? || page.inside_window? %>
|
9
|
+
<%= page_tag page %>
|
10
|
+
<% elsif !page.was_truncated? %>
|
11
|
+
<%= gap_tag %>
|
12
|
+
<% end %>
|
13
|
+
<% end %>
|
14
|
+
<% unless current_page.last? %>
|
15
|
+
<%= next_page_tag %>
|
16
|
+
<% end %>
|
17
|
+
</ul>
|
18
|
+
</div>
|
19
|
+
<% end %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<li><%= link_to_unless current_page.first?, ::Wice::NlMessage['previous_label'], url, rel: 'prev', remote: remote %></li>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
cz:
|
2
|
+
wice_grid:
|
3
|
+
show_filter_tooltip: Zobrazit filtr
|
4
|
+
hide_filter_tooltip: Skrýt filtr
|
5
|
+
csv_export_tooltip: Exportovat do CSV
|
6
|
+
filter_tooltip: Filtr
|
7
|
+
reset_filter_tooltip: Zrušit filtr
|
8
|
+
boolean_filter_true_label: "áno"
|
9
|
+
boolean_filter_false_label: "ne"
|
10
|
+
previous_label: «
|
11
|
+
next_label: »
|
12
|
+
# Title of the icon clicking on which will show the calendar to set the FROM date.
|
13
|
+
date_selector_tooltip_from: Dátum od
|
14
|
+
# Title of the icon clicking on which will show the calendar to set the TO date.
|
15
|
+
date_selector_tooltip_to: Dátum do
|
16
|
+
# The title of the checkox to turn on negation
|
17
|
+
negation_checkbox_title: Inverzní výběr
|
18
|
+
# link to switch to show all records
|
19
|
+
show_all_records_label: Zobrazit všechno
|
20
|
+
# tooltip for the link to switch to show all records
|
21
|
+
show_all_records_tooltip: Zobrazí všechny záznamy v databáze
|
22
|
+
# Warning message shown when the user wants to switch to all-records mode
|
23
|
+
all_queries_warning: Určitě chceš zobrazit všechny záznamy v databáze?
|
24
|
+
# link to paginated view
|
25
|
+
switch_back_to_paginated_mode_label: zpět na stránkové zobrazení
|
26
|
+
# tooltip for the link to paginated view
|
27
|
+
switch_back_to_paginated_mode_tooltip: Přepnout do stránkového zobrazení
|
28
|
+
# Title of the date string.
|
29
|
+
date_string_tooltip: Kliknutím zmažeš
|
30
|
+
saved_query_panel_title: Uložené filtry
|
31
|
+
save_query_button_label: Uložit aktuálni stav filtrů
|
32
|
+
saved_query_deletion_confirmation: Seš si jistej?
|
33
|
+
saved_query_deletion_link_title: Smazat uloženej filtr
|
34
|
+
saved_query_link_title: Použít uloženej filtr
|
35
|
+
validates_uniqueness_error: Filtr už existuje.
|
36
|
+
validates_presence_error: Prosím zadej název filtru.
|
37
|
+
query_deleted_message: Uložený filtr byl smazán.
|
38
|
+
query_saved_message: Filtr byl uložen.
|
39
|
+
select_all: Vyber všechno
|
40
|
+
deselect_all: Zrušit výběr
|
@@ -0,0 +1,42 @@
|
|
1
|
+
de:
|
2
|
+
wice_grid:
|
3
|
+
show_filter_tooltip: Filter einblenden
|
4
|
+
hide_filter_tooltip: Filter ausblenden
|
5
|
+
csv_export_tooltip: CSV Export
|
6
|
+
filter_tooltip: Filter
|
7
|
+
reset_filter_tooltip: Reset
|
8
|
+
boolean_filter_true_label: "Ja"
|
9
|
+
boolean_filter_false_label: "Nein"
|
10
|
+
previous_label: «
|
11
|
+
next_label: »
|
12
|
+
# Title of the icon clicking on which will show the calendar to set the FROM date.
|
13
|
+
date_selector_tooltip_from: Von
|
14
|
+
# Title of the icon clicking on which will show the calendar to set the TO date.
|
15
|
+
date_selector_tooltip_to: Bis
|
16
|
+
# The title of the checkox to turn on negation
|
17
|
+
negation_checkbox_title: Ausschließen
|
18
|
+
# link to switch to show all records
|
19
|
+
show_all_records_label: Alle anzeigen
|
20
|
+
# tooltip for the link to switch to show all records
|
21
|
+
show_all_records_tooltip: Alle anzeigen
|
22
|
+
# Warning message shown when the user wants to switch to all-records mode
|
23
|
+
all_queries_warning: Wollen Sie wirkliche alle Einträge anzeigen?
|
24
|
+
# link to paginated view
|
25
|
+
switch_back_to_paginated_mode_label: Zurück zur seitenbasierten Ansicht
|
26
|
+
# tooltip for the link to paginated view
|
27
|
+
switch_back_to_paginated_mode_tooltip: Zurück zur seitenbasierten Ansicht
|
28
|
+
# Title of the date string.
|
29
|
+
date_string_tooltip: Löschen
|
30
|
+
saved_query_panel_title: Gespeicherte Abfragen
|
31
|
+
save_query_button_label: Filter speichern
|
32
|
+
saved_query_deletion_confirmation: Sind Sie sicher?
|
33
|
+
saved_query_deletion_link_title: Abfrage löschen
|
34
|
+
saved_query_link_title: Abfrage laden
|
35
|
+
validates_uniqueness_error: Eine Abfrage mit dieser Bezeichnung existiert bereits!
|
36
|
+
validates_presence_error: Bitte vergeben Sie einen Namen!
|
37
|
+
query_deleted_message: Abfrage gelöscht.
|
38
|
+
query_saved_message: Abfrage gespeichert.
|
39
|
+
select_all: Alle auswählen
|
40
|
+
deselect_all: Auswahl aufheben
|
41
|
+
expand: Ausklappen
|
42
|
+
collapse: Einklappen
|
@@ -0,0 +1,42 @@
|
|
1
|
+
en:
|
2
|
+
wice_grid:
|
3
|
+
show_filter_tooltip: Show filter
|
4
|
+
hide_filter_tooltip: Hide filter
|
5
|
+
csv_export_tooltip: Export to CSV
|
6
|
+
filter_tooltip: Filter
|
7
|
+
reset_filter_tooltip: Reset
|
8
|
+
boolean_filter_true_label: "yes"
|
9
|
+
boolean_filter_false_label: "no"
|
10
|
+
previous_label: «
|
11
|
+
next_label: »
|
12
|
+
# Title of the icon clicking on which will show the calendar to set the FROM date.
|
13
|
+
date_selector_tooltip_from: From
|
14
|
+
# Title of the icon clicking on which will show the calendar to set the TO date.
|
15
|
+
date_selector_tooltip_to: To
|
16
|
+
# The title of the checkox to turn on negation
|
17
|
+
negation_checkbox_title: Exclude
|
18
|
+
# link to switch to show all records
|
19
|
+
show_all_records_label: show all
|
20
|
+
# tooltip for the link to switch to show all records
|
21
|
+
show_all_records_tooltip: Show all records
|
22
|
+
# Warning message shown when the user wants to switch to all-records mode
|
23
|
+
all_queries_warning: Are you sure you want to display all records?
|
24
|
+
# link to paginated view
|
25
|
+
switch_back_to_paginated_mode_label: back to paginated view
|
26
|
+
# tooltip for the link to paginated view
|
27
|
+
switch_back_to_paginated_mode_tooltip: Switch back to the view with pages
|
28
|
+
# Title of the date string.
|
29
|
+
date_string_tooltip: Click to delete
|
30
|
+
saved_query_panel_title: Saved Queries
|
31
|
+
save_query_button_label: Save the state of filters
|
32
|
+
saved_query_deletion_confirmation: Are you sure?
|
33
|
+
saved_query_deletion_link_title: Delete query
|
34
|
+
saved_query_link_title: Load query
|
35
|
+
validates_uniqueness_error: A query with this name already exists
|
36
|
+
validates_presence_error: Please submit the name of the custom query
|
37
|
+
query_deleted_message: Saved query deleted.
|
38
|
+
query_saved_message: Query saved.
|
39
|
+
select_all: Select all
|
40
|
+
deselect_all: Remove selection
|
41
|
+
expand: Expand
|
42
|
+
collapse: Collapse
|
@@ -0,0 +1,42 @@
|
|
1
|
+
es:
|
2
|
+
wice_grid:
|
3
|
+
show_filter_tooltip: Mostrar filtro
|
4
|
+
hide_filter_tooltip: Ocultar filtro
|
5
|
+
csv_export_tooltip: Exportar a CSV
|
6
|
+
filter_tooltip: Filtro
|
7
|
+
reset_filter_tooltip: Reset
|
8
|
+
boolean_filter_true_label: "Si"
|
9
|
+
boolean_filter_false_label: "No"
|
10
|
+
previous_label: «
|
11
|
+
next_label: »
|
12
|
+
# Title of the icon clicking on which will show the calendar to set the FROM date.
|
13
|
+
date_selector_tooltip_from: Desde
|
14
|
+
# Title of the icon clicking on which will show the calendar to set the TO date.
|
15
|
+
date_selector_tooltip_to: Hasta
|
16
|
+
# The title of the checkox to turn on negation
|
17
|
+
negation_checkbox_title: Excluir
|
18
|
+
# link to switch to show all records
|
19
|
+
show_all_records_label: mostrar todos
|
20
|
+
# tooltip for the link to switch to show all records
|
21
|
+
show_all_records_tooltip: Mostrar todos los registros
|
22
|
+
# Warning message shown when the user wants to switch to all-records mode
|
23
|
+
all_queries_warning: ¿Estás seguro que quieres mostrar todos los registros?
|
24
|
+
# link to paginated view
|
25
|
+
switch_back_to_paginated_mode_label: volver a la vista paginada
|
26
|
+
# tooltip for the link to paginated view
|
27
|
+
switch_back_to_paginated_mode_tooltip: Cambiar atrás a la vista con páginas
|
28
|
+
# Title of the date string.
|
29
|
+
date_string_tooltip: Click en borrar
|
30
|
+
saved_query_panel_title: Consultas salvadas
|
31
|
+
save_query_button_label: Salvar el estado de los filtros
|
32
|
+
saved_query_deletion_confirmation: ¿Estás seguro?
|
33
|
+
saved_query_deletion_link_title: Borrar consulta
|
34
|
+
saved_query_link_title: Cargar consulta
|
35
|
+
validates_uniqueness_error: Una consulta con este nombre ya existe
|
36
|
+
validates_presence_error: Por favor tramita el nombre la consulta modificada
|
37
|
+
query_deleted_message: Salvada la consulta borrado.
|
38
|
+
query_saved_message: Consulta salvada.
|
39
|
+
select_all: Selecciona todo
|
40
|
+
deselect_all: Borra la selección
|
41
|
+
expand: Expandir
|
42
|
+
collapse: Contraer
|
@@ -0,0 +1,40 @@
|
|
1
|
+
fr:
|
2
|
+
wice_grid:
|
3
|
+
show_filter_tooltip: Afficher le filtre
|
4
|
+
hide_filter_tooltip: Cacher le filtrer
|
5
|
+
csv_export_tooltip: Exporter en CSV
|
6
|
+
filter_tooltip: Filtrer
|
7
|
+
reset_filter_tooltip: Effacer
|
8
|
+
boolean_filter_true_label: oui
|
9
|
+
boolean_filter_false_label: non
|
10
|
+
previous_label: «
|
11
|
+
next_label: »
|
12
|
+
# Title of the icon clicking on which will show the calendar to set the FROM date.
|
13
|
+
date_selector_tooltip_from: De
|
14
|
+
# Title of the icon clicking on which will show the calendar to set the TO date.
|
15
|
+
date_selector_tooltip_to: à
|
16
|
+
# The title of the checkox to turn on negation
|
17
|
+
negation_checkbox_title: Exclure
|
18
|
+
# link to switch to show all records
|
19
|
+
show_all_records_label: Voir tous
|
20
|
+
# tooltip for the link to switch to show all records
|
21
|
+
show_all_records_tooltip: Voir tous les enregistrements
|
22
|
+
# Warning message shown when the user wants to switch to all-records mode
|
23
|
+
all_queries_warning: Etes-vous certain de vouloir afficher tous les enregistrements?
|
24
|
+
# link to paginated view
|
25
|
+
switch_back_to_paginated_mode_label: Retour à la vue paginée
|
26
|
+
# tooltip for the link to paginated view
|
27
|
+
switch_back_to_paginated_mode_tooltip: Retour à la vue par pages
|
28
|
+
# Title of the date string.
|
29
|
+
date_string_tooltip: Cliquez pour effacer
|
30
|
+
saved_query_panel_title: Requêtes sauvées
|
31
|
+
save_query_button_label: Sauver l'état des filtres
|
32
|
+
saved_query_deletion_confirmation: Etes vous sûr?
|
33
|
+
saved_query_deletion_link_title: Effacer la requête
|
34
|
+
saved_query_link_title: Charger la requête
|
35
|
+
validates_uniqueness_error: Un requête existante porte déjà ce nom
|
36
|
+
validates_presence_error: Veuillez indiquer le nom de la requête que vous souhaitez sauver
|
37
|
+
query_deleted_message: La requête a été effacée.
|
38
|
+
query_saved_message: La requête a été sauvée.
|
39
|
+
select_all: Sélectionner tout
|
40
|
+
deselect_all: Désélectionner tout
|
@@ -0,0 +1,41 @@
|
|
1
|
+
is:
|
2
|
+
wice_grid:
|
3
|
+
show_filter_tooltip: Sýna síumöguleika
|
4
|
+
hide_filter_tooltip: Fela síumoguleika
|
5
|
+
csv_export_tooltip: Flytja út CSV
|
6
|
+
filter_tooltip: Sía
|
7
|
+
reset_filter_tooltip: Hreinsa
|
8
|
+
boolean_filter_true_label: Já
|
9
|
+
boolean_filter_false_label: Nei
|
10
|
+
previous_label: «
|
11
|
+
next_label: »
|
12
|
+
# Title of the icon clicking on which will show the calendar to set the FROM date.
|
13
|
+
date_selector_tooltip_from: Frá
|
14
|
+
# Title of the icon clicking on which will show the calendar to set the TO date.
|
15
|
+
date_selector_tooltip_to: Til
|
16
|
+
# The title of the checkox to turn on negation
|
17
|
+
negation_checkbox_title: Undanskilja
|
18
|
+
# link to switch to show all records
|
19
|
+
show_all_records_label: Sýna allt
|
20
|
+
# tooltip for the link to switch to show all records
|
21
|
+
show_all_records_tooltip: Sýna öll gögn
|
22
|
+
# Warning message shown when the user wants to switch to all-records mode
|
23
|
+
all_queries_warning: Ertu viss um að þú viljir láta sýna öll gögn?
|
24
|
+
# link to paginated view
|
25
|
+
switch_back_to_paginated_mode_label: Aftur til síðuhorfs
|
26
|
+
# tooltip for the link to paginated view
|
27
|
+
switch_back_to_paginated_mode_tooltip: Aftur til síðuhorfs
|
28
|
+
# Title of the date string.
|
29
|
+
date_string_tooltip: Smella á til að eyða
|
30
|
+
saved_query_panel_title: Vistaðar leitarskipanir
|
31
|
+
save_query_button_label: Vista síuval
|
32
|
+
saved_query_deletion_confirmation: Ertu viss?
|
33
|
+
saved_query_deletion_link_title: Eyða leitarskipun
|
34
|
+
saved_query_link_title: Hlaða leitarskipun
|
35
|
+
validates_uniqueness_error: Leitarskipun með þessu nafni er þegar til
|
36
|
+
validates_presence_error: Vinsamlegast gefið heiti fyrir leitarskipun
|
37
|
+
query_deleted_message: Vistaðri leitarskipun hefur verið eytt
|
38
|
+
query_saved_message: leitaskipun hefur verið vistuð
|
39
|
+
# To do: translate
|
40
|
+
select_all: Select all
|
41
|
+
deselect_all: Remove selection
|