activeadmin 3.2.2 → 4.0.0.beta1

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 (337) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -44
  3. data/CONTRIBUTING.md +25 -108
  4. data/README.md +17 -30
  5. data/app/assets/config/active_admin_manifest.js +2 -0
  6. data/app/controllers/active_admin/base_controller/menu.rb +39 -0
  7. data/{lib → app/controllers}/active_admin/base_controller.rb +46 -18
  8. data/{lib → app/controllers}/active_admin/page_controller.rb +0 -4
  9. data/{lib → app/controllers}/active_admin/resource_controller/action_builder.rb +1 -1
  10. data/{lib → app/controllers}/active_admin/resource_controller/data_access.rb +2 -2
  11. data/{lib → app/controllers}/active_admin/resource_controller/scoping.rb +1 -1
  12. data/{lib → app/controllers}/active_admin/resource_controller/streaming.rb +2 -2
  13. data/app/controllers/active_admin/resource_controller.rb +102 -0
  14. data/app/helpers/active_admin/auto_link_helper.rb +66 -0
  15. data/app/helpers/active_admin/breadcrumb_helper.rb +41 -0
  16. data/app/helpers/active_admin/display_helper.rb +117 -0
  17. data/app/helpers/active_admin/form_helper.rb +95 -0
  18. data/app/helpers/active_admin/index_helper.rb +40 -0
  19. data/app/helpers/active_admin/layout_helper.rb +63 -0
  20. data/app/javascript/active_admin/features/batch_actions.js +89 -0
  21. data/app/javascript/active_admin/features/dark_mode_toggle.js +37 -0
  22. data/app/javascript/active_admin/features/filters.js +34 -0
  23. data/app/javascript/active_admin/features/has_many.js +28 -0
  24. data/app/javascript/active_admin/features/main_menu.js +12 -0
  25. data/app/javascript/active_admin/features/per_page.js +9 -0
  26. data/app/javascript/active_admin/utils/dom.js +17 -0
  27. data/app/javascript/active_admin.js +10 -0
  28. data/app/views/active_admin/_flash_messages.html.erb +22 -0
  29. data/app/views/active_admin/_html_head.html.erb +13 -0
  30. data/app/views/active_admin/_main_navigation.html.erb +28 -0
  31. data/app/views/active_admin/_page_header.html.erb +27 -0
  32. data/app/views/active_admin/_sidebar.html.erb +5 -0
  33. data/app/views/active_admin/_site_footer.html.erb +7 -0
  34. data/app/views/active_admin/_site_header.html.erb +30 -0
  35. data/app/views/active_admin/devise/confirmations/new.html.erb +5 -3
  36. data/app/views/active_admin/devise/passwords/edit.html.erb +5 -3
  37. data/app/views/active_admin/devise/passwords/new.html.erb +5 -4
  38. data/app/views/active_admin/devise/registrations/new.html.erb +6 -4
  39. data/app/views/active_admin/devise/sessions/new.html.erb +6 -4
  40. data/app/views/active_admin/devise/shared/_links.erb +3 -1
  41. data/app/views/active_admin/devise/unlocks/new.html.erb +6 -4
  42. data/app/views/{kaminari/active_admin_countless → active_admin/kaminari}/_gap.html.erb +3 -1
  43. data/app/views/active_admin/kaminari/_next_page.html.erb +16 -0
  44. data/app/views/active_admin/kaminari/_page.html.erb +14 -0
  45. data/app/views/{kaminari/active_admin_countless → active_admin/kaminari}/_paginator.html.erb +1 -2
  46. data/app/views/active_admin/kaminari/_prev_page.html.erb +16 -0
  47. data/app/views/active_admin/page/index.html.arb +5 -1
  48. data/app/views/active_admin/resource/_active_filters.html.erb +32 -0
  49. data/app/views/active_admin/resource/_batch_actions_dropdown.html.erb +19 -0
  50. data/app/views/active_admin/resource/_form.html.arb +16 -0
  51. data/app/views/active_admin/resource/_form_default.html.arb +12 -0
  52. data/app/views/active_admin/resource/_index_as_table_default.html.arb +9 -0
  53. data/app/views/active_admin/resource/_index_blank_slate.html.erb +14 -0
  54. data/app/views/active_admin/resource/_index_empty_results.html.erb +5 -0
  55. data/app/views/active_admin/resource/_index_table_actions_default.html.erb +9 -0
  56. data/app/views/active_admin/resource/_show_default.html.arb +3 -0
  57. data/app/views/active_admin/resource/edit.html.arb +1 -1
  58. data/app/views/active_admin/resource/index.html.arb +94 -1
  59. data/app/views/active_admin/resource/new.html.arb +1 -1
  60. data/app/views/active_admin/resource/show.html.arb +12 -1
  61. data/app/views/active_admin/shared/_action_items.html.erb +3 -0
  62. data/app/views/active_admin/shared/_download_format_links.html.erb +7 -0
  63. data/app/views/active_admin/shared/_resource_comments.html.erb +51 -0
  64. data/app/views/active_admin/shared/_sidebar_section.html.arb +7 -0
  65. data/app/views/active_admin/shared/_sidebar_sections.html.erb +5 -0
  66. data/app/views/layouts/active_admin.html.erb +20 -0
  67. data/app/views/layouts/active_admin_logged_out.html.erb +8 -45
  68. data/config/locales/ar.yml +0 -16
  69. data/config/locales/az.yml +0 -16
  70. data/config/locales/bg.yml +0 -9
  71. data/config/locales/bs.yml +0 -7
  72. data/config/locales/ca.yml +0 -9
  73. data/config/locales/cs.yml +0 -9
  74. data/config/locales/da.yml +0 -16
  75. data/config/locales/de-CH.yml +0 -10
  76. data/config/locales/de.yml +0 -16
  77. data/config/locales/el.yml +0 -13
  78. data/config/locales/en-CA.yml +0 -16
  79. data/config/locales/en-GB.yml +0 -16
  80. data/config/locales/en.yml +18 -28
  81. data/config/locales/eo.yml +0 -17
  82. data/config/locales/es-MX.yml +0 -9
  83. data/config/locales/es.yml +0 -16
  84. data/config/locales/fa.yml +0 -9
  85. data/config/locales/fi.yml +0 -9
  86. data/config/locales/fr.yml +32 -26
  87. data/config/locales/he.yml +0 -16
  88. data/config/locales/hr.yml +0 -9
  89. data/config/locales/hu.yml +0 -6
  90. data/config/locales/id.yml +0 -16
  91. data/config/locales/it.yml +0 -16
  92. data/config/locales/ja.yml +0 -16
  93. data/config/locales/ko.yml +0 -9
  94. data/config/locales/lt.yml +0 -16
  95. data/config/locales/lv.yml +0 -6
  96. data/config/locales/mk.yml +0 -15
  97. data/config/locales/nb.yml +0 -12
  98. data/config/locales/nl.yml +21 -29
  99. data/config/locales/pl.yml +0 -16
  100. data/config/locales/pt-BR.yml +0 -16
  101. data/config/locales/pt-PT.yml +0 -6
  102. data/config/locales/ro.yml +0 -6
  103. data/config/locales/ru.yml +0 -16
  104. data/config/locales/sk.yml +0 -16
  105. data/config/locales/sv-SE.yml +0 -16
  106. data/config/locales/tr.yml +0 -16
  107. data/config/locales/uk.yml +0 -16
  108. data/config/locales/vi.yml +0 -16
  109. data/config/locales/zh-CN.yml +0 -16
  110. data/config/locales/zh-TW.yml +0 -16
  111. data/lib/active_admin/application.rb +1 -9
  112. data/lib/active_admin/batch_actions/controller.rb +1 -4
  113. data/lib/active_admin/batch_actions/resource_extension.rb +6 -13
  114. data/lib/active_admin/batch_actions/views/batch_action_form.rb +0 -6
  115. data/lib/active_admin/batch_actions/views/selection_cells.rb +2 -2
  116. data/lib/active_admin/batch_actions.rb +0 -5
  117. data/lib/active_admin/callbacks.rb +6 -4
  118. data/lib/active_admin/component.rb +0 -1
  119. data/lib/active_admin/csv_builder.rb +1 -1
  120. data/lib/active_admin/devise.rb +3 -3
  121. data/lib/active_admin/dsl.rb +2 -2
  122. data/lib/active_admin/dynamic_settings_node.rb +4 -4
  123. data/lib/active_admin/engine.rb +19 -6
  124. data/lib/active_admin/filters/active.rb +6 -4
  125. data/lib/active_admin/filters/active_filter.rb +1 -3
  126. data/lib/active_admin/filters/forms.rb +1 -42
  127. data/lib/active_admin/filters/resource_extension.rb +17 -9
  128. data/lib/active_admin/filters.rb +0 -2
  129. data/lib/active_admin/form_builder.rb +15 -14
  130. data/lib/active_admin/inputs/filters/base/search_method_select.rb +8 -10
  131. data/lib/active_admin/inputs/filters/base.rb +1 -1
  132. data/lib/active_admin/inputs/filters/check_boxes_input.rb +1 -6
  133. data/lib/active_admin/inputs/filters/date_range_input.rb +4 -2
  134. data/lib/active_admin/inputs.rb +0 -3
  135. data/lib/active_admin/menu.rb +10 -7
  136. data/lib/active_admin/menu_collection.rb +1 -1
  137. data/lib/active_admin/menu_item.rb +24 -3
  138. data/lib/active_admin/namespace.rb +2 -44
  139. data/lib/active_admin/namespace_settings.rb +2 -35
  140. data/lib/active_admin/order_clause.rb +4 -1
  141. data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +3 -75
  142. data/lib/active_admin/orm/active_record/comments.rb +10 -5
  143. data/lib/active_admin/resource/action_items.rb +15 -20
  144. data/lib/active_admin/resource/naming.rb +1 -2
  145. data/lib/active_admin/resource.rb +1 -0
  146. data/lib/active_admin/resource_dsl.rb +1 -1
  147. data/lib/active_admin/scope.rb +1 -1
  148. data/lib/active_admin/settings_node.rb +1 -1
  149. data/lib/active_admin/sidebar_section.rb +0 -5
  150. data/lib/active_admin/version.rb +1 -1
  151. data/lib/active_admin/view_helpers.rb +0 -12
  152. data/lib/active_admin/views/components/active_admin_form.rb +20 -16
  153. data/lib/active_admin/views/components/attributes_table.rb +4 -12
  154. data/lib/active_admin/views/components/index_list.rb +10 -23
  155. data/lib/active_admin/views/components/paginated_collection.rb +34 -39
  156. data/lib/active_admin/views/components/panel.rb +2 -10
  157. data/lib/active_admin/views/components/scopes.rb +12 -21
  158. data/lib/active_admin/views/components/status_tag.rb +22 -19
  159. data/lib/active_admin/views/components/table_for.rb +19 -24
  160. data/lib/active_admin/views/components/tabs.rb +10 -11
  161. data/lib/active_admin/views/index_as_table.rb +24 -97
  162. data/lib/active_admin.rb +7 -11
  163. data/lib/generators/active_admin/assets/assets_generator.rb +4 -4
  164. data/lib/generators/active_admin/assets/templates/active_admin.css +3 -0
  165. data/lib/generators/active_admin/assets/templates/tailwind.config.js +18 -0
  166. data/lib/generators/active_admin/install/install_generator.rb +2 -8
  167. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +10 -87
  168. data/lib/generators/active_admin/install/templates/dashboard.rb +8 -25
  169. data/lib/generators/active_admin/page/page_generator.rb +0 -1
  170. data/lib/generators/active_admin/resource/resource_generator.rb +46 -7
  171. data/lib/generators/active_admin/resource/templates/resource.rb.erb +42 -0
  172. data/lib/generators/active_admin/views_generator.rb +18 -0
  173. metadata +67 -214
  174. data/app/assets/javascripts/active_admin/base.js +0 -521
  175. data/app/assets/stylesheets/active_admin/_base.scss +0 -57
  176. data/app/assets/stylesheets/active_admin/_forms.scss +0 -316
  177. data/app/assets/stylesheets/active_admin/_header.scss +0 -188
  178. data/app/assets/stylesheets/active_admin/_mixins.scss +0 -1
  179. data/app/assets/stylesheets/active_admin/_normalize.scss +0 -349
  180. data/app/assets/stylesheets/active_admin/_print.scss +0 -287
  181. data/app/assets/stylesheets/active_admin/_typography.scss +0 -100
  182. data/app/assets/stylesheets/active_admin/components/_batch_actions.scss +0 -6
  183. data/app/assets/stylesheets/active_admin/components/_blank_slates.scss +0 -30
  184. data/app/assets/stylesheets/active_admin/components/_breadcrumbs.scss +0 -20
  185. data/app/assets/stylesheets/active_admin/components/_buttons.scss +0 -6
  186. data/app/assets/stylesheets/active_admin/components/_columns.scss +0 -3
  187. data/app/assets/stylesheets/active_admin/components/_comments.scss +0 -41
  188. data/app/assets/stylesheets/active_admin/components/_date_picker.scss +0 -148
  189. data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +0 -151
  190. data/app/assets/stylesheets/active_admin/components/_flash_messages.scss +0 -37
  191. data/app/assets/stylesheets/active_admin/components/_grid.scss +0 -9
  192. data/app/assets/stylesheets/active_admin/components/_index_list.scss +0 -12
  193. data/app/assets/stylesheets/active_admin/components/_links.scss +0 -5
  194. data/app/assets/stylesheets/active_admin/components/_modal_dialog.scss +0 -34
  195. data/app/assets/stylesheets/active_admin/components/_pagination.scss +0 -55
  196. data/app/assets/stylesheets/active_admin/components/_panels.scss +0 -6
  197. data/app/assets/stylesheets/active_admin/components/_scopes.scss +0 -13
  198. data/app/assets/stylesheets/active_admin/components/_status_tags.scss +0 -12
  199. data/app/assets/stylesheets/active_admin/components/_table_tools.scss +0 -67
  200. data/app/assets/stylesheets/active_admin/components/_tables.scss +0 -112
  201. data/app/assets/stylesheets/active_admin/components/_tabs.scss +0 -65
  202. data/app/assets/stylesheets/active_admin/components/_unsupported_browser.scss +0 -16
  203. data/app/assets/stylesheets/active_admin/mixins/_all.scss +0 -8
  204. data/app/assets/stylesheets/active_admin/mixins/_buttons.scss +0 -65
  205. data/app/assets/stylesheets/active_admin/mixins/_gradients.scss +0 -28
  206. data/app/assets/stylesheets/active_admin/mixins/_rounded.scss +0 -22
  207. data/app/assets/stylesheets/active_admin/mixins/_sections.scss +0 -41
  208. data/app/assets/stylesheets/active_admin/mixins/_shadows.scss +0 -15
  209. data/app/assets/stylesheets/active_admin/mixins/_typography.scss +0 -3
  210. data/app/assets/stylesheets/active_admin/mixins/_utilities.scss +0 -17
  211. data/app/assets/stylesheets/active_admin/mixins/_variables.scss +0 -51
  212. data/app/assets/stylesheets/active_admin/pages/_logged_out.scss +0 -44
  213. data/app/assets/stylesheets/active_admin/structure/_footer.scss +0 -19
  214. data/app/assets/stylesheets/active_admin/structure/_main_structure.scss +0 -29
  215. data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +0 -40
  216. data/app/javascript/active_admin/base.js +0 -28
  217. data/app/javascript/active_admin/ext/jquery-ui.js +0 -7
  218. data/app/javascript/active_admin/ext/jquery.js +0 -9
  219. data/app/javascript/active_admin/initializers/batch-actions.js +0 -61
  220. data/app/javascript/active_admin/initializers/checkbox-toggler.js +0 -3
  221. data/app/javascript/active_admin/initializers/datepicker.js +0 -16
  222. data/app/javascript/active_admin/initializers/dropdown-menu.js +0 -9
  223. data/app/javascript/active_admin/initializers/filters.js +0 -10
  224. data/app/javascript/active_admin/initializers/has-many.js +0 -98
  225. data/app/javascript/active_admin/initializers/per-page.js +0 -13
  226. data/app/javascript/active_admin/initializers/table-checkbox-toggler.js +0 -3
  227. data/app/javascript/active_admin/initializers/tabs.js +0 -6
  228. data/app/javascript/active_admin/lib/checkbox-toggler.js +0 -49
  229. data/app/javascript/active_admin/lib/dropdown-menu.js +0 -116
  230. data/app/javascript/active_admin/lib/filters.js +0 -39
  231. data/app/javascript/active_admin/lib/modal-dialog.js +0 -63
  232. data/app/javascript/active_admin/lib/per-page.js +0 -38
  233. data/app/javascript/active_admin/lib/table-checkbox-toggler.js +0 -38
  234. data/app/javascript/active_admin/lib/utils.js +0 -40
  235. data/app/views/kaminari/active_admin/_first_page.html.erb +0 -11
  236. data/app/views/kaminari/active_admin/_gap.html.erb +0 -8
  237. data/app/views/kaminari/active_admin/_last_page.html.erb +0 -11
  238. data/app/views/kaminari/active_admin/_next_page.html.erb +0 -11
  239. data/app/views/kaminari/active_admin/_page.html.erb +0 -12
  240. data/app/views/kaminari/active_admin/_paginator.html.erb +0 -25
  241. data/app/views/kaminari/active_admin/_prev_page.html.erb +0 -11
  242. data/app/views/kaminari/active_admin_countless/_first_page.html.erb +0 -11
  243. data/app/views/kaminari/active_admin_countless/_next_page.html.erb +0 -11
  244. data/app/views/kaminari/active_admin_countless/_page.html.erb +0 -12
  245. data/app/views/kaminari/active_admin_countless/_prev_page.html.erb +0 -11
  246. data/app/views/layouts/active_admin.html.arb +0 -2
  247. data/lib/active_admin/abstract_view_factory.rb +0 -48
  248. data/lib/active_admin/asset_registration.rb +0 -30
  249. data/lib/active_admin/base_controller/menu.rb +0 -35
  250. data/lib/active_admin/batch_actions/views/batch_action_selector.rb +0 -59
  251. data/lib/active_admin/filters/active_sidebar.rb +0 -28
  252. data/lib/active_admin/generators/boilerplate.rb +0 -54
  253. data/lib/active_admin/helpers/collection.rb +0 -21
  254. data/lib/active_admin/helpers/i18n.rb +0 -8
  255. data/lib/active_admin/inputs/datepicker_input.rb +0 -28
  256. data/lib/active_admin/inputs/filters/date_picker_input.rb +0 -14
  257. data/lib/active_admin/orm/active_record/comments/show_page_helper.rb +0 -24
  258. data/lib/active_admin/orm/mongoid.rb +0 -2
  259. data/lib/active_admin/resource_controller/sidebars.rb +0 -19
  260. data/lib/active_admin/resource_controller.rb +0 -68
  261. data/lib/active_admin/view_factory.rb +0 -28
  262. data/lib/active_admin/view_helpers/active_admin_application_helper.rb +0 -13
  263. data/lib/active_admin/view_helpers/auto_link_helper.rb +0 -46
  264. data/lib/active_admin/view_helpers/breadcrumb_helper.rb +0 -34
  265. data/lib/active_admin/view_helpers/display_helper.rb +0 -119
  266. data/lib/active_admin/view_helpers/download_format_links_helper.rb +0 -60
  267. data/lib/active_admin/view_helpers/fields_for.rb +0 -51
  268. data/lib/active_admin/view_helpers/flash_helper.rb +0 -15
  269. data/lib/active_admin/view_helpers/form_helper.rb +0 -21
  270. data/lib/active_admin/view_helpers/scope_name_helper.rb +0 -17
  271. data/lib/active_admin/view_helpers/sidebar_helper.rb +0 -16
  272. data/lib/active_admin/view_helpers/title_helper.rb +0 -12
  273. data/lib/active_admin/view_helpers/view_factory_helper.rb +0 -12
  274. data/lib/active_admin/views/action_items.rb +0 -18
  275. data/lib/active_admin/views/components/active_filters_sidebar_content.rb +0 -59
  276. data/lib/active_admin/views/components/blank_slate.rb +0 -18
  277. data/lib/active_admin/views/components/columns.rb +0 -162
  278. data/lib/active_admin/views/components/dropdown_menu.rb +0 -69
  279. data/lib/active_admin/views/components/menu.rb +0 -33
  280. data/lib/active_admin/views/components/menu_item.rb +0 -59
  281. data/lib/active_admin/views/components/sidebar.rb +0 -14
  282. data/lib/active_admin/views/components/sidebar_section.rb +0 -35
  283. data/lib/active_admin/views/components/site_title.rb +0 -55
  284. data/lib/active_admin/views/components/unsupported_browser.rb +0 -12
  285. data/lib/active_admin/views/footer.rb +0 -32
  286. data/lib/active_admin/views/header.rb +0 -20
  287. data/lib/active_admin/views/index_as_block.rb +0 -37
  288. data/lib/active_admin/views/index_as_blog.rb +0 -156
  289. data/lib/active_admin/views/index_as_grid.rb +0 -81
  290. data/lib/active_admin/views/pages/base.rb +0 -134
  291. data/lib/active_admin/views/pages/form.rb +0 -65
  292. data/lib/active_admin/views/pages/index.rb +0 -166
  293. data/lib/active_admin/views/pages/layout.rb +0 -27
  294. data/lib/active_admin/views/pages/page.rb +0 -31
  295. data/lib/active_admin/views/pages/show.rb +0 -60
  296. data/lib/active_admin/views/tabbed_navigation.rb +0 -12
  297. data/lib/active_admin/views/title_bar.rb +0 -56
  298. data/lib/generators/active_admin/assets/templates/active_admin.js +0 -1
  299. data/lib/generators/active_admin/assets/templates/active_admin.scss +0 -17
  300. data/lib/generators/active_admin/resource/templates/admin.rb.erb +0 -46
  301. data/lib/generators/active_admin/webpacker/plugins/jquery.js +0 -7
  302. data/lib/generators/active_admin/webpacker/templates/active_admin.js +0 -5
  303. data/lib/generators/active_admin/webpacker/templates/active_admin.scss +0 -17
  304. data/lib/generators/active_admin/webpacker/templates/print.scss +0 -2
  305. data/lib/generators/active_admin/webpacker/webpacker_generator.rb +0 -27
  306. data/vendor/assets/javascripts/jquery-ui/data.js +0 -45
  307. data/vendor/assets/javascripts/jquery-ui/disable-selection.js +0 -51
  308. data/vendor/assets/javascripts/jquery-ui/focusable.js +0 -89
  309. data/vendor/assets/javascripts/jquery-ui/form-reset-mixin.js +0 -83
  310. data/vendor/assets/javascripts/jquery-ui/form.js +0 -25
  311. data/vendor/assets/javascripts/jquery-ui/ie.js +0 -20
  312. data/vendor/assets/javascripts/jquery-ui/keycode.js +0 -51
  313. data/vendor/assets/javascripts/jquery-ui/labels.js +0 -71
  314. data/vendor/assets/javascripts/jquery-ui/plugin.js +0 -49
  315. data/vendor/assets/javascripts/jquery-ui/position.js +0 -513
  316. data/vendor/assets/javascripts/jquery-ui/safe-active-element.js +0 -46
  317. data/vendor/assets/javascripts/jquery-ui/safe-blur.js +0 -27
  318. data/vendor/assets/javascripts/jquery-ui/scroll-parent.js +0 -50
  319. data/vendor/assets/javascripts/jquery-ui/tabbable.js +0 -41
  320. data/vendor/assets/javascripts/jquery-ui/unique-id.js +0 -54
  321. data/vendor/assets/javascripts/jquery-ui/version.js +0 -20
  322. data/vendor/assets/javascripts/jquery-ui/widget.js +0 -758
  323. data/vendor/assets/javascripts/jquery-ui/widgets/button.js +0 -454
  324. data/vendor/assets/javascripts/jquery-ui/widgets/checkboxradio.js +0 -294
  325. data/vendor/assets/javascripts/jquery-ui/widgets/controlgroup.js +0 -304
  326. data/vendor/assets/javascripts/jquery-ui/widgets/datepicker.js +0 -2243
  327. data/vendor/assets/javascripts/jquery-ui/widgets/dialog.js +0 -971
  328. data/vendor/assets/javascripts/jquery-ui/widgets/draggable.js +0 -1268
  329. data/vendor/assets/javascripts/jquery-ui/widgets/mouse.js +0 -241
  330. data/vendor/assets/javascripts/jquery-ui/widgets/resizable.js +0 -1228
  331. data/vendor/assets/javascripts/jquery-ui/widgets/sortable.js +0 -1622
  332. data/vendor/assets/javascripts/jquery-ui/widgets/tabs.js +0 -931
  333. /data/{lib → app/controllers}/active_admin/base_controller/authorization.rb +0 -0
  334. /data/{lib → app/controllers}/active_admin/resource_controller/decorators.rb +0 -0
  335. /data/{lib → app/controllers}/active_admin/resource_controller/polymorphic_routes.rb +0 -0
  336. /data/{lib → app/controllers}/active_admin/resource_controller/resource_class_methods.rb +0 -0
  337. /data/lib/{active_admin/orm/mongoid/.gitkeep → generators/active_admin/assets/templates/builds/.keep} +0 -0
