decidim-admin 0.27.9 → 0.28.0.rc4

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

Potentially problematic release.


This version of decidim-admin might be problematic. Click here for more details.

Files changed (513) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/app/cells/decidim/admin/attachments_privacy_warning/show.erb +1 -1
  4. data/app/cells/decidim/admin/content_block/show.erb +11 -6
  5. data/app/cells/decidim/admin/content_block_cell.rb +21 -7
  6. data/app/cells/decidim/admin/homepage_content_block_cell.rb +19 -0
  7. data/app/cells/decidim/admin/results_per_page/show.erb +1 -1
  8. data/app/cells/decidim/admin/static_page_content_block_cell.rb +21 -0
  9. data/app/commands/decidim/admin/block_user.rb +15 -11
  10. data/app/commands/decidim/admin/close_session_managed_user.rb +1 -1
  11. data/app/commands/decidim/admin/content_blocks/create_content_block.rb +50 -0
  12. data/app/commands/decidim/admin/content_blocks/destroy_content_block.rb +36 -0
  13. data/app/commands/decidim/admin/content_blocks/reorder_content_blocks.rb +88 -0
  14. data/app/commands/decidim/admin/content_blocks/update_content_block.rb +81 -0
  15. data/app/commands/decidim/admin/create_area.rb +1 -1
  16. data/app/commands/decidim/admin/create_area_type.rb +1 -1
  17. data/app/commands/decidim/admin/create_attachment.rb +1 -1
  18. data/app/commands/decidim/admin/create_attachment_collection.rb +1 -1
  19. data/app/commands/decidim/admin/create_category.rb +1 -1
  20. data/app/commands/decidim/admin/create_newsletter.rb +1 -1
  21. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +3 -3
  22. data/app/commands/decidim/admin/create_scope.rb +1 -1
  23. data/app/commands/decidim/admin/create_scope_type.rb +1 -1
  24. data/app/commands/decidim/admin/create_static_page.rb +1 -1
  25. data/app/commands/decidim/admin/create_static_page_topic.rb +1 -1
  26. data/app/commands/decidim/admin/destroy_area.rb +1 -1
  27. data/app/commands/decidim/admin/destroy_category.rb +2 -2
  28. data/app/commands/decidim/admin/destroy_participatory_space_private_user.rb +1 -1
  29. data/app/commands/decidim/admin/destroy_scope.rb +1 -1
  30. data/app/commands/decidim/admin/destroy_share_token.rb +1 -1
  31. data/app/commands/decidim/admin/destroy_static_page_topic.rb +1 -1
  32. data/app/commands/decidim/admin/hide_resource.rb +9 -35
  33. data/app/commands/decidim/admin/impersonate_user.rb +1 -1
  34. data/app/commands/decidim/admin/invite_admin.rb +1 -1
  35. data/app/commands/decidim/admin/participatory_space/create_admin.rb +132 -0
  36. data/app/commands/decidim/admin/participatory_space/destroy_admin.rb +61 -0
  37. data/app/commands/decidim/admin/participatory_space/publish.rb +41 -0
  38. data/app/commands/decidim/admin/participatory_space/unpublish.rb +41 -0
  39. data/app/commands/decidim/admin/participatory_space/update_admin.rb +72 -0
  40. data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +4 -6
  41. data/app/commands/decidim/admin/process_user_group_verification_csv.rb +4 -7
  42. data/app/commands/decidim/admin/promote_managed_user.rb +1 -1
  43. data/app/commands/decidim/admin/reject_user_group.rb +1 -1
  44. data/app/commands/decidim/admin/update_area.rb +1 -1
  45. data/app/commands/decidim/admin/update_area_type.rb +1 -1
  46. data/app/commands/decidim/admin/update_attachment.rb +1 -1
  47. data/app/commands/decidim/admin/update_attachment_collection.rb +1 -1
  48. data/app/commands/decidim/admin/update_category.rb +1 -1
  49. data/app/commands/decidim/admin/update_component_permissions.rb +2 -2
  50. data/app/commands/decidim/admin/update_newsletter.rb +1 -1
  51. data/app/commands/decidim/admin/update_organization.rb +2 -2
  52. data/app/commands/decidim/admin/update_organization_appearance.rb +5 -7
  53. data/app/commands/decidim/admin/update_organization_tos_version.rb +3 -3
  54. data/app/commands/decidim/admin/update_resource_permissions.rb +1 -1
  55. data/app/commands/decidim/admin/update_scope.rb +1 -1
  56. data/app/commands/decidim/admin/update_scope_type.rb +1 -1
  57. data/app/commands/decidim/admin/update_static_page.rb +1 -1
  58. data/app/commands/decidim/admin/update_static_page_topic.rb +1 -1
  59. data/app/commands/decidim/admin/update_user_groups.rb +1 -1
  60. data/app/controllers/concerns/decidim/admin/content_blocks/landing_page.rb +130 -0
  61. data/app/controllers/concerns/decidim/admin/content_blocks/landing_page_content_blocks.rb +158 -0
  62. data/app/controllers/concerns/decidim/admin/filterable.rb +3 -3
  63. data/app/controllers/concerns/decidim/admin/global_moderation_context.rb +1 -20
  64. data/app/controllers/concerns/decidim/admin/logs/filterable.rb +31 -0
  65. data/app/controllers/concerns/decidim/admin/participatory_space_admin_breadcrumb.rb +38 -0
  66. data/app/controllers/concerns/decidim/admin/participatory_space_admin_context.rb +3 -2
  67. data/app/controllers/decidim/admin/admin_terms_controller.rb +3 -3
  68. data/app/controllers/decidim/admin/application_controller.rb +6 -2
  69. data/app/controllers/decidim/admin/area_types_controller.rb +10 -3
  70. data/app/controllers/decidim/admin/areas_controller.rb +10 -3
  71. data/app/controllers/decidim/admin/authorization_workflows_controller.rb +1 -3
  72. data/app/controllers/decidim/admin/block_user_controller.rb +4 -3
  73. data/app/controllers/decidim/admin/categories_controller.rb +20 -12
  74. data/app/controllers/decidim/admin/component_permissions_controller.rb +2 -2
  75. data/app/controllers/decidim/admin/components/base_controller.rb +16 -1
  76. data/app/controllers/decidim/admin/components_controller.rb +13 -1
  77. data/app/controllers/decidim/admin/concerns/has_attachment_collections.rb +4 -10
  78. data/app/controllers/decidim/admin/concerns/has_attachments.rb +10 -16
  79. data/app/controllers/decidim/admin/concerns/has_breadcrumb_items.rb +27 -0
  80. data/app/controllers/decidim/admin/concerns/has_content_blocks.rb +23 -0
  81. data/app/controllers/decidim/admin/concerns/has_private_users.rb +4 -4
  82. data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +2 -2
  83. data/app/controllers/decidim/admin/concerns/has_tabbed_menu.rb +21 -0
  84. data/app/controllers/decidim/admin/conflicts_controller.rb +3 -9
  85. data/app/controllers/decidim/admin/dashboard_controller.rb +8 -3
  86. data/app/controllers/decidim/admin/exports_controller.rb +21 -4
  87. data/app/controllers/decidim/admin/help_sections_controller.rb +3 -1
  88. data/app/controllers/decidim/admin/impersonatable_users_controller.rb +3 -1
  89. data/app/controllers/decidim/admin/impersonations_controller.rb +8 -9
  90. data/app/controllers/decidim/admin/imports_controller.rb +24 -6
  91. data/app/controllers/decidim/admin/logs_controller.rb +20 -8
  92. data/app/controllers/decidim/admin/managed_users/impersonation_logs_controller.rb +1 -3
  93. data/app/controllers/decidim/admin/managed_users/promotions_controller.rb +2 -2
  94. data/app/controllers/decidim/admin/metrics_controller.rb +1 -1
  95. data/app/controllers/decidim/admin/moderated_users_controller.rb +7 -4
  96. data/app/controllers/decidim/admin/newsletters_controller.rb +16 -7
  97. data/app/controllers/decidim/admin/officializations_controller.rb +3 -3
  98. data/app/controllers/decidim/admin/organization_appearance_controller.rb +3 -0
  99. data/app/controllers/decidim/admin/organization_controller.rb +6 -7
  100. data/app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb +2 -0
  101. data/app/controllers/decidim/admin/organization_homepage_content_blocks_controller.rb +12 -41
  102. data/app/controllers/decidim/admin/organization_homepage_controller.rb +15 -33
  103. data/app/controllers/decidim/admin/participatory_space/user_role_controller.rb +119 -0
  104. data/app/controllers/decidim/admin/reminders_controller.rb +1 -1
  105. data/app/controllers/decidim/admin/resource_permissions_controller.rb +1 -1
  106. data/app/controllers/decidim/admin/scope_types_controller.rb +10 -3
  107. data/app/controllers/decidim/admin/scopes_controller.rb +10 -3
  108. data/app/controllers/decidim/admin/share_tokens_controller.rb +1 -1
  109. data/app/controllers/decidim/admin/space_publications_controller.rb +53 -0
  110. data/app/controllers/decidim/admin/static_page_content_blocks_controller.rb +40 -0
  111. data/app/controllers/decidim/admin/static_page_topics_controller.rb +18 -7
  112. data/app/controllers/decidim/admin/static_pages_controller.rb +33 -6
  113. data/app/controllers/decidim/admin/users_controller.rb +2 -2
  114. data/app/events/decidim/attachment_created_event.rb +1 -1
  115. data/app/events/decidim/component_published_event.rb +1 -12
  116. data/app/events/decidim/resource_hidden_event.rb +2 -6
  117. data/app/forms/decidim/admin/area_form.rb +1 -1
  118. data/app/forms/decidim/admin/block_user_form.rb +1 -0
  119. data/app/forms/decidim/admin/category_form.rb +1 -1
  120. data/app/forms/decidim/admin/managed_user_promotion_form.rb +1 -1
  121. data/app/forms/decidim/admin/organization_appearance_form.rb +7 -12
  122. data/app/forms/decidim/admin/organization_form.rb +2 -2
  123. data/app/forms/decidim/admin/participatory_space_admin_user_form.rb +16 -0
  124. data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +3 -5
  125. data/app/forms/decidim/admin/scope_form.rb +1 -1
  126. data/app/forms/decidim/admin/selective_newsletter_form.rb +1 -1
  127. data/app/forms/decidim/admin/static_page_form.rb +3 -3
  128. data/app/helpers/decidim/admin/admin_terms_helper.rb +10 -10
  129. data/app/helpers/decidim/admin/application_helper.rb +1 -14
  130. data/app/helpers/decidim/admin/attributes_display_helper.rb +1 -1
  131. data/app/helpers/decidim/admin/bulk_actions_helper.rb +2 -2
  132. data/app/helpers/decidim/admin/dashboard_helper.rb +3 -3
  133. data/app/helpers/decidim/admin/exports_helper.rb +26 -2
  134. data/app/helpers/decidim/admin/filterable_helper.rb +2 -2
  135. data/app/helpers/decidim/admin/icon_link_helper.rb +12 -11
  136. data/app/helpers/decidim/admin/icon_with_tooltip_helper.rb +22 -0
  137. data/app/helpers/decidim/admin/imports_helper.rb +1 -1
  138. data/app/helpers/decidim/admin/logs_helper.rb +18 -0
  139. data/app/helpers/decidim/admin/menu_helper.rb +61 -1
  140. data/app/helpers/decidim/admin/moderations/reports_helper.rb +3 -2
  141. data/app/helpers/decidim/admin/newsletters_helper.rb +4 -4
  142. data/app/helpers/decidim/admin/paginable/per_page_helper.rb +1 -1
  143. data/app/helpers/decidim/admin/resource_permissions_helper.rb +2 -2
  144. data/app/helpers/decidim/admin/search_form_helper.rb +19 -0
  145. data/app/helpers/decidim/admin/settings_helper.rb +9 -8
  146. data/app/jobs/decidim/admin/application_job.rb +1 -1
  147. data/app/jobs/decidim/admin/expire_impersonation_job.rb +1 -1
  148. data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +2 -2
  149. data/app/jobs/decidim/admin/newsletter_job.rb +1 -1
  150. data/app/mailers/decidim/admin/application_mailer.rb +12 -0
  151. data/app/packs/entrypoints/decidim_admin.js +2 -23
  152. data/app/packs/entrypoints/decidim_admin.scss +1 -1
  153. data/app/packs/src/decidim/admin/application.js +0 -12
  154. data/app/packs/src/decidim/admin/officializations.js +21 -3
  155. data/app/packs/src/decidim/admin/participatory_space_search.js +268 -0
  156. data/app/packs/src/decidim/admin/scope_picker_enabler.component.js +2 -2
  157. data/app/packs/src/decidim/admin/sortable.js +0 -2
  158. data/app/packs/src/decidim/admin/tab_focus.js +3 -3
  159. data/app/packs/src/decidim/admin/toggle_nav.js +1 -1
  160. data/app/packs/src/decidim/admin/triadic_color_picker.js +128 -0
  161. data/app/packs/stylesheets/decidim/admin/_bulk_actions.scss +16 -0
  162. data/app/packs/stylesheets/decidim/admin/_cards.scss +171 -0
  163. data/app/packs/stylesheets/decidim/admin/_color_picker.scss +61 -0
  164. data/app/packs/stylesheets/decidim/admin/_component-show.scss +95 -0
  165. data/app/packs/stylesheets/decidim/admin/_data_picker.scss +55 -0
  166. data/app/packs/stylesheets/decidim/admin/_dropdown.scss +35 -0
  167. data/app/packs/stylesheets/decidim/admin/_filters.scss +94 -0
  168. data/app/packs/stylesheets/decidim/admin/_forms.scss +81 -0
  169. data/app/packs/stylesheets/decidim/admin/_item_edit.scss +122 -0
  170. data/app/packs/stylesheets/decidim/admin/_item_show.scss +69 -0
  171. data/app/packs/stylesheets/decidim/admin/_layout.scss +79 -0
  172. data/app/packs/stylesheets/decidim/admin/_legacy_foundation.scss +482 -0
  173. data/app/packs/stylesheets/decidim/admin/_logs.scss +80 -0
  174. data/app/packs/stylesheets/decidim/admin/_main-nav.scss +93 -0
  175. data/app/packs/stylesheets/decidim/admin/_minimap.scss +59 -0
  176. data/app/packs/stylesheets/decidim/admin/_moderations.scss +36 -0
  177. data/app/packs/stylesheets/decidim/admin/_secondary-nav.scss +111 -0
  178. data/app/packs/stylesheets/decidim/admin/_show_email.scss +19 -0
  179. data/app/packs/stylesheets/decidim/admin/_sidebar-menu.scss +66 -0
  180. data/app/packs/stylesheets/decidim/admin/_table-list.scss +155 -0
  181. data/app/packs/stylesheets/decidim/admin/_tabs.scss +74 -0
  182. data/app/packs/stylesheets/decidim/admin/_title-bar.scss +62 -0
  183. data/app/packs/stylesheets/decidim/admin/_user-login.scss +9 -0
  184. data/app/packs/stylesheets/decidim/admin/application.scss +37 -21
  185. data/app/permissions/decidim/admin/permissions.rb +2 -2
  186. data/app/presenters/decidim/admin/aside_menu_presenter.rb +25 -0
  187. data/app/presenters/decidim/admin/dashboard_metric_charts_presenter.rb +0 -26
  188. data/app/presenters/decidim/admin/secondary_menu_presenter.rb +5 -9
  189. data/app/presenters/decidim/admin/simple_menu_presenter.rb +2 -2
  190. data/app/queries/decidim/admin/active_users_counter.rb +1 -1
  191. data/app/queries/decidim/admin/invites.rb +58 -0
  192. data/app/queries/decidim/admin/moderation_stats.rb +53 -0
  193. data/app/views/decidim/admin/admin_terms/show.html.erb +15 -10
  194. data/app/views/decidim/admin/area_types/_form.html.erb +11 -6
  195. data/app/views/decidim/admin/area_types/edit.html.erb +14 -12
  196. data/app/views/decidim/admin/area_types/index.html.erb +35 -33
  197. data/app/views/decidim/admin/area_types/new.html.erb +14 -12
  198. data/app/views/decidim/admin/areas/_form.html.erb +12 -8
  199. data/app/views/decidim/admin/areas/edit.html.erb +14 -12
  200. data/app/views/decidim/admin/areas/index.html.erb +40 -38
  201. data/app/views/decidim/admin/areas/new.html.erb +14 -12
  202. data/app/views/decidim/admin/attachment_collections/_form.html.erb +12 -14
  203. data/app/views/decidim/admin/attachment_collections/edit.html.erb +17 -5
  204. data/app/views/decidim/admin/attachment_collections/index.html.erb +35 -40
  205. data/app/views/decidim/admin/attachment_collections/new.html.erb +16 -5
  206. data/app/views/decidim/admin/attachments/_form.html.erb +18 -22
  207. data/app/views/decidim/admin/attachments/edit.html.erb +17 -5
  208. data/app/views/decidim/admin/attachments/index.html.erb +45 -48
  209. data/app/views/decidim/admin/attachments/new.html.erb +16 -5
  210. data/app/views/decidim/admin/authorization_workflows/index.html.erb +7 -0
  211. data/app/views/decidim/admin/block_user/new.html.erb +39 -18
  212. data/app/views/decidim/admin/categories/_form.html.erb +13 -15
  213. data/app/views/decidim/admin/categories/edit.html.erb +16 -5
  214. data/app/views/decidim/admin/categories/index.html.erb +44 -55
  215. data/app/views/decidim/admin/categories/new.html.erb +16 -5
  216. data/app/views/decidim/admin/components/_actions.html.erb +17 -16
  217. data/app/views/decidim/admin/components/_component.html.erb +5 -3
  218. data/app/views/decidim/admin/components/_form.html.erb +87 -47
  219. data/app/views/decidim/admin/components/_resource_action.html.erb +9 -0
  220. data/app/views/decidim/admin/components/_settings_fields.html.erb +11 -8
  221. data/app/views/decidim/admin/components/edit.html.erb +16 -5
  222. data/app/views/decidim/admin/components/index.html.erb +23 -18
  223. data/app/views/decidim/admin/components/new.html.erb +16 -5
  224. data/app/views/decidim/admin/conflicts/edit.html.erb +24 -26
  225. data/app/views/decidim/admin/conflicts/index.html.erb +23 -26
  226. data/app/views/decidim/admin/dashboard/_pending_moderations.html.erb +12 -0
  227. data/app/views/decidim/admin/dashboard/show.html.erb +26 -20
  228. data/app/views/decidim/admin/devise/mailers/password_change.html.erb +1 -1
  229. data/app/views/decidim/admin/devise/mailers/reset_password_instructions.html.erb +2 -2
  230. data/app/views/decidim/admin/exports/_dropdown.html.erb +11 -4
  231. data/app/views/decidim/admin/help_sections/_form.html.erb +34 -18
  232. data/app/views/decidim/admin/impersonatable_users/index.html.erb +46 -53
  233. data/app/views/decidim/admin/impersonations/_form.html.erb +53 -35
  234. data/app/views/decidim/admin/impersonations/new.html.erb +21 -19
  235. data/app/views/decidim/admin/imports/_dropdown.html.erb +5 -2
  236. data/app/views/decidim/admin/imports/new.html.erb +54 -43
  237. data/app/views/decidim/admin/logs/_filters.html.erb +37 -0
  238. data/app/views/decidim/admin/logs/_logs_list.html.erb +4 -3
  239. data/app/views/decidim/admin/logs/index.html.erb +3 -6
  240. data/app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb +27 -28
  241. data/app/views/decidim/admin/managed_users/promotions/_form.html.erb +8 -2
  242. data/app/views/decidim/admin/managed_users/promotions/new.html.erb +17 -15
  243. data/app/views/decidim/admin/metrics/_metrics.html.erb +1 -6
  244. data/app/views/decidim/admin/metrics/index.html.erb +1 -1
  245. data/app/views/decidim/admin/moderated_users/_report.html.erb +1 -5
  246. data/app/views/decidim/admin/moderated_users/index.html.erb +58 -75
  247. data/app/views/decidim/admin/moderations/index.html.erb +91 -101
  248. data/app/views/decidim/admin/moderations/reports/index.html.erb +91 -92
  249. data/app/views/decidim/admin/moderations/reports/show.html.erb +51 -49
  250. data/app/views/decidim/admin/newsletter_templates/index.html.erb +12 -11
  251. data/app/views/decidim/admin/newsletter_templates/show.html.erb +8 -6
  252. data/app/views/decidim/admin/newsletters/_form.html.erb +10 -4
  253. data/app/views/decidim/admin/newsletters/edit.html.erb +21 -12
  254. data/app/views/decidim/admin/newsletters/index.html.erb +57 -57
  255. data/app/views/decidim/admin/newsletters/new.html.erb +20 -12
  256. data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +53 -55
  257. data/app/views/decidim/admin/newsletters/show.html.erb +24 -17
  258. data/app/views/decidim/admin/officializations/_show_email_modal.html.erb +20 -21
  259. data/app/views/decidim/admin/officializations/index.html.erb +55 -62
  260. data/app/views/decidim/admin/officializations/new.html.erb +24 -16
  261. data/app/views/decidim/admin/officializations/show_email.html.erb +0 -1
  262. data/app/views/decidim/admin/organization/_form.html.erb +76 -90
  263. data/app/views/decidim/admin/organization/edit.html.erb +19 -11
  264. data/app/views/decidim/admin/organization_appearance/_form.html.erb +72 -57
  265. data/app/views/decidim/admin/organization_appearance/edit.html.erb +17 -6
  266. data/app/views/decidim/admin/organization_appearance/form/_colors.html.erb +63 -24
  267. data/app/views/decidim/admin/organization_appearance/form/_header_snippets.html.erb +17 -0
  268. data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +39 -40
  269. data/app/views/decidim/admin/organization_appearance/form/_minimap.html.erb +5 -14
  270. data/app/views/decidim/admin/organization_external_domain_whitelist/_external_domain.html.erb +18 -13
  271. data/app/views/decidim/admin/organization_external_domain_whitelist/_form.html.erb +8 -10
  272. data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +17 -6
  273. data/app/views/decidim/admin/participatory_space_private_users/_form.html.erb +10 -14
  274. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +59 -60
  275. data/app/views/decidim/admin/participatory_space_private_users/new.html.erb +17 -5
  276. data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +28 -11
  277. data/app/views/decidim/admin/reminders/new.html.erb +18 -16
  278. data/app/views/decidim/admin/resource_permissions/edit.html.erb +46 -47
  279. data/app/views/decidim/admin/scope_types/_form.html.erb +9 -6
  280. data/app/views/decidim/admin/scope_types/edit.html.erb +17 -11
  281. data/app/views/decidim/admin/scope_types/index.html.erb +40 -34
  282. data/app/views/decidim/admin/scope_types/new.html.erb +17 -11
  283. data/app/views/decidim/admin/scopes/_form.html.erb +11 -9
  284. data/app/views/decidim/admin/scopes/edit.html.erb +17 -11
  285. data/app/views/decidim/admin/scopes/index.html.erb +39 -41
  286. data/app/views/decidim/admin/scopes/new.html.erb +17 -11
  287. data/app/views/decidim/admin/share_tokens/_share_tokens.html.erb +3 -15
  288. data/app/views/decidim/admin/shared/_admin_confirm_modal.html.erb +18 -0
  289. data/app/views/decidim/admin/shared/_filters.html.erb +6 -10
  290. data/app/views/decidim/admin/shared/_gallery.html.erb +8 -19
  291. data/app/views/decidim/admin/shared/_js-callout.html.erb +4 -2
  292. data/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb +68 -0
  293. data/app/views/decidim/admin/shared/landing_page/edit.html.erb +1 -47
  294. data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +24 -14
  295. data/app/views/decidim/admin/static_page_topics/_form.html.erb +2 -2
  296. data/app/views/decidim/admin/static_page_topics/edit.html.erb +21 -11
  297. data/app/views/decidim/admin/static_page_topics/index.html.erb +41 -0
  298. data/app/views/decidim/admin/static_page_topics/new.html.erb +21 -11
  299. data/app/views/decidim/admin/static_pages/_form.html.erb +41 -26
  300. data/app/views/decidim/admin/static_pages/_form_notable_changes.html.erb +2 -3
  301. data/app/views/decidim/admin/static_pages/_topic.html.erb +40 -44
  302. data/app/views/decidim/admin/static_pages/edit.html.erb +22 -12
  303. data/app/views/decidim/admin/static_pages/index.html.erb +14 -2
  304. data/app/views/decidim/admin/static_pages/new.html.erb +15 -11
  305. data/app/views/decidim/admin/user_groups/index.html.erb +58 -58
  306. data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +28 -17
  307. data/app/views/decidim/admin/users/_form.html.erb +14 -8
  308. data/app/views/decidim/admin/users/index.html.erb +52 -54
  309. data/app/views/decidim/admin/users/new.html.erb +15 -12
  310. data/app/views/layouts/decidim/admin/_admin_timeout_modal.html.erb +24 -0
  311. data/app/views/layouts/decidim/admin/_application.html.erb +50 -12
  312. data/app/views/layouts/decidim/admin/_breadcrumb.html.erb +26 -0
  313. data/app/views/layouts/decidim/admin/_callouts_full.html.erb +2 -13
  314. data/app/views/layouts/decidim/admin/_header.html.erb +2 -6
  315. data/app/views/layouts/decidim/admin/_js_configuration.html.erb +3 -6
  316. data/app/views/layouts/decidim/admin/_sidebar_menu.html.erb +24 -0
  317. data/app/views/layouts/decidim/admin/_title_bar.html.erb +36 -37
  318. data/app/views/layouts/decidim/admin/_title_bar_responsive.html.erb +46 -0
  319. data/app/views/layouts/decidim/admin/global_moderations.html.erb +1 -3
  320. data/app/views/layouts/decidim/admin/newsletters.erb +0 -11
  321. data/app/views/layouts/decidim/admin/settings.html.erb +2 -3
  322. data/app/views/layouts/decidim/admin/users.html.erb +1 -3
  323. data/config/locales/ar-SA.yml +0 -3
  324. data/config/locales/ar.yml +9 -83
  325. data/config/locales/bg.yml +3 -990
  326. data/config/locales/ca.yml +121 -89
  327. data/config/locales/cs-CZ.yml +0 -3
  328. data/config/locales/cs.yml +120 -86
  329. data/config/locales/de.yml +123 -91
  330. data/config/locales/el.yml +90 -78
  331. data/config/locales/en.yml +123 -91
  332. data/config/locales/eo.yml +0 -2
  333. data/config/locales/es-MX.yml +121 -89
  334. data/config/locales/es-PY.yml +121 -89
  335. data/config/locales/es.yml +124 -92
  336. data/config/locales/eu.yml +126 -94
  337. data/config/locales/fi-pl.yml +0 -3
  338. data/config/locales/fi-plain.yml +112 -80
  339. data/config/locales/fi.yml +115 -83
  340. data/config/locales/fr-CA.yml +119 -87
  341. data/config/locales/fr-LU.yml +0 -3
  342. data/config/locales/fr.yml +119 -87
  343. data/config/locales/ga-IE.yml +4 -12
  344. data/config/locales/gl.yml +7 -99
  345. data/config/locales/hu.yml +93 -98
  346. data/config/locales/id-ID.yml +0 -64
  347. data/config/locales/is-IS.yml +0 -53
  348. data/config/locales/it.yml +9 -103
  349. data/config/locales/ja.yml +117 -88
  350. data/config/locales/kaa.yml +6 -13
  351. data/config/locales/ko.yml +0 -720
  352. data/config/locales/lb-LU.yml +0 -3
  353. data/config/locales/lb.yml +9 -104
  354. data/config/locales/lt.yml +90 -72
  355. data/config/locales/lv.yml +0 -79
  356. data/config/locales/nl.yml +14 -109
  357. data/config/locales/no.yml +8 -115
  358. data/config/locales/pl.yml +7 -158
  359. data/config/locales/pt-BR.yml +87 -106
  360. data/config/locales/pt.yml +9 -104
  361. data/config/locales/ro-RO.yml +86 -85
  362. data/config/locales/ru.yml +0 -55
  363. data/config/locales/sk-SK.yml +3 -6
  364. data/config/locales/sk.yml +0 -76
  365. data/config/locales/sl.yml +0 -8
  366. data/config/locales/sq-AL.yml +4 -486
  367. data/config/locales/sr-CS.yml +0 -60
  368. data/config/locales/sv.yml +99 -192
  369. data/config/locales/th-TH.yml +0 -100
  370. data/config/locales/tr-TR.yml +1 -89
  371. data/config/locales/uk.yml +0 -48
  372. data/config/locales/zh-CN.yml +0 -79
  373. data/config/locales/zh-TW.yml +74 -72
  374. data/config/routes.rb +12 -4
  375. data/lib/decidim/admin/components.rb +1 -1
  376. data/lib/decidim/admin/custom_import.rb +29 -0
  377. data/lib/decidim/admin/engine.rb +54 -216
  378. data/lib/decidim/admin/import/importer.rb +3 -3
  379. data/lib/decidim/admin/import/importer_factory.rb +1 -1
  380. data/lib/decidim/admin/import/readers/base.rb +1 -1
  381. data/lib/decidim/admin/import/readers/csv.rb +2 -2
  382. data/lib/decidim/admin/import/verifier.rb +4 -4
  383. data/lib/decidim/admin/menu.rb +281 -0
  384. data/lib/decidim/admin/search_form_builder.rb +39 -0
  385. data/lib/decidim/admin/test/admin_participatory_space_access_examples.rb +3 -2
  386. data/lib/decidim/admin/test/commands/create_attachment_collection_examples.rb +3 -3
  387. data/lib/decidim/admin/test/commands/create_category_examples.rb +2 -2
  388. data/lib/decidim/admin/test/commands/destroy_category_examples.rb +4 -13
  389. data/lib/decidim/admin/test/commands/publish_participatory_space_examples.rb +102 -0
  390. data/lib/decidim/admin/test/commands/update_attachment_collection_examples.rb +4 -4
  391. data/lib/decidim/admin/test/commands/update_category_examples.rb +3 -3
  392. data/lib/decidim/admin/test/destroy_admin_examples.rb +39 -0
  393. data/lib/decidim/admin/test/filterable_examples.rb +8 -8
  394. data/lib/decidim/admin/test/filters_participatory_space_user_roles_examples.rb +12 -43
  395. data/lib/decidim/admin/test/filters_participatory_space_users_examples.rb +34 -43
  396. data/lib/decidim/admin/test/forms/attachment_collection_form_examples.rb +1 -1
  397. data/lib/decidim/admin/test/forms/attachment_form_examples.rb +1 -1
  398. data/lib/decidim/admin/test/forms/category_form_examples.rb +1 -1
  399. data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +21 -22
  400. data/lib/decidim/admin/test/manage_attachments_examples.rb +12 -12
  401. data/lib/decidim/admin/test/manage_categories_examples.rb +16 -19
  402. data/lib/decidim/admin/test/manage_component_permissions_examples.rb +24 -24
  403. data/lib/decidim/admin/test/manage_hide_content_examples.rb +59 -0
  404. data/lib/decidim/admin/test/manage_moderations_examples.rb +39 -21
  405. data/lib/decidim/admin/test/manage_paginated_collection_examples.rb +2 -2
  406. data/lib/decidim/admin/test/manage_participatory_space_publications_examples.rb +54 -0
  407. data/lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb +1 -1
  408. data/lib/decidim/admin/test.rb +4 -0
  409. data/lib/decidim/admin/version.rb +1 -1
  410. data/lib/decidim/admin.rb +2 -0
  411. metadata +92 -117
  412. data/app/commands/decidim/admin/create_participatory_space_admin_user_actions.rb +0 -94
  413. data/app/commands/decidim/admin/reorder_content_blocks.rb +0 -100
  414. data/app/commands/decidim/admin/update_content_block.rb +0 -79
  415. data/app/controllers/concerns/decidim/admin/landing_page.rb +0 -105
  416. data/app/controllers/concerns/decidim/admin/landing_page_content_blocks.rb +0 -118
  417. data/app/packs/images/decidim/admin/.keep +0 -0
  418. data/app/packs/stylesheets/decidim/admin/_decidim.scss +0 -23
  419. data/app/packs/stylesheets/decidim/admin/_variables.scss +0 -18
  420. data/app/packs/stylesheets/decidim/admin/bundle.scss +0 -2
  421. data/app/packs/stylesheets/decidim/admin/components/_accordion.scss +0 -41
  422. data/app/packs/stylesheets/decidim/admin/components/_dropdown-menu.scss +0 -3
  423. data/app/packs/stylesheets/decidim/admin/components/_sortable.scss +0 -5
  424. data/app/packs/stylesheets/decidim/admin/extra/_action-icon.scss +0 -32
  425. data/app/packs/stylesheets/decidim/admin/extra/_block_user.scss +0 -5
  426. data/app/packs/stylesheets/decidim/admin/extra/_cards.scss +0 -24
  427. data/app/packs/stylesheets/decidim/admin/extra/_categories.scss +0 -5
  428. data/app/packs/stylesheets/decidim/admin/extra/_dropdown_inverted.scss +0 -47
  429. data/app/packs/stylesheets/decidim/admin/extra/_editor.scss +0 -1
  430. data/app/packs/stylesheets/decidim/admin/extra/_email_preview.scss +0 -5
  431. data/app/packs/stylesheets/decidim/admin/extra/_label-required.scss +0 -3
  432. data/app/packs/stylesheets/decidim/admin/extra/_login.scss +0 -37
  433. data/app/packs/stylesheets/decidim/admin/extra/_logs.scss +0 -122
  434. data/app/packs/stylesheets/decidim/admin/extra/_newsletter-templates-gallery.scss +0 -3
  435. data/app/packs/stylesheets/decidim/admin/extra/_organization-appearance.scss +0 -141
  436. data/app/packs/stylesheets/decidim/admin/extra/_quill.scss +0 -12
  437. data/app/packs/stylesheets/decidim/admin/extra/_select_multiple.scss +0 -3
  438. data/app/packs/stylesheets/decidim/admin/extra/_show_email.scss +0 -31
  439. data/app/packs/stylesheets/decidim/admin/extra/_sort.scss +0 -13
  440. data/app/packs/stylesheets/decidim/admin/extra/_title_bar.scss +0 -80
  441. data/app/packs/stylesheets/decidim/admin/modules/_action-icon.scss +0 -30
  442. data/app/packs/stylesheets/decidim/admin/modules/_agenda.scss +0 -34
  443. data/app/packs/stylesheets/decidim/admin/modules/_autocomplete.scss +0 -5
  444. data/app/packs/stylesheets/decidim/admin/modules/_buttons.scss +0 -86
  445. data/app/packs/stylesheets/decidim/admin/modules/_callouts.scss +0 -45
  446. data/app/packs/stylesheets/decidim/admin/modules/_card-grid.scss +0 -25
  447. data/app/packs/stylesheets/decidim/admin/modules/_cards.scss +0 -126
  448. data/app/packs/stylesheets/decidim/admin/modules/_char-counter.scss +0 -22
  449. data/app/packs/stylesheets/decidim/admin/modules/_component-counter.scss +0 -26
  450. data/app/packs/stylesheets/decidim/admin/modules/_draggable-list.scss +0 -27
  451. data/app/packs/stylesheets/decidim/admin/modules/_dropdown.scss +0 -20
  452. data/app/packs/stylesheets/decidim/admin/modules/_filters.scss +0 -83
  453. data/app/packs/stylesheets/decidim/admin/modules/_forms.scss +0 -164
  454. data/app/packs/stylesheets/decidim/admin/modules/_icons.scss +0 -68
  455. data/app/packs/stylesheets/decidim/admin/modules/_layout.scss +0 -75
  456. data/app/packs/stylesheets/decidim/admin/modules/_loading-spinner.scss +0 -19
  457. data/app/packs/stylesheets/decidim/admin/modules/_main-nav.scss +0 -45
  458. data/app/packs/stylesheets/decidim/admin/modules/_moderations.scss +0 -39
  459. data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +0 -44
  460. data/app/packs/stylesheets/decidim/admin/modules/_pics.scss +0 -5
  461. data/app/packs/stylesheets/decidim/admin/modules/_process-header.scss +0 -13
  462. data/app/packs/stylesheets/decidim/admin/modules/_reveal.scss +0 -5
  463. data/app/packs/stylesheets/decidim/admin/modules/_secondary-nav.scss +0 -114
  464. data/app/packs/stylesheets/decidim/admin/modules/_table-list.scss +0 -146
  465. data/app/packs/stylesheets/decidim/admin/modules/_tabs.scss +0 -63
  466. data/app/packs/stylesheets/decidim/admin/modules/_title-bar.scss +0 -35
  467. data/app/packs/stylesheets/decidim/admin/modules/_typography.scss +0 -27
  468. data/app/packs/stylesheets/decidim/admin/modules/_upload_modal.scss +0 -42
  469. data/app/packs/stylesheets/decidim/admin/modules/_user-login.scss +0 -25
  470. data/app/packs/stylesheets/decidim/admin/modules/_users_statistics.scss +0 -18
  471. data/app/packs/stylesheets/decidim/admin/plugins/_foundation-datepicker.scss +0 -224
  472. data/app/packs/stylesheets/decidim/admin/plugins/jquery.auto-complete.css +0 -9
  473. data/app/packs/stylesheets/decidim/admin/user_moderations.scss +0 -3
  474. data/app/packs/stylesheets/decidim/admin/utils/_flex.scss +0 -60
  475. data/app/packs/stylesheets/decidim/admin/utils/_helpers.scss +0 -53
  476. data/app/packs/stylesheets/decidim/admin/utils/_keyframes.scss +0 -21
  477. data/app/packs/stylesheets/decidim/admin/utils/_mixins.scss +0 -151
  478. data/app/packs/stylesheets/decidim/admin/utils/_settings.scss +0 -882
  479. data/app/packs/stylesheets/decidim/admin/utils/_toggle-expand.scss +0 -9
  480. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/_constants.scss +0 -5
  481. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/_math.scss +0 -45
  482. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss +0 -14
  483. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss +0 -16
  484. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss +0 -36
  485. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss +0 -46
  486. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss +0 -17
  487. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cot.scss +0 -12
  488. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_csc.scss +0 -12
  489. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_exp.scss +0 -16
  490. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss +0 -21
  491. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss +0 -25
  492. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss +0 -20
  493. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss +0 -39
  494. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss +0 -34
  495. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sec.scss +0 -12
  496. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sin.scss +0 -10
  497. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss +0 -21
  498. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_tan.scss +0 -12
  499. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss +0 -6
  500. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss +0 -6
  501. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss +0 -11
  502. data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss +0 -19
  503. data/app/views/decidim/admin/attachment_collections/show.html.erb +0 -13
  504. data/app/views/decidim/admin/attachments/show.html.erb +0 -24
  505. data/app/views/decidim/admin/categories/show.html.erb +0 -12
  506. data/app/views/decidim/admin/organization_homepage/edit.html.erb +0 -43
  507. data/app/views/decidim/admin/organization_homepage_content_blocks/edit.html.erb +0 -13
  508. data/app/views/decidim/admin/static_pages/show.html.erb +0 -21
  509. data/app/views/layouts/decidim/admin/_template_bottom.html.erb +0 -2
  510. data/app/views/layouts/decidim/admin/_template_top.html.erb +0 -4
  511. data/app/views/layouts/decidim/admin/pages.html.erb +0 -15
  512. data/config/locales/he-IL.yml +0 -53
  513. data/decidim-admin.gemspec +0 -36
