activeadmin 2.13.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeadmin might be problematic. Click here for more details.

Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +78 -0
  3. data/CONTRIBUTING.md +3 -4
  4. data/README.md +2 -2
  5. data/app/assets/javascripts/active_admin/base.js +1 -4
  6. data/app/assets/stylesheets/active_admin/_forms.scss +1 -1
  7. data/app/assets/stylesheets/active_admin/structure/_footer.scss +6 -1
  8. data/app/views/layouts/active_admin_logged_out.html.erb +5 -4
  9. data/config/locales/ar.yml +0 -7
  10. data/config/locales/az.yml +0 -7
  11. data/config/locales/bg.yml +0 -7
  12. data/config/locales/bs.yml +0 -7
  13. data/config/locales/ca.yml +0 -7
  14. data/config/locales/cs.yml +0 -7
  15. data/config/locales/da.yml +0 -7
  16. data/config/locales/de-CH.yml +0 -7
  17. data/config/locales/de.yml +0 -8
  18. data/config/locales/el.yml +0 -7
  19. data/config/locales/en-CA.yml +0 -7
  20. data/config/locales/en-GB.yml +0 -7
  21. data/config/locales/en.yml +0 -8
  22. data/config/locales/eo.yml +0 -8
  23. data/config/locales/es-MX.yml +0 -7
  24. data/config/locales/es.yml +0 -8
  25. data/config/locales/fa.yml +0 -7
  26. data/config/locales/fi.yml +0 -7
  27. data/config/locales/fr.yml +3 -11
  28. data/config/locales/he.yml +0 -9
  29. data/config/locales/hr.yml +0 -7
  30. data/config/locales/hu.yml +0 -8
  31. data/config/locales/id.yml +0 -7
  32. data/config/locales/it.yml +0 -8
  33. data/config/locales/ja.yml +0 -8
  34. data/config/locales/ko.yml +0 -7
  35. data/config/locales/lt.yml +0 -8
  36. data/config/locales/lv.yml +0 -7
  37. data/config/locales/mk.yml +0 -8
  38. data/config/locales/nb.yml +0 -8
  39. data/config/locales/nl.yml +0 -8
  40. data/config/locales/pl.yml +0 -8
  41. data/config/locales/pt-BR.yml +0 -8
  42. data/config/locales/pt-PT.yml +0 -7
  43. data/config/locales/ro.yml +0 -7
  44. data/config/locales/ru.yml +0 -6
  45. data/config/locales/sk.yml +0 -8
  46. data/config/locales/sv-SE.yml +58 -39
  47. data/config/locales/tr.yml +0 -11
  48. data/config/locales/uk.yml +0 -6
  49. data/config/locales/vi.yml +34 -15
  50. data/config/locales/zh-CN.yml +34 -23
  51. data/config/locales/zh-TW.yml +0 -7
  52. data/lib/active_admin/asset_registration.rb +3 -3
  53. data/lib/active_admin/authorization_adapter.rb +2 -0
  54. data/lib/active_admin/base_controller/authorization.rb +2 -2
  55. data/lib/active_admin/dependency.rb +0 -4
  56. data/lib/active_admin/engine.rb +1 -1
  57. data/lib/active_admin/filters/active_filter.rb +1 -1
  58. data/lib/active_admin/filters/forms.rb +1 -1
  59. data/lib/active_admin/filters/resource_extension.rb +4 -4
  60. data/lib/active_admin/inputs/filters/base/search_method_select.rb +2 -2
  61. data/lib/active_admin/inputs/filters/date_range_input.rb +2 -2
  62. data/lib/active_admin/inputs/filters/numeric_input.rb +1 -1
  63. data/lib/active_admin/inputs/filters/string_input.rb +1 -1
  64. data/lib/active_admin/namespace_settings.rb +1 -1
  65. data/lib/active_admin/orm/active_record/comments/comment.rb +8 -0
  66. data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +1 -1
  67. data/lib/active_admin/orm/active_record/comments.rb +8 -8
  68. data/lib/active_admin/pundit_adapter.rb +0 -2
  69. data/lib/active_admin/resource/action_items.rb +2 -2
  70. data/lib/active_admin/version.rb +1 -1
  71. data/lib/active_admin/view_helpers/auto_link_helper.rb +1 -1
  72. data/lib/active_admin/view_helpers/display_helper.rb +8 -1
  73. data/lib/active_admin/views/components/active_admin_form.rb +0 -4
  74. data/lib/active_admin/views/index_as_table.rb +1 -5
  75. data/lib/active_admin/views/pages/base.rb +4 -3
  76. data/lib/active_admin/views/pages/index.rb +1 -1
  77. data/lib/active_admin/views/pages/show.rb +1 -7
  78. data/lib/active_admin.rb +0 -1
  79. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +18 -1
  80. metadata +9 -49
  81. data/docs/.gitignore +0 -1
  82. data/docs/0-installation.md +0 -142
  83. data/docs/1-general-configuration.md +0 -224
  84. data/docs/10-custom-pages.md +0 -150
  85. data/docs/11-decorators.md +0 -70
  86. data/docs/12-arbre-components.md +0 -214
  87. data/docs/13-authorization-adapter.md +0 -285
  88. data/docs/14-gotchas.md +0 -138
  89. data/docs/2-resource-customization.md +0 -475
  90. data/docs/3-index-pages/custom-index.md +0 -35
  91. data/docs/3-index-pages/index-as-block.md +0 -19
  92. data/docs/3-index-pages/index-as-blog.md +0 -69
  93. data/docs/3-index-pages/index-as-grid.md +0 -27
  94. data/docs/3-index-pages/index-as-table.md +0 -234
  95. data/docs/3-index-pages.md +0 -328
  96. data/docs/4-csv-format.md +0 -74
  97. data/docs/5-forms.md +0 -238
  98. data/docs/6-show-pages.md +0 -93
  99. data/docs/7-sidebars.md +0 -75
  100. data/docs/8-custom-actions.md +0 -177
  101. data/docs/9-batch-actions.md +0 -237
  102. data/docs/CNAME +0 -1
  103. data/docs/Gemfile +0 -4
  104. data/docs/Gemfile.lock +0 -283
  105. data/docs/README.md +0 -24
  106. data/docs/_config.yml +0 -4
  107. data/docs/_includes/footer.html +0 -8
  108. data/docs/_includes/google-analytics.html +0 -16
  109. data/docs/_includes/head.html +0 -7
  110. data/docs/_includes/toc.html +0 -98
  111. data/docs/_includes/top-menu.html +0 -17
  112. data/docs/_layouts/default.html +0 -21
  113. data/docs/documentation.md +0 -60
  114. data/docs/images/activeadmin.png +0 -0
  115. data/docs/images/code-header.png +0 -0
  116. data/docs/images/divider.png +0 -0
  117. data/docs/images/features.png +0 -0
  118. data/docs/images/tidelift.svg +0 -14
  119. data/docs/index.html +0 -226
  120. data/docs/stylesheets/main.css +0 -1205
  121. data/lib/ransack_ext.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b3beb756b607b196f72d4ec4a4b173867021bb2eba03d183797165810a526b5