@@ -1,2 +1,95 @@
1
1
  # frozen_string_literal: true
2
- insert_tag renderer_for(:index)
2
+ def wrap_with_batch_action_form(&block)
3
+ if active_admin_config.batch_actions.any?
4
+ insert_tag(ActiveAdmin::BatchActions::BatchActionForm, &block)
5
+ batch_actions_to_display.each do |batch_action|
6
+ if batch_action.partial.present?
7
+ render(batch_action.partial)
8
+ end
9
+ end
10
+ else
11
+ block.call
12
+ end
13
+ end
14
+
15
+ def build_collection
16
+ if collection_empty?(collection)
17
+ if params[:q] || params[:scope]
18
+ render("active_admin/resource/index_empty_results")
19
+ else
20
+ render("active_admin/resource/index_blank_slate")
21
+ end
22
+ else
23
+ render_index
24
+ end
25
+ end
26
+
27
+ def build_table_tools
28
+ div class: "index-data-table-toolbar" do
29
+ render "batch_actions_dropdown"
30
+ build_scopes
31
+ build_index_list
32
+ end if any_table_tools?
33
+ end
34
+
35
+ def any_table_tools?
36
+ active_admin_config.batch_actions.any? ||
37
+ active_admin_config.scopes.any? ||
38
+ active_admin_config.page_presenters[:index].try(:size).try(:>, 1)
39
+ end
40
+
41
+ def build_scopes
42
+ if active_admin_config.scopes.any?
43
+ scope_options = { scope_count: page_presenter.fetch(:scope_count, true) }
44
+ insert_tag(ActiveAdmin::Views::Scopes, active_admin_config.scopes, scope_options)
45
+ end
46
+ end
47
+
48
+ def build_index_list
49
+ indexes = active_admin_config.page_presenters[:index]
50
+
51
+ if indexes.kind_of?(Hash) && indexes.length > 1
52
+ index_classes = []
53
+ active_admin_config.page_presenters[:index].each do |type, page_presenter|
54
+ index_classes << find_index_renderer_class(page_presenter[:as])
55
+ end
56
+
57
+ insert_tag(ActiveAdmin::Views::IndexList, index_classes)
58
+ end
59
+ end
60
+
61
+ # Returns the actual class for renderering the main content on the index
62
+ # page. To set this, use the :as option in the page_presenter block.
63
+ def find_index_renderer_class(klass)
64
+ if klass.is_a?(Class)
65
+ klass
66
+ else
67
+ ::ActiveAdmin::Views.const_get("IndexAs" + klass.to_s.camelcase)
68
+ end
69
+ end
70
+
71
+ def render_index
72
+ renderer_class = find_index_renderer_class(page_presenter[:as])
73
+
74
+ paginator = page_presenter.fetch(:paginator, true)
75
+ download_links = page_presenter.fetch(:download_links, active_admin_config.namespace.download_links)
76
+ pagination_total = page_presenter.fetch(:pagination_total, true)
77
+ per_page = page_presenter.fetch(:per_page, active_admin_config.per_page)
78
+
79
+ paginated_collection(
80
+ collection, entry_name: active_admin_config.resource_label,
81
+ entries_name: active_admin_config.plural_resource_label(count: collection_size),
82
+ download_links: download_links,
83
+ paginator: paginator,
84
+ per_page: per_page,
85
+ pagination_total: pagination_total) do
86
+ insert_tag(renderer_class, page_presenter, collection)
87
+ end
88
+ end
89
+
90
+ div class: "main-content-container" do
91
+ wrap_with_batch_action_form do
92
+ build_table_tools
93
+ build_collection
94
+ end
95
+ end
@@ -1,2 +1,2 @@
1
1
  # frozen_string_literal: true
2
- insert_tag renderer_for(:new)
2
+ render "form"
@@ -1,2 +1,13 @@
1
1
  # frozen_string_literal: true
2
- insert_tag renderer_for(:show)
2
+ def attributes_table(*args, &block)
3
+ attributes_table_for resource, *args, &block
4
+ end
5
+
6
+ div class: "main-content-container" do
7
+ if page_presenter.block
8
+ # Evaluate the show config from the controller
9
+ instance_exec resource, &page_presenter.block
10
+ else
11
+ render "show_default"
12
+ end
13
+ end
@@ -0,0 +1,3 @@
1
+ <% action_items_for_action.each do |action_item| %>
2
+ <%= instance_exec(&action_item.block) %>
3
+ <% end %>
@@ -0,0 +1,7 @@
1
+ <% params = request.query_parameters.except :format, :commit %>
2
+ <div>
3
+ <span><%= I18n.t("active_admin.download") %></span>
4
+ <% formats.each do |format| %>
5
+ <%= link_to format.upcase, url_for(params: params, format: format) %>
6
+ <% end %>
7
+ </div>
@@ -0,0 +1,51 @@
1
+ <div class="max-w-[700px]">
2
+ <div class="font-bold py-3 border-b dark:border-gray-600">
3
+ <%= ActiveAdmin::Comment.model_name.human(count: 2.1) %>
4
+ </div>
5
+ <% if authorized?(ActiveAdmin::Auth::NEW, ActiveAdmin::Comment) %>
6
+ <%= active_admin_form_for(ActiveAdmin::Comment.new, url: comment_form_url, html: { class: "mb-12 max-w-[700px]", novalidate: false }) do |f|
7
+ f.inputs do
8
+ f.input :resource_type, as: :hidden, input_html: { value: ActiveAdmin::Comment.resource_type(resource) }
9
+ f.input :resource_id, as: :hidden, input_html: { value: resource.id }
10
+ f.input :body, label: false, input_html: { size: "80x4", required: true }
11
+ end
12
+ f.actions do
13
+ f.action :submit, label: I18n.t("active_admin.comments.add")
14
+ end
15
+ end
16
+ %>
17
+ <% end %>
18
+ <div class="font-bold py-3 border-b dark:border-gray-600">
19
+ <%= I18n.t "active_admin.comments.title_content", count: comments.total_count %>
20
+ </div>
21
+ <% if comments.any? %>
22
+ <% comments.each do |comment| %>
23
+ <div class="border-b dark:border-gray-600 py-6 max-w-[700px]" id="<%= dom_id(comment, :active_admin) %>" data-test-comment-container>
24
+ <div class="flex gap-4 items-end mb-2">
25
+ <span class="font-semibold">
26
+ <%= comment.author ? auto_link(comment.author) : I18n.t("active_admin.comments.author_missing") %>
27
+ </span>
28
+ <span class="text-xs text-gray-400">
29
+ <%= pretty_format comment.created_at %>
30
+ </span>
31
+ </div>
32
+ <div class="mb-4 break-keep">
33
+ <%= simple_format(comment.body) %>
34
+ </div>
35
+ <% if authorized?(ActiveAdmin::Auth::DESTROY, comment) %>
36
+ <%= link_to I18n.t("active_admin.comments.delete"), url_for_comments(comment.id), method: :delete, data: { confirm: I18n.t("active_admin.comments.delete_confirmation") } %>
37
+ <% end %>
38
+ </div>
39
+ <% end %>
40
+ <div class="p-2 lg:p-4 flex flex-col-reverse lg:flex-row gap-4 items-center justify-between">
41
+ <div>
42
+ <%= page_entries_info(comments).html_safe %>
43
+ </div>
44
+ <%= paginate(comments, views_prefix: :active_admin, outer_window: 1, window: 2) %>
45
+ </div>
46
+ <% else %>
47
+ <div class="p-8 text-center">
48
+ <%= I18n.t("active_admin.comments.no_comments_yet") %>
49
+ </div>
50
+ <% end %>
51
+ </div>
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+ if section.block
3
+ result = instance_exec(&section.block)
4
+ text_node result unless result.is_a?(Arbre::Element)
5
+ else
6
+ render(section.partial_name)
7
+ end
@@ -0,0 +1,5 @@
1
+ <% sidebar_sections_for_action.each do |section| %>
2
+ <%= content_tag :div, id: section.id, class: section.custom_class do %>
3
+ <%= render "active_admin/shared/sidebar_section", section: section %>
4
+ <% end %>
5
+ <% end %>
@@ -0,0 +1,20 @@
1
+ <!doctype html>
2
+ <html lang="<%= I18n.locale %>">
3
+ <head>
4
+ <title><%= html_head_site_title %></title>
5
+ <%= render "active_admin/html_head" %>
6
+ </head>
7
+ <body class="bg-white dark:bg-gray-950/95 text-gray-950 dark:text-gray-100 antialiased">
8
+ <%= render "active_admin/site_header", title: site_title %>
9
+ <div class="xl:ms-60">
10
+ <%= render "active_admin/main_navigation" %>
11
+ <%= render "active_admin/page_header", title: @page_title || page_title %>
12
+ <%= render "active_admin/flash_messages" %>
13
+ <div data-test-page-content class="px-2.5 lg:px-5 grid grid-cols-1 gap-4 lg:gap-6 lg:grid-flow-col lg:auto-cols-[minmax(0,250px)]">
14
+ <%= yield %>
15
+ <%= render "active_admin/sidebar" %>
16
+ </div>
17
+ <%= render "active_admin/site_footer" %>
18
+ </div>
19
+ </body>
20
+ </html>
@@ -1,50 +1,13 @@
1
- <!DOCTYPE html>
2
- <html lang="<%=I18n.locale%>">
1
+ <!doctype html>
2
+ <html lang="<%= I18n.locale %>">
3
3
  <head>
4
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
5
-
6
- <title><%= [@page_title, ActiveAdmin.application.site_title(self)].compact.join(" | ") %></title>
7
-
8
- <% ActiveAdmin.application.stylesheets.each do |style, options| %>
9
- <% if ActiveAdmin.application.use_webpacker %>
10
- <%= stylesheet_pack_tag style, **options %>
11
- <% else %>
12
- <%= stylesheet_link_tag style, **options %>
13
- <% end %>
14
- <% end %>
15
- <% ActiveAdmin.application.javascripts.each do |path, options| %>
16
- <% if ActiveAdmin.application.use_webpacker %>
17
- <%= javascript_pack_tag path, **options %>
18
- <% else %>
19
- <%= javascript_include_tag path, **options %>
20
- <% end %>
21
- <% end %>
22
-
23
- <%= favicon_link_tag ActiveAdmin.application.favicon if ActiveAdmin.application.favicon %>
24
-
25
- <% ActiveAdmin.application.meta_tags_for_logged_out_pages.each do |name, content| %>
26
- <%= tag(:meta, name: name, content: content) %>
27
- <% end %>
28
-
29
- <%= csrf_meta_tags %>
30
- <%= csp_meta_tag %>
4
+ <title><%= html_head_site_title %></title>
5
+ <%= render "active_admin/html_head" %>
31
6
  </head>
32
- <body class="active_admin logged_out <%= controller.action_name %>">
33
- <div id="wrapper">
34
-
35
- <div id="content_wrapper">
36
- <div class="flashes">
37
- <% flash_messages.each do |type, message| %>
38
- <%= content_tag :div, message, class: "flash flash_#{type}" %>
39
- <% end %>
40
- </div>
41
- <div id="active_admin_content">
42
- <%= yield %>
43
- </div>
7
+ <body class="bg-gray-50 dark:bg-gray-900 text-gray-950 dark:text-gray-100 antialiased">
8
+ <div class="flex flex-col items-center justify-center min-h-screen py-4 sm:px-6 sm:py-8 mx-auto">
9
+ <%= render "active_admin/flash_messages" %>
10
+ <%= yield %>
44
11
  </div>
45
- <div id="footer">
46
- <%= yield :footer %>
47
- </div>
48
- </div>
49
12
  </body>
50
13
  </html>
@@ -1,9 +1,6 @@
1
1
  ar:
2
2
  active_admin:
3
3
  dashboard: "لوحة تحكم"
4
- dashboard_welcome:
5
- welcome: "مرحبًا بك في في صفحة الإدارة، وهذه هي الصفحة الإفتراضيّة."
6
- call_to_action: "لإضافة أقسام إلى لوحة التحكم, راجع: 'app/admin/dashboard.rb'"
7
4
  view: "عرض"