@@ -38,9 +38,12 @@ en:
38
38
  user_group_id: Create imports as
39
39
  newsletter:
40
40
  body: Body
41
+ send_to_all_users: Send to all users
42
+ send_to_followers: Send to followers
43
+ send_to_participants: Send to participants
41
44
  subject: Subject
42
45
  organization:
43
- admin_terms_of_use_body: Body for the admin terms of use
46
+ admin_terms_of_service_body: Body for the admin terms of service
44
47
  alert_color: Alert
45
48
  available_authorizations: Available authorizations
46
49
  badges_enabled: Enable badges
@@ -76,7 +79,6 @@ en:
76
79
  machine_translation_display_priority_translation: Translated text first
77
80
  name: Name
78
81
  official_img_footer: Official logo footer
79
- official_img_header: Official logo header
80
82
  official_url: Official organization URL
81
83
  omnipresent_banner_short_description: Short description
82
84
  omnipresent_banner_title: Title
@@ -91,6 +93,7 @@ en:
91
93
  secondary_hosts: Secondary hosts
92
94
  send_welcome_notification: Send welcome notification
93
95
  success_color: Success
96
+ tertiary_color: Tertiary
94
97
  time_zone: Time Zone
95
98
  tos_version: Terms of service version
96
99
  twitter_handler: X handler
@@ -128,6 +131,7 @@ en:
128
131
  weight: Order position
129
132
  static_page_topic:
130
133
  description: Description
134
+ name: Topic name
131
135
  show_in_footer: Show in the footer
132
136
  title: Title
133
137
  weight: Order position
@@ -138,13 +142,11 @@ en:
138
142
  newsletter:
139
143
  attributes:
140
144
  base:
141
- at_least_one_space: Select at least one participatory space
145
+ at_least_one_space: Select at least one participatory space.
142
146
  organization:
143
147
  attributes:
144
148
  official_img_footer:
145
149
  allowed_file_content_types: Invalid image file
146
- official_img_header:
147
- allowed_file_content_types: Invalid image file
148
150
  participatory_space_private_user_csv_import:
149
151
  attributes:
150
152
  file:
@@ -156,8 +158,8 @@ en:
156
158
  new_import:
157
159
  attributes:
158
160
  file:
159
- invalid_file: Invalid file provided, please check that the file is correctly formatted
160
- invalid_mime_type: Invalid mime type
161
+ invalid_file: Invalid file provided, please check that the file is correctly formatted.
162
+ invalid_mime_type: Invalid MIME type.
161
163
  activerecord:
162
164
  attributes:
163
165
  decidim/static_page:
@@ -179,15 +181,13 @@ en:
179
181
  attachment:
180
182
  new: New attachment
181
183
  attachment_collection:
182
- new: New attachment collection
184
+ new: New attachment folder
183
185
  browse: Browse
184
186
  category:
185
187
  new: New category
186
188
  export: Export all
187
189
  export-selection: Export selection
188
190
  import: Import
189
- manage: Manage
190
- new: New %{name}
191
191
  newsletter:
192
192
  new: New newsletter
193
193
  participatory_space_private_user:
@@ -195,30 +195,31 @@ en:
195
195
  per_page: Per page
196
196
  permissions: Permissions
197
197
  reject: Reject
198
+ send_me_a_test_email: Send me a test email
198
199
  share: Share
199
200
  user:
200
201
  new: New admin
201
202
  verify: Verify
202
- admin_terms_of_use:
203
+ admin_terms_of_service:
203
204
  accept:
204
- error: There's been an error while accepting the admin terms of use.
205
- success: Great! You've accepted the admin terms of use.
205
+ error: There was an error while accepting the admin terms of service.
206
+ success: Great! You have accepted the admin terms of service.
206
207
  actions:
207
208
  accept: I agree with the terms
208
- are_you_sure: Are you sure you want to refuse the admin terms of use?
209
+ are_you_sure: Are you sure you want to refuse the admin terms of service?
209
210
  refuse: Refuse the admin terms