4
- data.tar.gz: bed4421fc6a28f2ff0bee9659a76bfd680b9432c74d290753c62392c3a7048d3
3
+ metadata.gz: 79c4d32ec46b6d4de5bceb98519d5c8402ccbec03a653a132f3f32b85aa5d741
4
+ data.tar.gz: edae8745a9f18c01cf2ba44de84fb915fd87c804ceb18879295dc9b52c5bd920
5
5
  SHA512:
6
- metadata.gz: 11cce1d23fb4519f394ef13930716fabe39e6d7654f5c4424c887fe54e6d56225700155ae59187ad42a6551d9bcf17f95652c08d234ddafb5ba2d4fb5e444a09
7
- data.tar.gz: 452592e57f8fe9f16e683a2f54b9dc7fdd717d1ec2db909710a07cfb74dda5d8f7a0efda515b439555470381da020e75b2d4dfe328a8b52bc436b2f94371525b
6
+ metadata.gz: 9a0d6743ea067aa183840b9c85c8ab3273752e190ee4c2f2406ac3e0e0db9f0646d628d42c90e07494bff83c2118e2c6ae8df9c466d0b34f98e3e11dfe445013
7
+ data.tar.gz: 3d6aa1a685ef21a44da6fd90195e1692ea82c8c53b584e31671babc16f735fcfa7faa9789682f3983fe562d4be442b66d289d21bda4cb10b472c4ac6157f5a8f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,53 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 3.0.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.14.0..v3.0.0)
6
+
7
+ ### Breaking Changes
8
+
9
+ * Remove custom Ransack predicates that were MetaSearch backports. [#8010] by [@javierjulio]
10
+ * Require Ransack v4. [#8009] by [@javierjulio]
11
+
12
+ ### Enhancements
13
+
14
+ * Use display name fallback if blank display name result. [#6342] by [@javierjulio]
15
+
16
+ ### Translation Improvements
17
+
18
+ * Improve Swedish translations. [#7993] by [@carlottostromstedt]
19
+
20
+ ## 2.14.0 [☰](https://github.com/activeadmin/activeadmin/compare/v2.13.1..v2.14.0)
21
+
22
+ ### Enhancements
23
+
24
+ * Add csp_meta_tag to layout. [#7986] by [@javierjulio]
25
+ * Update config.register_javascript with options support. [#7002] by [@lanzhiheng]
26
+ * Use `csrf_meta_tags` in place of singular version. [#7985] by [@javierjulio]
27
+ * Allow different new and edit rules in authorization adapters. [#6535] by [@timwis]
28
+
29
+ ### Bug Fixes
30
+
31
+ * Fix form layout for hints and checkboxes. [#7772] by [@JewelSam]
32
+ * Update filters disabled error to include specific action. [#6195] by [@javawizard]
33
+ * Fix Comments controller destroy declaration. [#6482] by [@bliof]
34
+ * Stop pagination elements from overflowing outside of panel container. [#7599] by [@ray-curran]
35
+
36
+ ### Translation Improvements
37
+
38
+ * Update vi locale with more translations. [#7984] by [@rs-phunt]
39
+ * Update zh-CN locale with multiple corrections. [#7944] by [@hfl]
40
+ * Fix typo in Vietnamese locale for filter text. [#7920] by [@tvziet]
41
+ * Improve French translation. [#7653] by [@cprodhomme]
42
+
43
+ ### Documentation
44
+
45
+ * Add more documentation about PORO decorator requirements. [#7556] by [@sanfrecce-osaka]
46
+ * Add Load Paths docs to the active_admin.rb template. [#7541] by [@gabo-cs]
47
+
48
+ ### Performance
49
+
50
+ * Removes docs from exported gem. [#7013] by [@brunoarueira]
51
+
5
52
  ## 2.13.1 [☰](https://github.com/activeadmin/activeadmin/compare/v2.13.0..v2.13.1)
6
53
 
7
54
  ### Bug Fixes
@@ -743,6 +790,7 @@ Please check [0-6-stable] for previous changes.
743
790
  [#6099]: https://github.com/activeadmin/activeadmin/pull/6099
744
791
  [#6124]: https://github.com/activeadmin/activeadmin/pull/6124
745
792
  [#6149]: https://github.com/activeadmin/activeadmin/pull/6149
793
+ [#6195]: https://github.com/activeadmin/activeadmin/pull/6195
746
794
  [#6198]: https://github.com/activeadmin/activeadmin/pull/6198
747
795
  [#6210]: https://github.com/activeadmin/activeadmin/pull/6210
748
796
  [#6221]: https://github.com/activeadmin/activeadmin/pull/6221
@@ -751,14 +799,17 @@ Please check [0-6-stable] for previous changes.
751
799
  [#6315]: https://github.com/activeadmin/activeadmin/pull/6315
752
800
  [#6318]: https://github.com/activeadmin/activeadmin/pull/6318
753
801
  [#6341]: https://github.com/activeadmin/activeadmin/pull/6341
802
+ [#6342]: https://github.com/activeadmin/activeadmin/pull/6342
754
803
  [#6368]: https://github.com/activeadmin/activeadmin/pull/6368
755
804
  [#6393]: https://github.com/activeadmin/activeadmin/pull/6393
756
805
  [#6422]: https://github.com/activeadmin/activeadmin/pull/6422
757
806
  [#6451]: https://github.com/activeadmin/activeadmin/pull/6451
758
807
  [#6460]: https://github.com/activeadmin/activeadmin/pull/6460
759
808
  [#6462]: https://github.com/activeadmin/activeadmin/pull/6462
809
+ [#6482]: https://github.com/activeadmin/activeadmin/pull/6482
760
810
  [#6487]: https://github.com/activeadmin/activeadmin/pull/6487
761
811
  [#6523]: https://github.com/activeadmin/activeadmin/pull/6523
812
+ [#6535]: https://github.com/activeadmin/activeadmin/pull/6535
762
813
  [#6536]: https://github.com/activeadmin/activeadmin/pull/6536
763
814
  [#6548]: https://github.com/activeadmin/activeadmin/pull/6548
764
815
  [#6583]: https://github.com/activeadmin/activeadmin/pull/6583
@@ -773,6 +824,8 @@ Please check [0-6-stable] for previous changes.
773
824
  [#6936]: https://github.com/activeadmin/activeadmin/pull/6936
774
825
  [#6954]: https://github.com/activeadmin/activeadmin/pull/6954
775
826
  [#6959]: https://github.com/activeadmin/activeadmin/pull/6959
827
+ [#7002]: https://github.com/activeadmin/activeadmin/pull/7002
828
+ [#7013]: https://github.com/activeadmin/activeadmin/pull/7013
776
829
  [#7095]: https://github.com/activeadmin/activeadmin/pull/7095
777
830
  [#7127]: https://github.com/activeadmin/activeadmin/pull/7127
778
831
  [#7144]: https://github.com/activeadmin/activeadmin/pull/7144
@@ -798,6 +851,19 @@ Please check [0-6-stable] for previous changes.
798
851
  [#7479]: https://github.com/activeadmin/activeadmin/pull/7479
799
852
  [#7487]: https://github.com/activeadmin/activeadmin/pull/7487
800
853
  [#7488]: https://github.com/activeadmin/activeadmin/pull/7488
854
+ [#7541]: https://github.com/activeadmin/activeadmin/pull/7541
855
+ [#7556]: https://github.com/activeadmin/activeadmin/pull/7556
856
+ [#7599]: https://github.com/activeadmin/activeadmin/pull/7599
857
+ [#7653]: https://github.com/activeadmin/activeadmin/pull/7653
858
+ [#7772]: https://github.com/activeadmin/activeadmin/pull/7772
859
+ [#7920]: https://github.com/activeadmin/activeadmin/pull/7920
860
+ [#7944]: https://github.com/activeadmin/activeadmin/pull/7944
861
+ [#7984]: https://github.com/activeadmin/activeadmin/pull/7984
862
+ [#7985]: https://github.com/activeadmin/activeadmin/pull/7985
863
+ [#7986]: https://github.com/activeadmin/activeadmin/pull/7986
864
+ [#7993]: https://github.com/activeadmin/activeadmin/pull/7993
865
+ [#8009]: https://github.com/activeadmin/activeadmin/pull/8009
866
+ [#8010]: https://github.com/activeadmin/activeadmin/pull/8010
801
867
 
802
868
  [@1000ship]: https://github.com/1000ship
803
869
  [@5t111111]: https://github.com/5t111111
@@ -812,10 +878,13 @@ Please check [0-6-stable] for previous changes.
812
878
  [@amiuhle]: https://github.com/amiuhle
813
879
  [@andreslemik]: https://github.com/andreslemik
814
880
  [@bartoszkopinski]: https://github.com/bartoszkopinski
881
+ [@bliof]: https://github.com/bliof
815
882
  [@blocknotes]: https://github.com/blocknotes
816
883
  [@bolshakov]: https://github.com/bolshakov
884
+ [@brunoarueira]: https://github.com/brunoarueira
817
885
  [@brunvez]: https://github.com/brunvez
818
886
  [@buren]: https://github.com/buren
887
+ [@carlottostromstedt]: https://github.com/carlottostromstedt
819
888
  [@chancancode]: https://github.com/chancancode
820
889
  [@chrp]: https://github.com/chrp
821
890
  [@chumakoff]: https://github.com/chumakoff
@@ -835,12 +904,14 @@ Please check [0-6-stable] for previous changes.
835
904
  [@Fivell]: https://github.com/Fivell
836
905
  [@Fs00]: https://github.com/Fs00
837
906
  [@fuzziness]: https://github.com/fuzziness
907
+ [@gabo-cs]: https://github.com/gabo-cs
838
908
  [@giapnhdev]: https://github.com/giapnhdev
839
909
  [@gigorok]: https://github.com/gigorok
840
910
  [@glebtv]: https://github.com/glebtv
841
911
  [@gonzedge]: https://github.com/gonzedge
842
912
  [@guigs]: https://github.com/guigs
843
913
  [@HappyKadaver]: https://github.com/HappyKadaver
914
+ [@hfl]: https://github.com/hfl
844
915
  [@imcvampire]: https://github.com/imcvampire
845
916
  [@innparusu95]: https://github.com/innparusu95
846
917
  [@ionut998]: https://github.com/ionut998
@@ -852,6 +923,7 @@ Please check [0-6-stable] for previous changes.
852
923
  [@javierjulio]: https://github.com/javierjulio
853
924
  [@jawa]: https://github.com/jawa
854
925
  [@jaynetics]: https://github.com/jaynetics
926
+ [@JewelSam]: https://github.com/JewelSam
855
927
  [@JiiHu]: https://github.com/JiiHu
856
928
  [@jiikko]: https://github.com/jiikko
857
929
  [@johnnyshields]: https://github.com/johnnyshields
@@ -865,6 +937,7 @@ Please check [0-6-stable] for previous changes.
865
937
  [@Kris-LIBIS]: https://github.com/Kris-LIBIS
866
938
  [@krzcho]: https://github.com/krzcho
867
939
  [@kwent]: https://github.com/kwent
940
+ [@lanzhiheng]: https://github.com/lanzhiheng
868
941
  [@leio10]: https://github.com/leio10
869
942
  [@littleforest]: https://github.com/littleforest
870
943
  [@Looooong]: https://github.com/Looooong
@@ -887,11 +960,14 @@ Please check [0-6-stable] for previous changes.
887
960
  [@PChambino]: https://github.com/PChambino
888
961
  [@potatosalad]: https://github.com/potatosalad
889
962
  [@pranas]: https://github.com/pranas
963
+ [@ray-curran]: https://github.com/ray-curran
890
964
  [@renotocn]: https://github.com/renotocn
891
965
  [@rn0rno]: https://github.com/rn0rno
892
966
  [@RobinvanderVliet]: https://github.com/RobinvanderVliet
893
967
  [@rogerkk]: https://github.com/rogerkk
894
968
  [@roramirez]: https://github.com/roramirez
969
+ [@rs-phunt]: https://github.com/rs-phunt
970
+ [@sanfrecce-osaka]: https://github.com/sanfrecce-osaka
895
971
  [@seanlinsley]: https://github.com/seanlinsley
896
972
  [@sergey-alekseev]: https://github.com/sergey-alekseev
897
973
  [@sgara]: https://github.com/sgara
@@ -908,9 +984,11 @@ Please check [0-6-stable] for previous changes.
908
984
  [@tiagotex]: https://github.com/tiagotex
909
985
  [@timoschilling]: https://github.com/timoschilling
910
986
  [@TimPetricola]: https://github.com/TimPetricola
987
+ [@timwis]: https://github.com/timwis
911
988
  [@tomgilligan]: https://github.com/tomgilligan
912
989
  [@TonyArra]: https://github.com/TonyArra
913
990
  [@tordans]: https://github.com/tordans
991
+ [@tvziet]: https://github.com/tvziet
914
992
  [@utkarsh2102]: https://github.com/utkarsh2102
915
993
  [@varyonic]: https://github.com/varyonic
916
994
  [@vcsjones]: https://github.com/vcsjones
data/CONTRIBUTING.md CHANGED
@@ -25,8 +25,7 @@ git checkout -b 325-add-japanese-translations
25
25
 
26
26
  ### Get the test suite running
27
27
 
28
- Make sure you're using a recent ruby and have the `bundler` gem installed, at
29
- least version `1.14.3`.
28
+ Make sure you're using a recent Ruby version.
30
29
 
31
30
  You'll also need chrome installed in order to run cucumber scenarios.
32
31
 
@@ -56,8 +55,8 @@ Now you should be able to run the entire suite using:
56
55
  bin/rake
57
56
  ```
58
57
 
59
- The test run will generate a sample Rails application in `tmp/test_apps` to run the
60
- tests against.
58
+ The task will generate a sample Rails application in `tmp/test_apps` to run the
59
+ test suite against.
61
60
 
62
61
  If you want to test against a Rails version different from the latest, make sure
63
62
  you use the correct Gemfile, for example:
data/README.md CHANGED
@@ -95,8 +95,8 @@ Thanks to [Open Collective][opencollective contributors] and all our Open Collec
95
95
  [rubygems]: https://rubygems.org/gems/activeadmin
96
96
  [actions_badge]: https://github.com/activeadmin/activeadmin/workflows/ci/badge.svg
97
97
  [actions]: https://github.com/activeadmin/activeadmin/actions
98
- [coverage_badge]: https://api.codeclimate.com/v1/badges/779e407d22bacff19733/test_coverage
99
- [coverage]: https://codeclimate.com/github/activeadmin/activeadmin/test_coverage
98
+ [coverage_badge]: https://codecov.io/gh/activeadmin/activeadmin/branch/master/graph/badge.svg?token=NAjeBdkQXW
99
+ [coverage]: https://codecov.io/gh/activeadmin/activeadmin
100
100
  [inch_badge]: http://inch-ci.org/github/activeadmin/activeadmin.svg?branch=master
101
101
  [inch]: http://inch-ci.org/github/activeadmin/activeadmin
102
102
  [tidelift_badge]: https://tidelift.com/badges/github/activeadmin/activeadmin
@@ -474,7 +474,7 @@
474
474
  _setPrototypeOf(subClass, superClass);
475
475
  }
476
476
  function _setPrototypeOf(o, p) {
477
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
477
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
478
478
  o.__proto__ = p;
479
479
  return o;
480
480
  };
@@ -518,7 +518,4 @@
518
518
  }
519
519
  exports.ModalDialog = ModalDialog;
520
520
  exports.modal_dialog = modal_dialog;
521
- Object.defineProperty(exports, "__esModule", {
522
- value: true
523
- });
524
521
  });
@@ -171,7 +171,7 @@ form {
171
171
  &.boolean {
172
172
  min-height: 1.1em;
173
173
  label {
174
- width: 80%;
174
+ width: 100%;
175
175
  padding-left:20%;
176
176
  padding-right: 10px;
177
177
  text-transform: none !important;
@@ -9,6 +9,11 @@
9
9
  }
10
10
 
11
11
  // -------------------------------------- Index Footer (Under Table)
12
- #index_footer { padding-top: 5px; text-align: right; font-size: 0.85em; }
12
+ #index_footer {
13
+ @include clearfix;
14
+ padding-top: 5px;
15
+ text-align: right;
16
+ font-size: 0.85em;
17
+ }
13
18
 
14
19
  .index_content { clear: both; }
@@ -12,11 +12,11 @@
12
12
  <%= stylesheet_link_tag style, **options %>
13
13
  <% end %>
14
14
  <% end %>
15
- <% ActiveAdmin.application.javascripts.each do |path| %>
15
+ <% ActiveAdmin.application.javascripts.each do |path, options| %>
16
16
  <% if ActiveAdmin.application.use_webpacker %>
17
- <%= javascript_pack_tag path %>
17
+ <%= javascript_pack_tag path, **options %>
18
18
  <% else %>
19
- <%= javascript_include_tag path %>
19
+ <%= javascript_include_tag path, **options %>
20
20
  <% end %>
21
21
  <% end %>
22
22
 
@@ -26,7 +26,8 @@
26
26
  <%= tag(:meta, name: name, content: content) %>
27
27
  <% end %>
28
28
 
29
- <%= csrf_meta_tag %>
29
+ <%= csrf_meta_tags %>
30
+ <%= csp_meta_tag %>
30
31
  </head>
31
32
  <body class="active_admin logged_out <%= controller.action_name %>">
32
33
  <div id="wrapper">
@@ -24,13 +24,6 @@ ar:
24
24
  buttons:
25
25
  filter: "تصفية"
26
26
  clear: "تفريغ التصفية"
27
- predicates:
28
- contains: "يحتوي"
29
- equals: "متساوي"
30
- starts_with: "يبدأ بـ"
31
- ends_with: "ينتهي بـ"
32
- greater_than: "أكبر من"
33
- less_than: "أقل من"
34
27
  search_status:
35
28
  headline: "حالات البحث:"
36
29
  current_scope: "المجال:"
@@ -24,13 +24,6 @@ az:
24
24
  buttons:
25
25
  filter: "Filtrlə"
26
26
  clear: "Təmizlə"
27
- predicates:
28
- contains: "Yerləşir"
29
- equals: "Bərabərdir"
30
- starts_with: "Başlayır"
31
- ends_with: "Bitir"
32
- greater_than: "böyük"
33
- less_than: "kiçik"
34
27
  search_status:
35
28
  headline: "Axtarışın statusu:"
36
29
  current_scope: "Sahə:"
@@ -24,13 +24,6 @@ bg:
24
24
  buttons:
25
25
  filter: "Филтриране"
26
26
  clear: "Изчистване"
27
- predicates:
28
- contains: "съдържа"
29
- equals: "равно на"
30
- starts_with: "Започва с"
31
- ends_with: "Завършва с"
32
- greater_than: "по-голямо от"
33
- less_than: "по-малко от"
34
27
  status_tag:
35
28
  "yes": "Да"
36
29
  "no": "не"
@@ -24,13 +24,6 @@ bs:
24
24
  buttons:
25
25
  filter: "Filtriraj"
26
26
  clear: "Ukloni filtere"
27
- predicates:
28
- contains: "Sadrži"
29
- equals: "Jednako"
30
- starts_with: "počinje s"
31
- ends_with: "Završava sa"
32
- greater_than: "Veće od"
33
- less_than: "Manje od"
34
27
  status_tag:
35
28
  "yes": "Da"
36
29
  "no": "Nema"
@@ -24,13 +24,6 @@ ca:
24
24
  buttons:
25
25
  filter: "Filtrar"
26
26
  clear: "Treure filtres"
27
- predicates:
28
- contains: "Conté"
29
- equals: "Igual a"
30
- starts_with: "Comença amb"
31
- ends_with: "Acaba amb"
32
- greater_than: "Més gran que"
33
- less_than: "Més petit que"
34
27
  status_tag:
35
28
  "yes": "Sí"
36
29
  "no": "No"
@@ -24,13 +24,6 @@ cs:
24
24
  buttons:
25
25
  filter: "Filtrovat"
26
26
  clear: "Vyčistit filtry"
27
- predicates:
28
- contains: "Obsahuje"
29
- equals: "Odpovídá"
30
- starts_with: "Začíná na"
31
- ends_with: "Končí na"
32
- greater_than: "Větší než"
33
- less_than: "Menší než"
34
27
  status_tag:
35
28
  "yes": "Ano"
36
29
  "no": "Ne"
@@ -25,13 +25,6 @@ da:
25
25
  buttons:
26
26
  filter: "Filtrer"
27
27
  clear: "Ryd filtre"
28
- predicates:
29
- contains: "Indeholder"
30
- equals: "Lig"
31
- starts_with: "Begynder med"
32
- ends_with: "Slutter med"
33
- greater_than: "Større end"
34
- less_than: "Mindre end"
35
28
  search_status:
36
29
  headline: "Søgestatus:"
37
30
  current_scope: "Perspektiv:"
@@ -24,13 +24,6 @@
24
24
  buttons:
25
25
  filter: "Filtern"
26
26
  clear: "Filter entfernen"
27
- predicates:
28
- contains: "Enthält"
29
- equals: "Gleich"
30
- starts_with: "Beginnt mit"
31
- ends_with: "Endet mit"
32
- greater_than: "Grösser als"
33
- less_than: "Kleiner als"
34
27
  status_tag:
35
28
  "yes": "Ja"
36
29
  "no": "Nicht"
@@ -43,14 +43,6 @@ de:
43
43
  filter: "Filtern"
44
44
  clear: "Filter entfernen"
45
45
  predicates:
46
- contains: "Enthält"
47
- equals: "Gleich"
48
- starts_with: "Beginnt mit"
49
- ends_with: "Endet mit"
50
- greater_than: "Größer als"
51
- less_than: "Kleiner als"
52
- gteq_datetime: "Größer gleich"
53
- lteq_datetime: "Kleiner gleich"
54
46
  from: "Von"
55
47
  to: "Bis"
56
48
  scopes:
@@ -24,13 +24,6 @@ el:
24
24
  buttons:
25
25
  filter: "Φίλτρα"
26
26
  clear: "Καθαρισμός Φίλτρων"
27
- predicates:
28
- contains: "Περιέχει"
29
- equals: "Είναι ίσο με"
30
- starts_with: "Αρχίζει με"
31
- ends_with: "Καταλήγει σε"
32
- greater_than: "Μεγαλύτερο από"
33
- less_than: "Μικρότερο από"
34
27
  status_tag:
35
28
  "yes": "Ναι"
36
29
  "no": "Όχι"
@@ -25,13 +25,6 @@
25
25
  buttons:
26
26
  filter: "Filter"
27
27
  clear: "Clear Filters"
28
- predicates:
29
- contains: "Contains"
30
- equals: "Equals"
31
- starts_with: "Starts with"
32
- ends_with: "Ends with"
33
- greater_than: "Greater than"
34
- less_than: "Less than"
35
28
  search_status:
36
29
  headline: "Search status:"
37
30
  current_scope: "Scope:"
@@ -25,13 +25,6 @@
25
25
  buttons:
26
26
  filter: "Filter"
27
27
  clear: "Clear Filters"
28
- predicates:
29
- contains: "Contains"
30
- equals: "Equals"
31
- starts_with: "Starts with"
32
- ends_with: "Ends with"
33
- greater_than: "Greater than"
34
- less_than: "Less than"
35
28
  search_status:
36
29
  headline: "Search status:"
37
30
  current_scope: "Scope:"
@@ -43,14 +43,6 @@ en:
43
43
  filter: "Filter"
44
44
  clear: "Clear Filters"
45
45
  predicates:
46
- contains: "Contains"
47
- equals: "Equals"
48
- starts_with: "Starts with"
49
- ends_with: "Ends with"
50
- greater_than: "Greater than"
51
- less_than: "Less than"
52
- gteq_datetime: "Greater or equal to"
53
- lteq_datetime: "Lesser or equal to"
54
46
  from: "From"
55
47
  to: "To"
56
48
  scopes:
@@ -27,14 +27,6 @@ eo:
27
27
  filter: "Filtri"
28
28
  clear: "Viŝi filtrilojn"
29
29
  predicates:
30
- contains: "Enhavas"
31
- equals: "Egalas al"
32
- starts_with: "Komenciĝas per"
33
- ends_with: "Finiĝas per"
34
- greater_than: "Pli grandas ol"
35
- less_than: "Malpli grandas ol"
36
- gteq_datetime: "Pli grandas ol aŭ egalas al"
37
- lteq_datetime: "Malpli grandas ol aŭ egalas al"
38
30
  from: "De"
39
31
  to: "Al"
40
32
  search_status:
@@ -24,13 +24,6 @@ es-MX:
24
24
  buttons:
25
25
  filter: "Filtrar"
26
26
  clear: "Quitar Filtros"
27
- predicates:
28
- contains: "Contiene"
29
- equals: "Igual a"
30
- starts_with: "Empieza con"
31
- ends_with: "Termina con"
32
- greater_than: "Mayor que"
33
- less_than: "Menor que"
34
27
  status_tag:
35
28
  "yes": "Sí"
36
29
  "no": "No"
@@ -43,14 +43,6 @@ es:
43
43
  filter: "Filtrar"
44
44
  clear: "Quitar Filtros"
45
45
  predicates:
46
- contains: "Contiene"
47
- equals: "Igual a"
48
- starts_with: "Empieza con"
49
- ends_with: "Termina con"
50
- greater_than: "Mayor que"
51
- less_than: "Menor que"
52
- gteq_datetime: "Mayor o igual que"
53
- lteq_datetime: "Menor o igual que"
54
46
  from: "Desde"
55
47
  to: "Hasta"
56
48
  scopes:
@@ -24,13 +24,6 @@ fa:
24
24
  buttons:
25
25
  filter: "فیلتر"
26
26
  clear: "پاک کردن فیلتر"
27
- predicates:
28
- contains: "شامل"
29
- equals: "برابر با"
30
- starts_with: "شروع با"
31
- ends_with: "پایان با"
32
- greater_than: "بزرگتر از"
33
- less_than: "کوچکتر از"
34
27
  status_tag:
35
28
  "yes": "بله"
36
29
  "no": "بدون"
@@ -24,13 +24,6 @@ fi:
24
24
  buttons:
25
25
  filter: "Hae"
26
26
  clear: "Tyhjennä valinnat"
27
- predicates:
28
- contains: "Sisältää"
29
- equals: "On yhtä kuin"
30
- starts_with: "Alkaa"
31
- ends_with: "Päättyy"
32
- greater_than: "Suurempi kuin"
33
- less_than: "Pienempi kuin"
34
27
  status_tag:
35
28
  "yes": "Kyllä"
36
29
  "no": "Ei"
@@ -26,21 +26,13 @@ fr:
26
26
  filter: "Filtrer"
27
27
  clear: "Supprimer les filtres"
28
28
  predicates:
29
- contains: "Contient"
30
- equals: "Égal à"
31
- starts_with: "Commence par"
32
- ends_with: "Se termine par"
33
- greater_than: "Plus grand que"
34
- less_than: "Plus petit que"
35
- gteq_datetime: "Ultérieur ou égal à"
36
- lteq_datetime: "Antérieur ou égal à"
37
29
  from: "De"
38
30
  to: "À"
39
31
  search_status:
40
32
  headline: "Statut de la recherche :"
41
- current_scope: "Etendu du filtre :"
33
+ current_scope: "Périmètre :"
42
34
  current_filters: "Filtres actuels :"
43
- no_current_filters: "Aucun filtres"
35
+ no_current_filters: "Aucun filtre"
44
36
  status_tag:
45
37
  "yes": "Oui"
46
38
  "no": "Non"
@@ -52,7 +44,7 @@ fr:
52
44
  filters: "Filtres"
53
45
  search_status: "Statut de la recherche"
54
46
  pagination:
55
- empty: "Aucun %{model} trouvé"
47
+ empty: "Aucun(e) %{model} trouvé(e)"
56
48
  one: "Affichage de <b>1</b> %{model}"
57
49
  one_page: "Affichage des <b>%{n}</b> %{model}"
58
50
  multiple: "Affichage de %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> sur un total de <b>%{total}</b>"
@@ -25,15 +25,6 @@ he:
25
25
  buttons:
26
26
  filter: "סינון"
27
27
  clear: "איפוס שדות"
28
- predicates:
29
- contains: "מכיל"
30
- equals: "שווה ל"
31
- starts_with: "מתחיל עם"
32
- ends_with: "מסתיים ב"
33
- greater_than: "גדול מ"
34
- less_than: "פחות מ"
35
- gteq_datetime: "אחרי או בתאריך"
36
- lteq_datetime: "לפני או בתאריך"
37
28
  search_status:
38
29
  headline: "תוצאות חיפוש:"
39
30
  current_scope: "תחום:"
@@ -24,13 +24,6 @@ hr:
24
24
  buttons:
25
25
  filter: "Filtriraj"
26
26
  clear: "Očisti filtere"
27
- predicates:
28
- contains: "Sadrži"
29
- equals: "Jednako"
30
- starts_with: "počinje s"
31
- ends_with: "Završava sa"
32
- greater_than: "Veće od"
33
- less_than: "Manje od"
34
27
  status_tag:
35
28
  "yes": "Da"
36
29
  "no": "Nema"
@@ -25,14 +25,6 @@ hu:
25
25
  filter: "Szűrés"
26
26
  clear: "Feltételek törlése"
27
27
  predicates:
28
- contains: "Tartalmazza"
29
- equals: "Pontosan"
30
- starts_with: "kezdődik"
31
- ends_with: "végződik"
32
- greater_than: "Nagyobb, mint"
33
- less_than: "Kisebb, mint"
34
- gteq_datetime: "Nagyobb vagy egyenlő, mint"
35
- lteq_datetime: "Kisebb vagy egyenlő, mint"
36
28
  from: "-tól"
37
29
  to: "-ig"
38
30
  status_tag: