decidim-participatory_processes 0.27.7 → 0.28.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/cells/decidim/participatory_process_groups/content_block_cell.rb +5 -1
- data/app/cells/decidim/participatory_process_groups/content_blocks/extra_data/recent_users.erb +1 -0
- data/app/cells/decidim/participatory_process_groups/content_blocks/extra_data_cell.rb +71 -0
- data/app/cells/decidim/participatory_process_groups/content_blocks/main_data/content.erb +30 -0
- data/app/cells/decidim/participatory_process_groups/content_blocks/main_data_cell.rb +77 -0
- data/app/cells/decidim/participatory_process_groups/content_blocks/related_processes_cell.rb +47 -0
- data/app/cells/decidim/participatory_process_groups/content_blocks/statistics_cell.rb +2 -2
- data/app/cells/decidim/participatory_process_groups/process_filters_cell.rb +4 -4
- data/app/cells/decidim/participatory_processes/content_block_cell.rb +21 -0
- data/app/cells/decidim/participatory_processes/content_blocks/extra_data/active_step.erb +1 -0
- data/app/cells/decidim/participatory_processes/content_blocks/extra_data_cell.rb +60 -0
- data/app/cells/decidim/participatory_processes/content_blocks/hero_cell.rb +29 -0
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes_cell.rb +14 -27
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes_settings_form/show.erb +1 -1
- data/app/cells/decidim/participatory_processes/content_blocks/main_data_cell.rb +34 -0
- data/app/cells/decidim/participatory_processes/content_blocks/metadata_cell.rb +23 -0
- data/app/cells/decidim/participatory_processes/content_blocks/metrics_cell.rb +25 -0
- data/app/cells/decidim/participatory_processes/content_blocks/processes_settings_form/show.erb +3 -0
- data/app/cells/decidim/participatory_processes/content_blocks/processes_settings_form_cell.rb +28 -0
- data/app/cells/decidim/participatory_processes/content_blocks/related_processes/content.erb +1 -0
- data/app/cells/decidim/participatory_processes/content_blocks/related_processes_cell.rb +53 -0
- data/app/cells/decidim/participatory_processes/content_blocks/stats_cell.rb +17 -0
- data/app/cells/decidim/participatory_processes/filtered_participatory_processes_cell.rb +1 -1
- data/app/cells/decidim/participatory_processes/process_cell.rb +2 -2
- data/app/cells/decidim/participatory_processes/process_dropdown_metadata/metadata.erb +22 -0
- data/app/cells/decidim/participatory_processes/process_dropdown_metadata_cell.rb +39 -0
- data/app/cells/decidim/participatory_processes/process_filters/show.erb +4 -5
- data/app/cells/decidim/participatory_processes/process_filters/type_filter.erb +1 -1
- data/app/cells/decidim/participatory_processes/process_filters_cell.rb +6 -6
- data/app/cells/decidim/participatory_processes/process_g_cell.rb +31 -0
- data/app/cells/decidim/participatory_processes/process_group_cell.rb +2 -2
- data/app/cells/decidim/participatory_processes/process_group_g_cell.rb +23 -0
- data/app/cells/decidim/participatory_processes/process_group_metadata_cell.rb +46 -0
- data/app/cells/decidim/participatory_processes/process_group_s_cell.rb +5 -13
- data/app/cells/decidim/participatory_processes/process_metadata_cell.rb +44 -0
- data/app/cells/decidim/participatory_processes/process_metadata_g_cell.rb +15 -0
- data/app/cells/decidim/participatory_processes/process_s_cell.rb +5 -25
- data/app/cells/decidim/participatory_processes/process_step/show.erb +48 -0
- data/app/cells/decidim/participatory_processes/process_step_cell.rb +30 -0
- data/app/cells/decidim/participatory_processes/processes/show.erb +16 -0
- data/app/cells/decidim/participatory_processes/processes_cell.rb +24 -0
- data/app/commands/decidim/participatory_processes/admin/activate_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/copy_participatory_process.rb +2 -2
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process.rb +3 -1
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_group.rb +4 -2
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_type.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_group.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_type.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/import_participatory_process.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/reorder_participatory_process_steps.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_group.rb +2 -2
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_type.rb +1 -1
- data/app/constraints/decidim/participatory_processes/current_participatory_process.rb +1 -1
- data/app/controllers/decidim/participatory_processes/admin/application_controller.rb +29 -0
- data/app/controllers/decidim/participatory_processes/admin/categories_controller.rb +2 -0
- data/app/controllers/decidim/participatory_processes/admin/concerns/participatory_process_admin.rb +3 -1
- data/app/controllers/decidim/participatory_processes/admin/moderations/reports_controller.rb +1 -1
- data/app/controllers/decidim/participatory_processes/admin/moderations_controller.rb +1 -1
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_attachment_collections_controller.rb +5 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_attachments_controller.rb +5 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_group_landing_page_content_blocks_controller.rb +1 -5
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_group_landing_page_controller.rb +24 -7
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_groups_controller.rb +16 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_imports_controller.rb +14 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_landing_page_content_blocks_controller.rb +37 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_landing_page_controller.rb +37 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_publications_controller.rb +9 -29
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_step_activations_controller.rb +1 -1
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_steps_controller.rb +16 -4
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_types_controller.rb +19 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_user_roles_controller.rb +8 -91
- data/app/controllers/decidim/participatory_processes/admin/participatory_processes_controller.rb +3 -0
- data/app/controllers/decidim/participatory_processes/participatory_process_groups_controller.rb +14 -1
- data/app/controllers/decidim/participatory_processes/participatory_processes_controller.rb +19 -4
- data/app/events/decidim/participatory_process_role_assigned_event.rb +6 -6
- data/app/events/decidim/participatory_process_step_activated_event.rb +5 -4
- data/app/events/decidim/participatory_process_step_changed_event.rb +5 -4
- data/app/forms/decidim/participatory_processes/admin/participatory_process_copy_form.rb +1 -1
- data/app/forms/decidim/participatory_processes/admin/participatory_process_form.rb +1 -1
- data/app/forms/decidim/participatory_processes/admin/participatory_process_import_form.rb +1 -1
- data/app/forms/decidim/participatory_processes/admin/participatory_process_step_form.rb +2 -2
- data/app/forms/decidim/participatory_processes/admin/participatory_process_user_role_form.rb +2 -18
- data/app/helpers/decidim/participatory_processes/admin/participatory_process_helper.rb +1 -0
- data/app/helpers/decidim/participatory_processes/application_helper.rb +5 -0
- data/app/helpers/decidim/participatory_processes/participatory_process_helper.rb +37 -9
- data/app/helpers/decidim/participatory_processes/participatory_space_content_blocks_helper.rb +17 -0
- data/app/jobs/decidim/participatory_processes/change_active_step_job.rb +35 -0
- data/app/models/decidim/participatory_process.rb +5 -5
- data/app/models/decidim/participatory_process_group.rb +4 -0
- data/app/models/decidim/participatory_process_user_role.rb +5 -34
- data/app/packs/entrypoints/decidim_participatory_processes.js +0 -2
- data/app/packs/src/decidim/participatory_processes/admin/participatory_processes.js +2 -2
- data/app/permissions/decidim/participatory_processes/permissions.rb +11 -15
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_group_presenter.rb +2 -2
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_presenter.rb +2 -2
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_type_presenter.rb +2 -2
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_user_role_presenter.rb +2 -2
- data/app/presenters/decidim/participatory_processes/admin_log/step_presenter.rb +2 -2
- data/app/presenters/decidim/participatory_processes/participatory_process_group_stats_presenter.rb +4 -40
- data/app/presenters/decidim/participatory_processes/participatory_process_metric_charts_presenter.rb +0 -68
- data/app/presenters/decidim/participatory_processes/participatory_process_presenter.rb +6 -0
- data/app/presenters/decidim/participatory_processes/participatory_process_stats_presenter.rb +3 -42
- data/app/queries/decidim/participatory_processes/admin/admin_users.rb +1 -1
- data/app/queries/decidim/participatory_processes/admin/moderators.rb +1 -1
- data/app/serializers/decidim/participatory_processes/participatory_process_importer.rb +4 -4
- data/app/views/decidim/participatory_processes/admin/participatory_process_copies/_form.html.erb +24 -29
- data/app/views/decidim/participatory_processes/admin/participatory_process_copies/new.html.erb +16 -5
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/_form.html.erb +72 -50
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/edit.html.erb +15 -9
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/index.html.erb +49 -54
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/new.html.erb +28 -5
- data/app/views/decidim/participatory_processes/admin/participatory_process_imports/_form.html.erb +33 -39
- data/app/views/decidim/participatory_processes/admin/participatory_process_imports/new.html.erb +18 -5
- data/app/views/decidim/participatory_processes/admin/participatory_process_steps/_form.html.erb +18 -25
- data/app/views/decidim/participatory_processes/admin/participatory_process_steps/edit.html.erb +16 -5
- data/app/views/decidim/participatory_processes/admin/participatory_process_steps/index.html.erb +54 -54
- data/app/views/decidim/participatory_processes/admin/participatory_process_steps/new.html.erb +18 -5
- data/app/views/decidim/participatory_processes/admin/participatory_process_steps/show.html.erb +2 -2
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/_form.html.erb +6 -8
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/edit.html.erb +14 -6
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/index.html.erb +47 -50
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/new.html.erb +14 -6
- data/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/_form.html.erb +14 -18
- data/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/edit.html.erb +17 -6
- data/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/index.html.erb +59 -60
- data/app/views/decidim/participatory_processes/admin/participatory_process_user_roles/new.html.erb +16 -5
- data/app/views/decidim/participatory_processes/admin/participatory_processes/_form.html.erb +193 -146
- data/app/views/decidim/participatory_processes/admin/participatory_processes/edit.html.erb +25 -11
- data/app/views/decidim/participatory_processes/admin/participatory_processes/index.html.erb +111 -128
- data/app/views/decidim/participatory_processes/admin/participatory_processes/new.html.erb +16 -9
- data/app/views/decidim/participatory_processes/participatory_process_groups/show.html.erb +6 -10
- data/app/views/decidim/participatory_processes/participatory_processes/_collection.html.erb +8 -0
- data/app/views/decidim/participatory_processes/participatory_processes/all_metrics.html.erb +21 -8
- data/app/views/decidim/participatory_processes/participatory_processes/index.html.erb +19 -17
- data/app/views/decidim/participatory_processes/participatory_processes/index.js.erb +1 -8
- data/app/views/decidim/participatory_processes/participatory_processes/show.html.erb +14 -128
- data/app/views/layouts/decidim/_process_header.html.erb +15 -26
- data/app/views/layouts/decidim/_process_nav_item.html.erb +6 -0
- data/app/views/layouts/decidim/admin/_manage_processes.html.erb +36 -0
- data/app/views/layouts/decidim/admin/participatory_process.html.erb +12 -14
- data/app/views/layouts/decidim/admin/participatory_process_group.html.erb +23 -13
- data/app/views/layouts/decidim/admin/participatory_process_groups.html.erb +13 -0
- data/app/views/layouts/decidim/admin/participatory_process_type.html.erb +13 -11
- data/app/views/layouts/decidim/admin/participatory_processes.html.erb +14 -8
- data/app/views/layouts/decidim/participatory_process.html.erb +7 -14
- data/config/locales/ar.yml +1 -55
- data/config/locales/bg.yml +0 -518
- data/config/locales/ca.yml +50 -70
- data/config/locales/cs.yml +51 -71
- data/config/locales/de.yml +51 -71
- data/config/locales/el.yml +8 -64
- data/config/locales/en.yml +52 -72
- data/config/locales/es-MX.yml +49 -69
- data/config/locales/es-PY.yml +49 -69
- data/config/locales/es.yml +49 -69
- data/config/locales/eu.yml +89 -112
- data/config/locales/fi-plain.yml +50 -70
- data/config/locales/fi.yml +51 -71
- data/config/locales/fr-CA.yml +51 -71
- data/config/locales/fr.yml +52 -72
- data/config/locales/ga-IE.yml +0 -16
- data/config/locales/gl.yml +0 -67
- data/config/locales/hu.yml +6 -66
- data/config/locales/id-ID.yml +1 -55
- data/config/locales/is-IS.yml +0 -24
- data/config/locales/it.yml +0 -67
- data/config/locales/ja.yml +51 -71
- data/config/locales/lb.yml +1 -153
- data/config/locales/lt.yml +39 -65
- data/config/locales/lv.yml +1 -59
- data/config/locales/nl.yml +0 -67
- data/config/locales/no.yml +0 -92
- data/config/locales/pl.yml +0 -124
- data/config/locales/pt-BR.yml +1 -113
- data/config/locales/pt.yml +0 -67
- data/config/locales/ro-RO.yml +4 -64
- data/config/locales/ru.yml +0 -49
- data/config/locales/sk.yml +1 -56
- data/config/locales/sl.yml +0 -7
- data/config/locales/sr-CS.yml +0 -4
- data/config/locales/sv.yml +15 -66
- data/config/locales/tr-TR.yml +7 -68
- data/config/locales/uk.yml +0 -49
- data/config/locales/zh-CN.yml +2 -63
- data/config/locales/zh-TW.yml +3 -63
- data/db/migrate/20220315100140_change_steps_dates_to_datetime.rb +8 -0
- data/lib/decidim/api/participatory_process_step_type.rb +2 -2
- data/lib/decidim/participatory_processes/admin_engine.rb +20 -139
- data/lib/decidim/participatory_processes/content_blocks/registry_manager.rb +278 -0
- data/lib/decidim/participatory_processes/engine.rb +13 -103
- data/lib/decidim/participatory_processes/menu.rb +190 -0
- data/lib/decidim/participatory_processes/participatory_space.rb +7 -204
- data/lib/decidim/participatory_processes/query_extensions.rb +2 -2
- data/lib/decidim/participatory_processes/seeds.rb +164 -0
- data/lib/decidim/participatory_processes/test/factories.rb +58 -66
- data/lib/decidim/participatory_processes/version.rb +1 -1
- data/lib/tasks/decidim_participatory_processes.rake +8 -0
- metadata +62 -67
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes/filters.erb +0 -21
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes/filters_small_view.erb +0 -18
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes/participatory_space_filters.erb +0 -6
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes/show.erb +0 -8
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes/title_filter_order.erb +0 -8
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes_cell.rb +0 -60
- data/app/cells/decidim/participatory_process_groups/content_blocks/html/show.erb +0 -3
- data/app/cells/decidim/participatory_process_groups/content_blocks/html_cell.rb +0 -13
- data/app/cells/decidim/participatory_process_groups/content_blocks/metadata/show.erb +0 -28
- data/app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb +0 -15
- data/app/cells/decidim/participatory_process_groups/content_blocks/title/show.erb +0 -43
- data/app/cells/decidim/participatory_process_groups/content_blocks/title_cell.rb +0 -64
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/_all_processes.erb +0 -9
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/show.erb +0 -14
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb +0 -48
- data/app/cells/decidim/participatory_processes/process_group_m/footer.erb +0 -8
- data/app/cells/decidim/participatory_processes/process_group_m_cell.rb +0 -60
- data/app/cells/decidim/participatory_processes/process_group_s/image.erb +0 -1
- data/app/cells/decidim/participatory_processes/process_group_s/show.erb +0 -8
- data/app/cells/decidim/participatory_processes/process_m/data.erb +0 -21
- data/app/cells/decidim/participatory_processes/process_m/footer.erb +0 -14
- data/app/cells/decidim/participatory_processes/process_m/tags.erb +0 -8
- data/app/cells/decidim/participatory_processes/process_m_cell.rb +0 -87
- data/app/cells/decidim/participatory_processes/process_s/image.erb +0 -1
- data/app/cells/decidim/participatory_processes/process_s/show.erb +0 -14
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_admin.rb +0 -58
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_admin.rb +0 -58
- data/app/commands/decidim/participatory_processes/admin/notify_role_assigned_to_participatory_process.rb +0 -22
- data/app/commands/decidim/participatory_processes/admin/publish_participatory_process.rb +0 -40
- data/app/commands/decidim/participatory_processes/admin/unpublish_participatory_process.rb +0 -40
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_admin.rb +0 -56
- data/app/controllers/decidim/participatory_processes/participatory_process_steps_controller.rb +0 -28
- data/app/controllers/decidim/participatory_processes/widgets_controller.rb +0 -37
- data/app/packs/src/decidim/participatory_processes/filters.js +0 -28
- data/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb +0 -16
- data/app/views/decidim/participatory_processes/participatory_process_steps/_timeline.html.erb +0 -7
- data/app/views/decidim/participatory_processes/participatory_process_steps/index.html.erb +0 -18
- data/app/views/decidim/participatory_processes/participatory_processes/_metrics.html.erb +0 -10
- data/app/views/decidim/participatory_processes/participatory_processes/_order_by_processes.html.erb +0 -1
- data/app/views/decidim/participatory_processes/participatory_processes/_participatory_process_group.html.erb +0 -4
- data/app/views/decidim/participatory_processes/participatory_processes/_promoted_process.html.erb +0 -39
- data/app/views/decidim/participatory_processes/participatory_processes/_promoted_process_group.html.erb +0 -31
- data/app/views/layouts/decidim/_process_header_steps.html.erb +0 -37
- data/app/views/layouts/decidim/_process_navigation.html.erb +0 -20
- data/config/locales/he-IL.yml +0 -1
- data/db/seeds/Exampledocument.pdf +0 -0
- data/db/seeds/city.jpeg +0 -0
- data/db/seeds/city2.jpeg +0 -0
- data/db/seeds/homepage_image.jpg +0 -0
- data/decidim-participatory_processes.gemspec +0 -31
@@ -0,0 +1,36 @@
|
|
1
|
+
<div class="inline-block relative">
|
2
|
+
<%= button_tag data: { component: "dropdown", target: "processes-dropdown-menu-settings" }, class: "dropdown__trigger button button__transparent" do %>
|
3
|
+
<span>
|
4
|
+
<%= t("menu.manage", scope: "decidim.admin") %>
|
5
|
+
</span>
|
6
|
+
<%= icon "arrow-down-s-line" %>
|
7
|
+
<% end %>
|
8
|
+
<div id="processes-dropdown-menu-settings" aria-hidden="true">
|
9
|
+
<ul class="dropdown dropdown__bottom">
|
10
|
+
<% if allowed_to? :read, :process_list %>
|
11
|
+
<li class="dropdown__item">
|
12
|
+
<%= icon "treasure-map-line", class: "fill-gray-2" %>
|
13
|
+
<%= link_to t("menu.participatory_processes", scope: "decidim.admin"),
|
14
|
+
decidim_admin_participatory_processes.participatory_processes_path,
|
15
|
+
class: "text-secondary" %>
|
16
|
+
</li>
|
17
|
+
<% end %>
|
18
|
+
<% if allowed_to? :import, :process %>
|
19
|
+
<li class="dropdown__item">
|
20
|
+
<%= icon "upload-line", class: "fill-gray-2" %>
|
21
|
+
<%= link_to t("actions.import_process", scope: "decidim.admin"),
|
22
|
+
new_import_path,
|
23
|
+
class: "text-secondary" %>
|
24
|
+
</li>
|
25
|
+
<% end %>
|
26
|
+
<% if allowed_to? :manage, :participatory_process_type %>
|
27
|
+
<li class="dropdown__item">
|
28
|
+
<%= icon "price-tag-3-line", class: "fill-gray-2" %>
|
29
|
+
<%= link_to t("menu.participatory_process_types", scope: "decidim.admin"),
|
30
|
+
decidim_admin_participatory_processes.participatory_process_types_path,
|
31
|
+
class: "text-secondary" %>
|
32
|
+
</li>
|
33
|
+
<% end %>
|
34
|
+
</ul>
|
35
|
+
</div>
|
36
|
+
</div>
|
@@ -1,18 +1,16 @@
|
|
1
|
-
<%
|
2
|
-
<% content_for :sidebar_menu_nav do %>
|
3
|
-
<%= sidebar_menu(:admin_participatory_process_menu).render do
|
4
|
-
public_page_link decidim_participatory_processes.participatory_process_path(current_participatory_space)
|
5
|
-
end %>
|
6
|
-
<% end %>
|
1
|
+
<% add_secondary_root_menu(:admin_participatory_process_menu) %>
|
7
2
|
|
8
|
-
|
9
|
-
<div class="process-title">
|
10
|
-
|
11
|
-
<%=
|
12
|
-
|
3
|
+
<% content_for :breadcrumb_context_menu do %>
|
4
|
+
<div class="process-title-content-breadcrumb-container-right">
|
5
|
+
<%= link_to decidim_participatory_processes.participatory_process_path(current_participatory_space), class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link", target: "_blank", data: { "external-link": false } do %>
|
6
|
+
<%= icon "eye-line" %>
|
7
|
+
<span>
|
8
|
+
<%= t("see_process", scope: "decidim.admin.actions") %>
|
9
|
+
</span>
|
10
|
+
<% end %>
|
13
11
|
</div>
|
12
|
+
<% end %>
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
</div>
|
14
|
+
<%= render "layouts/decidim/admin/application" do %>
|
15
|
+
<%= yield %>
|
18
16
|
<% end %>
|
@@ -1,17 +1,27 @@
|
|
1
|
-
<% content_for :
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
<%=
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
<% content_for :breadcrumb_context_menu do %>
|
2
|
+
<div class="process-title-content-breadcrumb-container-right">
|
3
|
+
<% if allowed_to? :create, :process_group %>
|
4
|
+
<%= link_to [:new, :participatory_process_group], class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link" do %>
|
5
|
+
<%= icon "add-line" %>
|
6
|
+
<span>
|
7
|
+
<%= t("actions.new_process_group", scope: "decidim.admin") %>
|
8
|
+
</span>
|
9
|
+
<% end %>
|
10
|
+
<% end %>
|
11
|
+
<div class="inline-block relative">
|
12
|
+
<%= button_tag id: "processes-menu-trigger", data: { component: "dropdown", target: "processes-dropdown-menu-settings" }, class: "dropdown__trigger button button__transparent" do %>
|
13
|
+
<span>
|
14
|
+
<%= t("menu.manage", scope: "decidim.admin") %>
|
15
|
+
</span>
|
16
|
+
<%= icon "arrow-down-s-line" %>
|
17
|
+
<% end %>
|
18
|
+
<div id="processes-dropdown-menu-settings" class="process-title-content-dropdown">
|
19
|
+
<%= dropdown_menu(:admin_participatory_process_group_menu).render %>
|
20
|
+
</div>
|
11
21
|
</div>
|
12
22
|
</div>
|
23
|
+
<% end %>
|
13
24
|
|
14
|
-
|
15
|
-
|
16
|
-
</div>
|
25
|
+
<%= render "layouts/decidim/admin/application" do %>
|
26
|
+
<%= yield %>
|
17
27
|
<% end %>
|
@@ -1,3 +1,16 @@
|
|
1
|
+
<% content_for :breadcrumb_context_menu do %>
|
2
|
+
<div class="process-title-content-breadcrumb-container-right">
|
3
|
+
<% if allowed_to? :create, :process_group %>
|
4
|
+
<%= link_to [:new, :participatory_process_group], class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link" do %>
|
5
|
+
<%= icon "add-line" %>
|
6
|
+
<span>
|
7
|
+
<%= t("actions.new_process_group", scope: "decidim.admin") %>
|
8
|
+
</span>
|
9
|
+
<% end %>
|
10
|
+
<% end %>
|
11
|
+
</div>
|
12
|
+
<% end %>
|
13
|
+
|
1
14
|
<%= render "layouts/decidim/admin/application" do %>
|
2
15
|
<%= yield %>
|
3
16
|
<% end %>
|
@@ -1,15 +1,17 @@
|
|
1
|
-
<% content_for :
|
2
|
-
|
1
|
+
<% content_for :breadcrumb_context_menu do %>
|
2
|
+
<div class="process-title-content-breadcrumb-container-right">
|
3
|
+
<% if allowed_to? :create, :process %>
|
4
|
+
<%= link_to [:new, :participatory_process], class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link" do %>
|
5
|
+
<%= icon "add-line" %>
|
6
|
+
<span>
|
7
|
+
<%= t("actions.new_process", scope: "decidim.admin") %>
|
8
|
+
</span>
|
9
|
+
<% end %>
|
10
|
+
<% end %>
|
11
|
+
<%= render partial: "layouts/decidim/admin/manage_processes" %>
|
12
|
+
</div>
|
3
13
|
<% end %>
|
4
14
|
|
5
15
|
<%= render "layouts/decidim/admin/application" do %>
|
6
|
-
|
7
|
-
<div class="process-title-content">
|
8
|
-
<%= link_to t("decidim.admin.titles.participatory_processes"), decidim_participatory_processes.participatory_processes_path, target: "_blank" %>
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="process-content">
|
13
|
-
<%= yield %>
|
14
|
-
</div>
|
16
|
+
<%= yield %>
|
15
17
|
<% end %>
|
@@ -1,11 +1,17 @@
|
|
1
|
-
|
2
|
-
<div class="process-title">
|
3
|
-
|
4
|
-
<%= link_to
|
5
|
-
|
1
|
+
<% content_for :breadcrumb_context_menu do %>
|
2
|
+
<div class="process-title-content-breadcrumb-container-right">
|
3
|
+
<% if allowed_to? :create, :process %>
|
4
|
+
<%= link_to [:new, :participatory_process], class: "button button__sm button__transparent process-title-content-breadcrumb-container-right-link" do %>
|
5
|
+
<%= icon "add-line" %>
|
6
|
+
<span>
|
7
|
+
<%= t("actions.new_process", scope: "decidim.admin") %>
|
8
|
+
</span>
|
9
|
+
<% end %>
|
10
|
+
<% end %>
|
11
|
+
<%= render partial: "layouts/decidim/admin/manage_processes" %>
|
6
12
|
</div>
|
13
|
+
<% end %>
|
7
14
|
|
8
|
-
|
9
|
-
|
10
|
-
</div>
|
15
|
+
<%= render "layouts/decidim/admin/application" do %>
|
16
|
+
<%= yield %>
|
11
17
|
<% end %>
|
@@ -2,24 +2,17 @@
|
|
2
2
|
<% add_decidim_page_title(translated_attribute(current_participatory_space.title)) %>
|
3
3
|
<% add_decidim_meta_tags(
|
4
4
|
image_url: current_participatory_space.attached_uploader(:banner_image).path,
|
5
|
-
description: translated_attribute(current_participatory_space.short_description)
|
5
|
+
description: translated_attribute(current_participatory_space.short_description)
|
6
6
|
) %>
|
7
7
|
|
8
|
+
<%= append_javascript_pack_tag "decidim_participatory_processes" %>
|
9
|
+
|
10
|
+
<%= render partial: "layouts/decidim/header/follow_space_menu_bar_button", locals: { participatory_space: current_participatory_space } %>
|
11
|
+
|
8
12
|
<%= render "layouts/decidim/application" do %>
|
9
|
-
|
10
|
-
<%= cell "decidim/translation_bar", current_organization %>
|
11
|
-
<div class="wrapper">
|
13
|
+
<main>
|
12
14
|
<%= yield %>
|
13
|
-
</
|
14
|
-
<% if content_for? :expanded %>
|
15
|
-
<div class="expanded">
|
16
|
-
<div class="wrapper wrapper--inner">
|
17
|
-
<div class="row">
|
18
|
-
<%= yield :expanded %>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
<% end %>
|
15
|
+
</main>
|
23
16
|
<% end %>
|
24
17
|
|
25
18
|
<% provide :meta_image_url, current_participatory_space.attached_uploader(:banner_image).path %>
|
data/config/locales/ar.yml
CHANGED
@@ -87,7 +87,6 @@ ar:
|
|
87
87
|
edit: تعديل
|
88
88
|
filter:
|
89
89
|
all_processes: عرض جميع العمليات
|
90
|
-
process_groups: مجموعات العملية
|
91
90
|
import_process: استيراد
|
92
91
|
new_process: عملية جديدة
|
93
92
|
new_process_group: مجموعة عملية جديدة
|
@@ -115,7 +114,6 @@ ar:
|
|
115
114
|
fields:
|
116
115
|
created_at: أنشئت في
|
117
116
|
private: نشر
|
118
|
-
promoted: سلط الضوء
|
119
117
|
published: نشرت
|
120
118
|
title: عنوان
|
121
119
|
name: عملية المشاركة
|
@@ -146,9 +144,6 @@ ar:
|
|
146
144
|
copy: نسخ
|
147
145
|
select: حدد البيانات التي ترغب في تكرارها
|
148
146
|
title: عملية تشاركية مكررة
|
149
|
-
participatory_process_group_landing_page_content_blocks:
|
150
|
-
edit:
|
151
|
-
update: تحديث
|
152
147
|
participatory_process_groups:
|
153
148
|
destroy:
|
154
149
|
success: تم حذف مجموعة العملية التشاركية بنجاح.
|
@@ -182,9 +177,6 @@ ar:
|
|
182
177
|
success: تم إنشاء مرحلة العملية التشاركية بنجاح.
|
183
178
|
default_title: المقدمة
|
184
179
|
destroy:
|
185
|
-
error:
|
186
|
-
active_step: لا يمكن حذف المرحلة النشطة.
|
187
|
-
last_step: لا يمكن حذف المرحلة الأخيرة من العملية.
|
188
180
|
success: تم حذف مرحلة العملية التشاركية بنجاح.
|
189
181
|
edit:
|
190
182
|
title: تحرير مرحلة العملية التشاركية
|
@@ -199,9 +191,6 @@ ar:
|
|
199
191
|
update:
|
200
192
|
error: حدثت مشكلة أثناء تحديث هذه المرحلة من العملية التشاركية.
|
201
193
|
success: تم تحديث المرحلة التشاركية بنجاح.
|
202
|
-
participatory_process_types:
|
203
|
-
form:
|
204
|
-
title: عنوان
|
205
194
|
participatory_process_user_roles:
|
206
195
|
create:
|
207
196
|
error: حدثت مشكلة أثناء إضافة مشارك لهذه العملية التشاركية.
|
@@ -224,7 +213,6 @@ ar:
|
|
224
213
|
edit:
|
225
214
|
update: تحديث
|
226
215
|
index:
|
227
|
-
not_published: غير منشور
|
228
216
|
private: نشر
|
229
217
|
public: عامة
|
230
218
|
published: نشرت
|
@@ -291,11 +279,6 @@ ar:
|
|
291
279
|
title: العمليات التشاركية
|
292
280
|
participatory_process_groups:
|
293
281
|
content_blocks:
|
294
|
-
metadata:
|
295
|
-
name: البيانات الوصفية
|
296
|
-
participatory_scope: ما الذي تقرر
|
297
|
-
participatory_structure: كيف تقرر ذلك
|
298
|
-
target: من يشارك
|
299
282
|
stats:
|
300
283
|
name: نشاط
|
301
284
|
show:
|
@@ -303,15 +286,11 @@ ar:
|
|
303
286
|
participatory_process_steps:
|
304
287
|
index:
|
305
288
|
process_steps: مراحل العملية
|
306
|
-
title: مراحل العملية التشاركية
|
307
289
|
participatory_processes:
|
308
290
|
admin:
|
309
291
|
content_blocks:
|
310
292
|
highlighted_processes:
|
311
293
|
max_results: أقصى قدر من العناصر لإظهارها
|
312
|
-
participatory_process_groups:
|
313
|
-
form:
|
314
|
-
title: معلومات عامة
|
315
294
|
participatory_process_imports:
|
316
295
|
form:
|
317
296
|
document_legend: إضافة وثيقة
|
@@ -330,6 +309,7 @@ ar:
|
|
330
309
|
select_an_area: اختر منطقة
|
331
310
|
select_process_group: حدد مجموعة عملية
|
332
311
|
title: معلومات عامة
|
312
|
+
visbility: رؤية
|
333
313
|
content_blocks:
|
334
314
|
highlighted_processes:
|
335
315
|
name: عمليات مميزة
|
@@ -337,12 +317,6 @@ ar:
|
|
337
317
|
title: العمليات التشاركية
|
338
318
|
last_activity:
|
339
319
|
new_participatory_process: عملية تشاركية جديدة
|
340
|
-
pages:
|
341
|
-
home:
|
342
|
-
highlighted_processes:
|
343
|
-
active_step: المرحلة النشطة
|
344
|
-
more_information: معلومات اكثر
|
345
|
-
participate: مشاركة
|
346
320
|
participatory_processes:
|
347
321
|
filters:
|
348
322
|
counters:
|
@@ -375,8 +349,6 @@ ar:
|
|
375
349
|
many: "%{count} العمليات القادمة"
|
376
350
|
other: "%{count} العمليات القادمة"
|
377
351
|
explanations:
|
378
|
-
no_active: لا توجد عمليات نشطة
|
379
|
-
no_active_nor_upcoming: لا توجد عمليات نشطة ولا قادمة
|
380
352
|
no_active_nor_upcoming_callout: لا توجد عمليات نشطة ولا قادمة. وهنا لائحة من الماضي.
|
381
353
|
names:
|
382
354
|
active: نشيط
|
@@ -384,30 +356,15 @@ ar:
|
|
384
356
|
past: الماضي
|
385
357
|
upcoming: القادمة
|
386
358
|
see: نرى
|
387
|
-
index:
|
388
|
-
loading: جارٍ تحميل النتائج ...
|
389
359
|
show:
|
390
|
-
area: منطقة
|
391
|
-
developer_group: مجموعة المروجين
|
392
|
-
end_date: تاريخ الانتهاء
|
393
|
-
participatory_scope: ما الذي تقرر
|
394
|
-
participatory_structure: كيف تقرر ذلك
|
395
360
|
private_space: هذه عملية خاصة
|
396
361
|
related_processes: العمليات ذات الصلة
|
397
|
-
scope: نطاق
|
398
|
-
start_date: تاريخ البدء
|
399
|
-
target: من يشارك
|
400
|
-
unspecified: غير محدد
|
401
362
|
layouts:
|
402
363
|
decidim:
|
403
364
|
participatory_process_groups:
|
404
365
|
participatory_process_group:
|
405
366
|
browse: تصفح
|
406
367
|
processes_count: 'العمليات:'
|
407
|
-
participatory_process_widgets:
|
408
|
-
show:
|
409
|
-
active_step: المرحلة النشطة
|
410
|
-
take_part: خذ جزء
|
411
368
|
participatory_processes:
|
412
369
|
index:
|
413
370
|
promoted_processes: عمليات مميزة
|
@@ -415,14 +372,3 @@ ar:
|
|
415
372
|
active_step: 'المرحلة الحالية:'
|
416
373
|
more_info: مزيد من المعلومات
|
417
374
|
take_part: خذ جزء
|
418
|
-
promoted_process:
|
419
|
-
active_step: 'المرحلة الحالية:'
|
420
|
-
more_info: مزيد من المعلومات
|
421
|
-
take_part: خذ جزء
|
422
|
-
promoted_process_group:
|
423
|
-
more_info: مزيد من المعلومات
|
424
|
-
process_header_steps:
|
425
|
-
step: المرحلة %{current} من %{total}
|
426
|
-
view_steps: مراحل العملية
|
427
|
-
process_navigation:
|
428
|
-
process_menu_item: المسار
|