210
- title: Agree to the terms and conditions of use
211
+ title: Agree to the terms of service
211
212
  required_review:
212
- alert: 'Required: Review our admin terms of use'
213
- callout: Please take a moment to review Admin Terms of Use. Otherwise you won't be able to manage the platform.
213
+ alert: 'Required: Review our admin terms of service'
214
+ callout: Please take a moment to review the admin terms of service. Otherwise you will not be able to manage the platform.
214
215
  cta: Review them now.
215
- title: Admin Terms of Use
216
+ title: Admin terms of service
216
217
  area_types:
217
218
  create:
218
219
  error: There was a problem creating a new area type.
219
220
  success: Area type created successfully.
220
221
  destroy:
221
- success: Area type successfully destroyed
222
+ success: Area type successfully destroyed.
222
223
  edit:
223
224
  title: Edit area type
224
225
  update: Update
@@ -227,14 +228,14 @@ en:
227
228
  title: New area type
228
229
  update:
229
230
  error: There was a problem updating this area type.
230
- success: Area type updated successfully
231
+ success: Area type updated successfully.
231
232
  areas:
232
233
  create:
233
234
  error: There was a problem creating a new area.
234
235
  success: Area created successfully.
235
236
  destroy:
236
237
  has_spaces: This area has dependent spaces. Please make sure no Participatory Space references this area before deleting it.
237
- success: Area successfully destroyed
238
+ success: Area successfully destroyed.
238
239
  edit:
239
240
  title: Edit area
240
241
  update: Update
@@ -244,7 +245,7 @@ en:
244
245
  no_areas: No Areas
245
246
  update:
246
247
  error: There was a problem updating this area.
247
- success: Area updated successfully
248
+ success: Area updated successfully.
248
249
  attachment_collections:
249
250
  create:
250
251
  error: There was a problem creating a new folder.
@@ -255,7 +256,6 @@ en:
255
256
  title: Edit folder
256
257
  update: Update
257
258
  index:
258
- attachment_collection_used: This folder cannot be removed because it is in use.
259
259
  attachment_collections_title: Attachment folders
260
260
  new:
261
261
  create: Create
@@ -284,10 +284,11 @@ en:
284
284
  message: Be careful when working with attachments in a private space. Any participant could share this document to others.
285
285
  autocomplete:
286
286
  no_results: No results found
287
- search_prompt: Type at least three characters to search
287
+ search_prompt: Type at least three characters to search.
288
288
  block_user:
289
289
  new:
290
290
  action: Block account and send justification
291
+ already_reported_html: Continuing with this action you will also hide all the participants contents. <a href="%{link}">Block the account</a>.
291
292
  description: Blocking a user will render their account unusable. You may provide in your justification any guidelines on ways you would consider unblocking the user.
292
293
  justification: Justification
293
294
  title: Block User %{name}
@@ -303,7 +304,6 @@ en:
303
304
  update: Update
304
305
  index:
305
306
  categories_title: Categories
306
- category_used: This category cannot be removed because it is in use.
307
307
  new:
308
308
  create: Create category
309
309
  title: New category
@@ -318,6 +318,7 @@ en:
318
318
  create:
319
319
  error: There was a problem creating this component.
320
320
  success: Component created successfully.
321
+ success_landing_page: Component created successfully. You can add a content block for this component in the home of the space. Go to <a href="%{landing_page_path}">Landing page</a> to configure it.
321
322
  destroy:
322
323
  error: There was a problem destroying this component.
323
324
  success: Component deleted successfully.
@@ -361,16 +362,36 @@ en:
361
362
  title: Transfer
362
363
  'true': 'Yes'
363
364
  user_name: User
365
+ content_blocks:
366
+ create:
367
+ error: There was an error while creating the content block.
368
+ success: Content block successfully created.
369
+ destroy:
370
+ error: There was a problem trying to delete this content block.
371
+ success: Content block successfully deleted.
372
+ edit:
373
+ active_content_blocks: Active content blocks
374
+ add: Add content block
375
+ destroy_confirmation: Are you sure you want to delete this content block?
376
+ inactive_content_blocks: Inactive content blocks
377
+ title: Page contents
378
+ update: Update
364
379
  dashboard:
380
+ pending_moderations:
381
+ anouncement:
382
+ one: There are %{count} pending moderation
383
+ other: There are %{count} pending moderations
384
+ goto_moderation: Go to global moderations
385
+ title: Pending Moderations
365
386
  show:
387
+ dropdown: Dropdown
366
388
  view_more_logs: View more logs
367
- welcome: Welcome to the Admin Panel.
368
389
  domain_whitelist:
369
390
  form:
370
391
  domain_too_short: Domain too short
371
392
  update:
372
- error: Failed to update domain whitelist
373
- success: Domain whitelist updated successfully
393
+ error: Failed to update domain whitelist.
394
+ success: Domain whitelist updated successfully.
374
395
  exports:
375
396
  export_as: "%{name} as %{export_format}"
376
397
  formats:
@@ -378,7 +399,7 @@ en:
378
399
  Excel: Excel
379
400
  FormPDF: PDF
380
401
  JSON: JSON
381
- notice: Your export is currently in progress. You'll receive an email when it's complete.
402
+ notice: Your export is currently in progress. You will receive an email when it is complete.
382
403
  filters:
383
404
  category_id_eq:
384
405
  label: Category
@@ -453,17 +474,16 @@ en:
453
474
  message_1: CSV, JSON and Excel (.xlsx) files are supported
454
475
  message_2: For CSV files, the separator between columns must be a semicolon (";")
455
476
  help_sections:
456
- error: There was a problem updating the help sections
477
+ error: There was a problem updating the help sections.
457
478
  form:
458
479
  save: Save
459
- success: Help sections updated successfully
480
+ success: Help sections updated successfully.
460
481
  impersonatable_users:
461
482
  index:
462
483
  filter:
463
484
  all: All
464
485
  managed: Managed
465
486
  not_managed: Not managed
466
- filter_by: Filter by
467
487
  impersonate: Impersonate
468
488
  impersonate_new_managed_user: Manage new participant
469
489
  managed: Managed
@@ -514,8 +534,8 @@ en:
514
534
  message:
515
535
  one: Missing column %{columns}.
516
536
  other: Missing columns %{columns}.