8
5
  edit: "تعديل"
9
6
  delete: "حذف"
@@ -25,15 +22,11 @@ ar:
25
22
  filter: "تصفية"
26
23
  clear: "تفريغ التصفية"
27
24
  search_status:
28
- headline: "حالات البحث:"
29
- current_scope: "المجال:"
30
- current_filters: "المُرشحات الحاليّة:"
31
25
  no_current_filters: "بدون"
32
26
  status_tag:
33
27
  "yes": "نعم"
34
28
  "no": "لا"
35
29
  "unset": "لا"
36
- main_content: "الرجاء تنفيذ %{model}#main_content لعرض المحتوى."
37
30
  logout: "تسجيل الخروج"
38
31
  powered_by: "تنفيذ %{active_admin} %{version}"
39
32
  sidebars:
@@ -52,8 +45,6 @@ ar:
52
45
  blank_slate:
53
46
  content: "لايوجد %{resource_name} بعد."
54
47
  link: "إنشاء"
55
- dropdown_actions:
56
- button_label: "إجراءات"
57
48
  batch_actions:
58
49
  button_label: "إجراءات متعددة"
59
50
  default_confirmation: "هل أنت متأكّد؟"
@@ -115,14 +106,7 @@ ar:
115
106
  sign_in_with_omniauth_provider: "تسجيل الدخول بـ %{provider}"
116
107
  resend_unlock_instructions: "إعادة إرسال تعليمات تنشيط الحساب"
117
108
  resend_confirmation_instructions: "إعادة إرسال تعليمات تأكيد الحساب"
118
- unsupported_browser:
119
- headline: "يُرجى مُلاحظة أن (أكتف أدمن) لم تعد تدعم المُتصفّح إنترنت اكسبلوررالإصدار الثامن وما قبله"
120
- recommendation: "ننصح بالتحديث إلى الإصدارات الأخيرة من: <a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, أو <a href=\"https://mozilla.org/firefox/\">Firefox</a>."
121
- turn_off_compatibility_view: "إن كنت تستخدم الإصدار التاسع وما يليه من إنترنت إكسبلورر تأكّد من <a href=\"https://support.microsoft.com/ar-ae/help/17471\">تعطيل \"Compatibility View\"</a>."
122
109
  access_denied:
123
110
  message: "لم يُصرّح لك بهذا الإجراء."
124
111
  index_list:
125
112
  table: "جدول"
126
- block: "قائمة"
127
- grid: "شبكة"
128
- blog: "مدونة"
@@ -1,9 +1,6 @@
1
1
  az:
2
2
  active_admin:
3
3
  dashboard: "İdarəetmə paneli"
4
- dashboard_welcome:
5
- welcome: "Active Admin-ə xoş gəlmişsiniz. Bu saytla idarəetmənin standart səhifəsidir."
6
- call_to_action: "Buraya nə isə əlavə etmək üçün 'app/admin/dashboard.rb' sənədini dəyişin"
7
4
  view: "Aç"
8
5
  edit: "Dəyiş"
9
6
  delete: "Sil"
@@ -25,14 +22,10 @@ az:
25
22
  filter: "Filtrlə"
26
23
  clear: "Təmizlə"
27
24
  search_status:
28
- headline: "Axtarışın statusu:"
29
- current_scope: "Sahə:"
30
- current_filters: "Cari filter:"
31
25
  no_current_filters: "Heç biri"
32
26
  status_tag:
33
27
  "yes": "Bəli"
34
28
  "no": "Xeyr"
35
- main_content: "Создайте %{model}#main_content для отображения содержимого."
36
29
  logout: "Çıxış"
37
30
  powered_by: "Работает на %{active_admin} %{version}"
38
31
  sidebars:
@@ -53,8 +46,6 @@ az:
53
46
  blank_slate:
54
47
  content: "%{resource_name} hələ yoxdur."
55
48
  link: "Yarat"
56
- dropdown_actions:
57
- button_label: "Əməliyyatlar"
58
49
  batch_actions:
59
50
  button_label: "Qrup əməliyyatları"
60
51
  default_confirmation: "Siz bunu etməyinizə əminsiniz?"
@@ -118,14 +109,7 @@ az:
118
109
  sign_in_with_omniauth_provider: "%{provider} vasitəsilə daxil ol"
119
110
  resend_unlock_instructions: "Blokdan çıxarma üzrə təlimatı yenidən göndərilməsi"
120
111
  resend_confirmation_instructions: "Aktivləşdirmə ismarışını yenidən göndərilməsi"
121
- unsupported_browser:
122
- headline: "Zəhmət olmasa, bilin ki, Active Admin artıq Internet Explorer-in köhnə versiyalarını daha dəstəkləmir və yalnız IE 8 versiyasından başlayaraq dəstəkləyir"
123
- recommendation: "Biz sizin brauzerinizin versiyasını yeniləməyi məsləhət görürük (<a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, və ya <a href=\"https://mozilla.org/firefox/\">Firefox</a>)."
124
- turn_off_compatibility_view: "Əgər siz IE 9 və ya daha yeni versiya istifadə edirsinizsə, əmin olun ki, <a href=\"https://support.microsoft.com/ru-ru/help/17471\">\"Uyğunluğun rejimində baxış\"</a> seçimini söndürmüsünüz."
125
112
  access_denied:
126
113
  message: "Bunu etmək üçün daxil olmalısınız."
127
114
  index_list:
128
115
  table: "Cədvəl"
129
- block: "Siyahı"
130
- grid: "Tor"
131
- blog: "Bloq"
@@ -1,9 +1,6 @@
1
1
  bg:
2
2
  active_admin:
3
3
  dashboard: Табло
4
- dashboard_welcome:
5
- welcome: "Добре дошли в Active Admin. Това е таблото по подразбиране."
6
- call_to_action: "За да добавите секции, редактирайте 'app/admin/dashboard.rb'"
7
4
  view: "Преглед"
8
5
  edit: "Редакция"
9
6
  delete: "Изтриване"
@@ -28,7 +25,6 @@ bg:
28
25
  "yes": "Да"
29
26
  "no": "не"
30
27
  "unset": "не"
31
- main_content: "Добавете %{model}#main_content за да видите съдържание."
32
28
  logout: "Изход"
33
29
  powered_by: "Задвижва се от %{active_admin} %{version}"
34
30
  sidebars:
@@ -46,8 +42,6 @@ bg:
46
42
  blank_slate:
47
43
  content: "Все още няма добавени %{resource_name}."
48
44
  link: "Създаване"
49
- dropdown_actions:
50
- button_label: "действия"
51
45
  batch_actions:
52
46
  button_label: "Масови действия"
53
47
  default_confirmation: "Наистина ли искате да направите това?"
@@ -107,6 +101,3 @@ bg:
107
101
  message: "Нямате права да извършите това действие."
108
102
  index_list:
109
103
  table: "Таблица"
110
- block: "Списък"
111
- grid: "Грид"
112
- blog: "Блог"
@@ -1,9 +1,6 @@
1
1
  bs:
2
2
  active_admin:
3
3
  dashboard: "Upravljačka ploča"
4
- dashboard_welcome:
5
- welcome: "Dobrodošli u Active Admin. Ovo je početna upravljačka ploča."
6
- call_to_action: "Da biste dodali nove odjeljke na upravljačku ploču, pogledajte 'app/admin/dashboard.rb'"
7
4
  view: "Pregledaj"
8
5
  edit: "Uredi"
9
6
  delete: "Obriši"
@@ -28,7 +25,6 @@ bs:
28
25
  "yes": "Da"
29
26
  "no": "Nema"
30
27
  "unset": "Nema"
31
- main_content: "Molim Vas, implementirajte %{model}#main_content da biste prikazali sadržaj."
32
28
  logout: "Odjavi se"
33
29
  powered_by: "Powered by %{active_admin} %{version}"
34
30
  sidebars:
@@ -109,6 +105,3 @@ bs:
109
105
  message: "Nemaš dopuštenja."
110
106
  index_list:
111
107
  table: "Tabela"
112
- block: "Lista"
113
- grid: "Rešetka"
114
- blog: "Blog"
@@ -1,9 +1,6 @@
1
1
  ca:
2
2
  active_admin:
3
3
  dashboard: Tauler
4
- dashboard_welcome:
5
- welcome: "Benvingut a Active Admin. Aquest és el tauler per defecte."
6
- call_to_action: "Mira l'arxiu 'app/admin/dashboard.rb' per afegir seccions al tauler"
7
4
  view: "Mostra"
8
5
  edit: "Edita"
9
6
  delete: "Elimina"
@@ -28,7 +25,6 @@ ca:
28
25
  "yes": "Sí"
29
26
  "no": "No"
30
27
  "unset": "No"
31
- main_content: "Implementa %{model}#main_content per mostrar contingut."
32
28
  logout: "Desconnecta't"
33
29
  powered_by: "Powered by %{active_admin} %{version}"
34
30
  sidebars:
@@ -46,8 +42,6 @@ ca:
46
42
  blank_slate:
47
43
  content: "Encara no hi ha cap %{resource_name}."
48
44
  link: "Crea'n un/a"
49
- dropdown_actions:
50
- button_label: "accions"
51
45
  batch_actions:
52
46
  button_label: "les accions per lots"
53
47
  default_confirmation: "¿Esteu segur que voleu fer-ho?"
@@ -93,6 +87,3 @@ ca:
93
87
  message: "No esta autoritzat a realitzar aquesta acció."
94
88
  index_list:
95
89
  table: "Taula"
96
- block: "Llista"
97
- grid: "Graella"
98
- blog: "Bloc"
@@ -1,9 +1,6 @@
1
1
  cs:
2
2
  active_admin:
3
3
  dashboard: Úvod
4
- dashboard_welcome:
5
- welcome: "Vítejte v Active Admin. Toto je nástěnka."
6
- call_to_action: "Pro přidání sekcí na nástěnku se podívejte do souboru 'app/admin/dashboard.rb'"
7
4
  view: "Zobrazit"
8
5
  edit: "Upravit"
9
6
  delete: "Smazat"
@@ -28,7 +25,6 @@ cs:
28
25
  "yes": "Ano"
29
26
  "no": "Ne"
30
27
  "unset": "Ne"
31
- main_content: "Implementujte prosím %{model}#main_content pro zobrazení obsahu."
32
28
  logout: "Odhlásit"
33
29
  powered_by: "%{active_admin} %{version}"
34
30
  sidebars:
@@ -47,8 +43,6 @@ cs:
47
43
  blank_slate:
48
44
  content: "Zatím zde není žádný obsah."
49
45
  link: "Vytvořit"
50
- dropdown_actions:
51
- button_label: "Akce"
52
46
  batch_actions:
53
47
  button_label: "Hromadné akce"
54
48
  default_confirmation: "Jste si jisti, že chcete provést?"
@@ -97,6 +91,3 @@ cs:
97
91
  message: "Nemáte oprávnění k provedení této akce."
98
92
  index_list:
99
93
  table: "Tabulka"
100
- block: "Seznam"
101
- grid: "Tabulka"
102
- blog: "Blog"
@@ -1,9 +1,6 @@
1
1
  da:
2
2
  active_admin:
3
3
  dashboard: "Kontrolpanel"
4
- dashboard_welcome:
5
- welcome: "Velkommen til Active Admin. Dette er standardoversigtssiden."
6
- call_to_action: "Rediger 'app/admin/dashboard.rb' for at tilføje nye elementer til oversigtssiden."
7
4
  view: "Vis"
8
5
  edit: "Rediger"
9
6
  delete: "Slet"
@@ -26,15 +23,11 @@ da:
26
23
  filter: "Filtrer"
27
24
  clear: "Ryd filtre"
28
25
  search_status:
29
- headline: "Søgestatus:"
30
- current_scope: "Perspektiv:"
31
- current_filters: "Valgte filtre:"
32
26
  no_current_filters: "Ingen"
33
27
  status_tag:
34
28
  "yes": "Ja"
35
29
  "no": "Nej"
36
30
  "unset": "Nej"
37
- main_content: "Implementer venligst %{model}#main_content for at vise noget indhold."
38
31
  logout: "Log ud"
39
32
  powered_by: "Powered by %{active_admin} %{version}"
40
33
  sidebars:
@@ -54,8 +47,6 @@ da:
54
47
  blank_slate:
55
48
  content: "Der er ingen %{resource_name} endnu."
56
49
  link: "Opret"
57
- dropdown_actions:
58
- button_label: "Handlinger"
59
50
  batch_actions:
60
51
  button_label: "Batch Handlinger"
61
52
  default_confirmation: "Er du sikker på du vil gøre dette?"
@@ -117,14 +108,7 @@ da:
117
108
  sign_in_with_omniauth_provider: "Log ind med %{provider}"
118
109
  resend_unlock_instructions: "Send oplåsningsinstruktioner igen"
119
110
  resend_confirmation_instructions: "Send oplåsningsinstruktioner igen"
120
- unsupported_browser:
121
- headline: "Vær venligst opmærksom på, at ActiveAdmin ikke længere understøtter Internet Explorer version 8 eller tidligere."
122
- recommendation: "Vi anbefaler at du opgraderer til den nyeste <a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, eller <a href=\"https://mozilla.org/firefox/\">Firefox</a>."
123
- turn_off_compatibility_view: "Hvis du bruger IE 9 eller senere, så vær sikker på, at du <a href=\"https://support.microsoft.com/da-dk/help/17471\">slår \"Compatibility View\" fra</a>."
124
111
  access_denied:
125
112
  message: "Du har ikke rettigheder til at udføre denne handling."
126
113
  index_list:
127
114
  table: "Tabel"
128
- block: "Liste"
129
- grid: "Gitter"
130
- blog: "Blog"
@@ -1,9 +1,6 @@
1
1
  "de-CH":
2
2
  active_admin:
3
3
  dashboard: Übersicht
4
- dashboard_welcome:
5
- welcome: "Willkommen in Active Admin. Dies ist die Standard-Übersichtsseite."
6
- call_to_action: "Siehe 'app/admin/dashboards.rb', um Übersichts-Bereiche hinzuzufügen."
7
4
  view: "Anzeigen"
8
5
  edit: "Bearbeiten"
9
6
  delete: "Löschen"
@@ -28,7 +25,6 @@
28
25
  "yes": "Ja"
29
26
  "no": "Nicht"
30
27
  "unset": "Nicht"
31
- main_content: "Bitte implementieren Sie %{model}#main_content, um Inhalte anzuzeigen."
32
28
  logout: "Abmelden"
33
29
  powered_by: "Powered by %{active_admin} %{version}"
34
30
  sidebars:
@@ -46,8 +42,6 @@
46
42
  blank_slate:
47
43
  content: "Es gibt noch keine %{resource_name}."
48
44
  link: "Erstellen"
49
- dropdown_actions:
50
- button_label: "Aktionen"
51
45
  batch_actions:
52
46
  button_label: "Stapelverarbeitung"
53
47
  default_confirmation: "Bist du sicher, dass Sie dies tun wollen?"
@@ -88,7 +82,3 @@
88
82
  sign_in_with_omniauth_provider: "Anmeldung mit %{provider}"
89
83
  resend_unlock_instructions: "Entsperrungsanweisung erneut senden"
90
84
  resend_confirmation_instructions: "Bestätigungsanweisung erneut senden"
91
- unsupported_browser:
92
- headline: "ActiveAdmin unterstützt nicht länger den Internet Explorer in Version 8 oder niedriger."
93
- recommendation: "Wir empfehlen die Nutzung von <a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, oder <a href=\"https://mozilla.org/firefox/\">Firefox</a>."
94
- turn_off_compatibility_view: "Wenn sie IE 9 oder neuer benutzen, stellen sie sicher das sie den <a href=\"https://support.microsoft.com/de-ch/help/17471\">\"Kompatibilitätsansicht\" ausgeschaltet</a> haben."
@@ -17,9 +17,6 @@ de:
17
17
  updated_at: "Aktualisiert"
18
18
  active_admin:
19
19
  dashboard: Übersicht
20
- dashboard_welcome:
21
- welcome: "Willkommen in Active Admin. Dies ist die Standard-Übersichtsseite."
22
- call_to_action: "Siehe 'app/admin/dashboard.rb', um Übersichts-Bereiche hinzuzufügen."
23
20
  view: "Anzeigen"
24
21
  edit: "Bearbeiten"
25
22
  delete: "Löschen"
@@ -48,15 +45,11 @@ de:
48
45
  scopes:
49
46
  all: "Alle"
50
47
  search_status:
51
- headline: "Filter"
52
- current_scope: "Anwendungsbereich:"
53
- current_filters: "Aktuelle Filter:"
54
48
  no_current_filters: "Keine"
55
49
  status_tag:
56
50
  "yes": "Ja"
57
51
  "no": "Nein"
58
52
  "unset": "Nein"
59
- main_content: "Bitte implementieren Sie %{model}#main_content, um Inhalte anzuzeigen."
60
53
  logout: "Abmelden"
61
54
  powered_by: "Powered by %{active_admin} %{version}"
62
55
  sidebars:
@@ -76,8 +69,6 @@ de:
76
69
  blank_slate:
77
70
  content: "Es gibt noch keine %{resource_name}."
78
71
  link: "Erstellen"
79
- dropdown_actions:
80
- button_label: "Aktionen"
81
72
  batch_actions:
82
73
  button_label: "Stapelverarbeitung"
83
74
  default_confirmation: "Bist du sicher, dass Sie dies tun wollen?"
@@ -141,14 +132,7 @@ de:
141
132
  sign_in_with_omniauth_provider: "Anmeldung mit %{provider}"
142
133
  resend_unlock_instructions: "Entsperrungsanweisung erneut senden"
143
134
  resend_confirmation_instructions: "Bestätigungsanweisung erneut senden"
144
- unsupported_browser:
145
- headline: "ActiveAdmin unterstützt nicht länger den Internet Explorer in Version 8 oder niedriger."
146
- recommendation: "Wir empfehlen die Nutzung von <a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, oder <a href=\"https://mozilla.org/firefox/\">Firefox</a>."
147
- turn_off_compatibility_view: "Wenn sie IE 9 oder neuer benutzen, stellen sie sicher das sie den <a href=\"https://support.microsoft.com/de-de/help/17471\">\"Kompatibilitätsansicht\" ausgeschaltet</a> haben."
148
135
  access_denied:
149
136
  message: "Sie haben nicht die Berechtigung um diese Aktion auszuführen."
150
137
  index_list:
151
138
  table: "Tabelle"
152
- block: "Liste"
153
- grid: "Gitter"
154
- blog: "Blog"