517
- error: There was a problem during the import
518
- example_error: Could not create an example for the given type
537
+ error: There was a problem during the import.
538
+ example_error: There was a problem creating an example for the given type.
519
539
  new:
520
540
  accepted_mime_types:
521
541
  csv: CSV
@@ -527,10 +547,15 @@ en:
527
547
  download_example_format: Example as %{name}
528
548
  file_legend: Add an import file that will be parsed.
529
549
  import: Import
530
- notice: "%{count} %{resource_name} successfully imported"
550
+ notice: "%{count} %{resource_name} successfully imported."
531
551
  logs:
552
+ filters:
553
+ participatory_space: Find participatory space
554
+ text: Search by user email, name or nickname.
555
+ user: User
532
556
  logs_list:
533
- no_logs_yet: There are no logs yet
557
+ no_logs_yet: There are no logs yet.
558
+ no_matching_logs: There are no logs with the provided search filters. Try to change them and retry.
534
559
  managed_users:
535
560
  promotion:
536
561
  error: There was a problem promoting the managed participant.
@@ -547,7 +572,7 @@ en:
547
572
  area_types: Area types
548
573
  areas: Areas
549
574
  configuration: Configuration
550
- dashboard: Dashboard
575
+ content: Reported content
551
576
  external_domain_whitelist: Allowed external domains
552
577
  help_sections: Help sections
553
578
  homepage: Homepage
@@ -555,10 +580,12 @@ en:
555
580
  moderation: Global moderations
556
581
  newsletters: Newsletters
557
582
  participants: Participants
558
- reported_users: Reported Users
583
+ reported_users: Reported participants
559
584
  scope_types: Scope types
560
585
  scopes: Scopes
586
+ see_site: See site
561
587
  settings: Settings
588
+ static_page_topics: Topics
562
589
  static_pages: Pages
563
590
  user_groups: Groups
564
591
  users: Participants
@@ -627,7 +654,7 @@ en:
627
654
  fields:
628
655
  created_at: Creation date
629
656
  email: Email
630
- last_sign_in_at: Last sign in date
657
+ last_sign_in_at: Last log in date
631
658
  name: Name
632
659
  role: Role
633
660
  roles:
@@ -640,6 +667,7 @@ en:
640
667
  created_at: Created at
641
668
  document_number: Document number
642
669
  name: Name
670
+ nickname: Nickname
643
671
  phone: Phone
644
672
  state: State
645
673
  users_count: Participants count
@@ -669,6 +697,7 @@ en:
669
697
  report:
670
698
  reasons:
671
699
  does_not_belong: Does not belong
700
+ hidden_during_block: Hidden while blocking user
672
701
  offensive: Offensive
673
702
  spam: Spam
674
703
  reports:
@@ -736,28 +765,28 @@ en:
736
765
  select_scopes: Filter for users having activated any selected scope in their account's My Interests settings.
737
766
  select_spaces: Select spaces to segment the newsletter
738
767
  select_users: Select which users you want to send the newsletter
739
- send_to_all_users: Send to all users
740
- send_to_followers: Send to followers
741
- send_to_participants: Send to participants
742
768
  title: Select recipients to deliver
743
769
  warning: "<strong>Attention:</strong> This newsletter will only be send to users that have activated <em>I want to receive newsletters</em> in their notifications settings."
744
770
  send:
745
- no_recipients: No recipients for this selection
771
+ no_recipients: No recipients for this selection.
772
+ send_to_user:
773
+ sent_successfully: Newsletter has been sent successfully to %{email}
746
774
  show:
747
775
  preview: Preview
748
776
  select_recipients_to_deliver: Select recipients to deliver
777
+ send_me_a_test_email: Send me a test email
749
778
  subject: Subject
750
779
  update:
751
780
  error: There was a problem updating this newsletter.
752
781
  success: Newsletter updated successfully. Please review it before sending.
753
782
  officializations:
754
783
  block:
755
- error: There was an error blocking the participant
756
- success: Participant successfully blocked
784
+ error: There was an error blocking the participant.
785
+ success: Participant successfully blocked.
757
786
  create:
758
- success: Participant successfully officialized
787
+ success: Participant successfully officialized.
759
788
  destroy:
760
- success: Participant successfully unofficialized
789
+ success: Participant successfully unofficialized.
761
790
  index:
762
791
  actions: Actions
763
792
  badge: Badge
@@ -779,7 +808,6 @@ en:
779
808
  officialize: Officialize
780
809
  title: Officialize participant "%{name}"
781
810
  show_email_modal:
782
- close_modal: Close modal
783
811
  description: If you need to contact a participant directly, you can click on the Show button to see their email address. This action will be logged.
784
812
  email_address: Email address
785
813
  full_name: Full name
@@ -787,8 +815,8 @@ en:
787
815
  show: Show
788
816
  title: Show participant's email address
789
817
  unblock:
790
- error: There was an error unblocking the participant
791
- success: Participant successfully unblocked
818
+ error: There was an error unblocking the participant.
819
+ success: Participant successfully unblocked.
792
820
  organization:
793
821
  edit:
794
822
  title: Edit organization
@@ -810,11 +838,19 @@ en:
810
838
  update: Update
811
839
  form:
812
840
  colors:
841
+ choose_color: Choose a primary color
813
842
  colors_title: Organization colors
814
- colors_warning_html: Warning! Changing these colors can break the accessibility contrasts. You can check the contrast of your choosing with <a href="%{link}">WebAIM Contrast Checker</a> or other similar tools.
815
- header_snippets_help: Use this field to add things to the HTML head. The most common use is to integrate third-party services that require some extra JavaScript or CSS. Also, you can use it to add extra meta tags to the HTML. Note that this will only be rendered in public pages, not in the admin section.
816
- cta_button_path_help: 'You can overwrite where the Call To Action button in the homepage links to. Use partial paths, not full URLs here. Accepts letters, numbers, dashes and slashes, and must start with a letter. The Call To Action button is shown in the homepage between the welcome text and the description. Example: %{url}'
843
+ colors_warning_html: Warning! Changing these colors can break the accessibility contrasts. You can check the contrast of your choosing with <a href="https://webaim.org/resources/contrastchecker">WebAIM Contrast Checker</a> or other similar tools.
844
+ explanation: This tool helps you out to choose a color scheme, made up of hues equally spaced around the color wheel, that will be used in the organization's website.
845
+ legend_html: Main application colors, based on the <a href="https://www.color-meanings.com/triadic-colors/">Triadic algorithm</a>. The <i>secondary</i> color is auto-calculated from the primary color and the saturation you chose.
846
+ saturation: Saturation
847
+ title: Color chooser
848
+ update_suggested_colors: Update suggested colors
849
+ cta_button_path_help_html: 'You can overwrite where the Call To Action button in the homepage links to. Use partial paths, not full URLs here. Accepts letters, numbers, dashes and slashes, and must start with a letter. The Call To Action button is shown in the homepage between the welcome text and the description. Example: %{url}'
817
850
  cta_button_text_help: You can overwrite the Call To Action button text in the homepage for each available language in your organization. If not set, the default value will be used. The Call To Action button is shown in the homepage between the welcome text and the description.
851
+ header_snippets:
852
+ header_snippets_help_html: Use this field to add things to the HTML head. The most common use is to integrate third-party services that require some extra JavaScript or CSS. Also, you can use it to add extra meta tags to the HTML. Note that this will only be rendered in public pages, not in the admin section. If the code interacts with external APIs or does not comply with the application security guidelines, it will be necessary to change the Content Security Policy. Read more about <a href="https://docs.decidim.org/develop/en/customize/content_security_policy">on the documentation site</a> .
853
+ title: HTML header snippets
818
854
  homepage_appearance_title: Edit homepage appearance
819
855
  homepage_highlighted_content_banner_title: Highligted content banner
820
856
  images:
@@ -832,13 +868,6 @@ en:
832
868
  form:
833
869
  add: Add to whitelist
834
870
  title: External domain whitelist
835
- organization_homepage:
836
- edit:
837
- active_content_blocks: Active content blocks
838
- inactive_content_blocks: Inactive content blocks
839
- organization_homepage_content_blocks:
840
- edit:
841
- update: Update
842
871
  participatory_space_private_users:
843
872
  create:
844
873
  error: There was a problem adding a private participant for this participatory space.
@@ -854,17 +883,23 @@ en:
854
883
  title: New Participatory Space private participant.
855
884
  participatory_space_private_users_csv_imports:
856
885
  create:
857
- invalid: There was a problem reading the CSV file.
858
- success: CSV file uploaded successfully, we're sending an invitation email to participants. This might take a while.
886
+ invalid: There was a problem reading the CSV file. Please make sure you have followed the instructions.
887
+ success: CSV file uploaded successfully, we are sending an invitation email to participants. This might take a while.
859
888
  new:
889
+ csv_upload:
890
+ title: Upload your CSV file
860
891
  destroy:
861
892
  button: Delete all private participants
862
- confirm: Are you sure you want to delete all private participants? This action can't be undone, you will not be able to recover them.
893
+ confirm: Are you sure you want to delete all private participants? This action cannot be undone, you will not be able to recover them.
863
894
  empty: You have no private participants.
864
895
  explanation: You have %{count} private participants.
865
896
  title: Delete private participants
866
- explanation: Upload your CSV file. It must have two columns with email in the first column of the file and name in the last column of the file (email, name) of the users that you want to add to the participatory space, without headers. Avoid using invalid chars like `<>?%&^*#@()[]=+:;"{}\|` in user name.
867
- title: Upload your CSV file
897
+ example_file: 'Example file:'
898
+ explanation: Upload your CSV file. It must have two columns with email in the first column of the file and name in the last column of the file of the users that you want to add to the participatory space, without headers. Avoid using invalid chars like `<>?%&^*#@()[]=+:;"{}\|` in user name.
899
+ explanation_example: |
900
+ john.doe@example.org%{csv_col_sep}John Doe
901
+ jane.doe@example.org%{csv_col_sep}Jane Doe
902
+ title: Import private participants via CSV
868
903
  upload: Upload
869
904
  reminders:
870
905
  create:
@@ -904,7 +939,7 @@ en:
904
939
  error: There was a problem creating a new scope.
905
940
  success: Scope created successfully.
906
941
  destroy:
907
- success: Scope successfully destroyed
942
+ success: Scope successfully destroyed.
908
943
  edit:
909
944
  title: Edit scope
910
945
  update: Update
@@ -924,13 +959,12 @@ en:
924
959
  error: There was a problem destroying the token.
925
960
  success: Token destroyed successfully.
926
961
  share_tokens:
927
- empty: There are no active tokens
962
+ empty: There are no active tokens.
928
963
  help: These tokens are used to publicly share this unpublished resource to any user. They will be hidden when the resource is published. Click on the token's share icon to visit the shareable URL.
929
964
  title: Share tokens
930
965
  shared:
931
966
  gallery:
932
967
  add_images: Add images
933
- delete_image: Delete Image
934
968
  edit_images: Edit images
935
969
  gallery_legend: Add an image gallery (Optional)
936
970
  static_page_topics:
@@ -938,7 +972,7 @@ en:
938
972
  error: There was a problem creating a new topic.
939
973
  success: Topic created successfully.
940
974
  destroy:
941
- success: Topic successfully destroyed
975
+ success: Topic successfully destroyed.
942
976
  edit:
943
977
  title: Edit topic
944
978
  update: Update topic
@@ -957,25 +991,24 @@ en:
957
991
  destroy:
958
992
  success: Page successfully destroyed
959
993
  edit:
960
- changed_notably_help: If checked, participants will be notified to accept the new terms and conditions.
994
+ changed_notably_help: If checked, participants will be notified to accept the new terms of service.
995
+ last_notable_change: 'Last notable change: %{tos_version_formatted}'
961
996
  title: Edit page
962
997
  update: Update
963
998
  form:
964
999
  none: None
965
- slug_help: 'Use partial paths, not full URLs here. Accepts letters, numbers, dashes and slashes, and must start with a letter. Example: %{url}'
1000
+ slug_help_html: 'Use partial paths, not full URLs here. Accepts letters, numbers, dashes and slashes, and must start with a letter. Example: %{url}'
966
1001
  index:
967
1002
  last_notable_change: Last notable change
968
1003
  new:
969
1004
  create: Create page
970
1005
  title: New page
971
1006
  topic:
972
- destroy: Remove topic
973
- edit: Edit topic
974
- empty: There's no page under this topic
1007
+ empty: There are no pages under this topic.
975
1008
  without_topic: Pages without topic
976
1009
  update:
977
1010
  error: There was a problem updating this page.
978
- success: Page updated successfully
1011
+ success: Page updated successfully.
979
1012
  titles:
980
1013
  admin_log: Admin log
981
1014
  area_types: Area types
@@ -983,29 +1016,31 @@ en:
983
1016
  authorization_workflows: Verification methods
984
1017
  dashboard: Dashboard
985
1018
  edit_external_domains: External domain whitelist
1019
+ edit_landing_page: Page contents
986
1020
  edit_organization_appearance: Edit homepage appearance
987
1021
  impersonatable_users: Manageable participants
988
1022
  impersonations: Participants management
1023
+ menu: Menu
989
1024
  metrics: Metrics
1025
+ page_topics: Topics
990
1026
  pages: Pages
991
1027
  panel: Admin
992
1028
  participants: Participants
993
1029
  scope_types: Scope types
994
1030
  scopes: Scopes
995
- static_pages: Pages
996
1031
  statistics: Activity
997
1032
  user_groups: Groups
998
1033
  users: Administrators
999
1034
  user_group:
1000
1035
  csv_verify:
1001
1036
  invalid: There was a problem reading the CSV file.
1002
- success: CSV file uploaded successfully, we're verifying the groups matching the criteria. This might take a while.
1037
+ success: CSV file uploaded successfully, we are verifying the groups matching the criteria. This might take a while.
1003
1038
  reject:
1004
1039
  invalid: There was a problem rejecting this group.
1005
- success: Group successfully rejected
1040
+ success: Group successfully rejected.
1006
1041
  verify:
1007
1042
  invalid: There was a problem verifying this group.
1008
- success: Group successfully verified
1043
+ success: Group successfully verified.
1009
1044
  user_groups:
1010
1045
  index:
1011
1046
  state:
@@ -1015,7 +1050,11 @@ en:
1015
1050
  verify_via_csv: Verify via CSV
1016
1051
  user_groups_csv_verifications:
1017
1052
  new:
1053
+ example_file: 'Example file:'
1018
1054
  explanation: Upload your CSV file. It must have the official emails of the groups in your organization in the first column of the file, without headers. Only groups that have confirmed their email and that have an email appearing in the CSV file will be validated.
1055
+ explanation_example: |
1056
+ acme@example.org
1057
+ bubba.gump@example.org
1019
1058
  title: Upload your CSV file
1020
1059
  upload: Upload
1021
1060
  users:
@@ -1038,13 +1077,12 @@ en:
1038
1077
  last_day: Last day
1039
1078
  last_month: Last month
1040
1079
  last_week: Last week
1041
- no_users_count_statistics_yet: There are no users count statistics yet
1080
+ no_users_count_statistics_yet: There are no users count statistics yet.
1042
1081
  participants: Participants
1043
- view_public_page: View public page
1044
1082
  forms:
1045
1083
  errors:
1046
1084
  impersonate_user:
1047
- reason: You need to provide a reason when managing a non-managed participant
1085
+ reason: You need to provide a reason when managing a non-managed participant.
1048
1086
  metrics:
1049
1087
  blocked_users:
1050
1088
  object: blocked users
@@ -1078,15 +1116,15 @@ en:
1078
1116
  models:
1079
1117
  moderation:
1080
1118
  fields:
1081
- created_at: Creation date
1119
+ created_at: Reported at
1082
1120
  deleted_resource: Deleted resource
1083
1121
  hidden_at: Hidden at
1084
1122
  participatory_space: Participatory space
1085
- report_count: Count
1123
+ report_count: Reports count
1086
1124
  reportable_id: ID
1087
1125
  reportable_type: Type
1088
1126
  reported_content_url: Reported content URL
1089
- reports: Reports
1127
+ reports: Reason
1090
1128
  visit_url: Visit URL
1091
1129
  report:
1092
1130
  fields:
@@ -1101,9 +1139,3 @@ en:
1101
1139
  admin:
1102
1140
  global_moderations:
1103
1141
  title: Global moderations
1104
- newsletters:
1105
- title: Newsletters
1106
- settings:
1107
- title: Settings
1108
- users:
1109
- title: Participants
@@ -30,8 +30,6 @@ eo:
30
30
  subject: Temo
31
31
  decidim:
32
32
  admin:
33
- actions:
34
- new: Nova %{name}
35
33
  managed_users:
36
34
  promotions:
37
35
  new: