decidim-decidim_awesome 0.10.3 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-decidim_awesome might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -5
- data/README.md +65 -67
- data/app/cells/concerns/decidim/decidim_awesome/global_menu_cell_override.rb +20 -0
- data/app/cells/concerns/decidim/decidim_awesome/proposal_l_cell_override.rb +44 -0
- data/app/cells/decidim/decidim_awesome/content_blocks/map/show.erb +5 -12
- data/app/cells/decidim/decidim_awesome/voting/proposal_metadata_cell.rb +54 -0
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal/modal.erb +18 -0
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal/show.erb +37 -32
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal_cell.rb +9 -4
- data/app/commands/concerns/decidim/decidim_awesome/admin/needs_constraint_helpers.rb +1 -1
- data/app/commands/concerns/decidim/decidim_awesome/proposals/create_proposal_override.rb +2 -2
- data/app/commands/concerns/decidim/decidim_awesome/proposals/update_proposal_override.rb +2 -2
- data/app/commands/decidim/decidim_awesome/admin/create_constraint.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/destroy_custom_redirect.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/destroy_menu_hack.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/rename_scope_label.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/update_constraint.rb +1 -1
- data/app/commands/decidim/decidim_awesome/admin/update_custom_redirect.rb +2 -2
- data/app/commands/decidim/decidim_awesome/command.rb +1 -7
- data/app/controllers/concerns/decidim/decidim_awesome/admin/maintenance_context.rb +1 -1
- data/app/controllers/concerns/decidim/decidim_awesome/admin_accountability/admin/filterable_helper.rb +3 -4
- data/app/controllers/concerns/decidim/decidim_awesome/content_security_policy.rb +34 -0
- data/app/controllers/concerns/decidim/decidim_awesome/not_found_redirect.rb +1 -1
- data/app/controllers/concerns/decidim/decidim_awesome/proposals/orderable_override.rb +22 -9
- data/app/controllers/concerns/decidim/decidim_awesome/proposals/proposal_votes_controller_override.rb +3 -3
- data/app/controllers/decidim/decidim_awesome/admin/admin_accountability_controller.rb +7 -7
- data/app/controllers/decidim/decidim_awesome/admin/checks_controller.rb +7 -7
- data/app/controllers/decidim/decidim_awesome/admin/config_controller.rb +8 -10
- data/app/controllers/decidim/decidim_awesome/admin/constraints_controller.rb +20 -19
- data/app/controllers/decidim/decidim_awesome/admin/custom_redirects_controller.rb +6 -8
- data/app/controllers/decidim/decidim_awesome/admin/maintenance_controller.rb +2 -2
- data/app/controllers/decidim/decidim_awesome/admin/menu_hacks_controller.rb +6 -8
- data/app/controllers/decidim/decidim_awesome/admin/proposal_custom_fields_controller.rb +2 -2
- data/app/controllers/decidim/decidim_awesome/admin/scoped_admins_controller.rb +2 -2
- data/app/controllers/decidim/decidim_awesome/admin/scoped_styles_controller.rb +2 -2
- data/app/controllers/decidim/decidim_awesome/blank_component_controller.rb +8 -3
- data/app/controllers/decidim/decidim_awesome/editor_images_controller.rb +3 -3
- data/app/controllers/decidim/decidim_awesome/iframe_component/iframe_controller.rb +11 -5
- data/app/forms/concerns/decidim/decidim_awesome/proposals/proposal_wizard_create_step_form_override.rb +1 -1
- data/app/forms/decidim/decidim_awesome/admin/config_form.rb +13 -25
- data/app/forms/decidim/decidim_awesome/admin/custom_redirect_form.rb +2 -2
- data/app/forms/decidim/decidim_awesome/admin/intergram_form.rb +4 -0
- data/app/forms/decidim/decidim_awesome/admin/menu_form.rb +4 -4
- data/app/helpers/concerns/decidim/decidim_awesome/amendments_helper_override.rb +8 -1
- data/app/helpers/concerns/decidim/decidim_awesome/breadcrumb_helper_override.rb +23 -0
- data/app/helpers/concerns/decidim/decidim_awesome/proposals/application_helper_override.rb +23 -39
- data/app/helpers/decidim/decidim_awesome/admin/config_constraints_helpers.rb +2 -2
- data/app/helpers/decidim/decidim_awesome/map_helper.rb +8 -27
- data/app/jobs/decidim/decidim_awesome/migrate_legacy_images_job.rb +5 -4
- data/app/middleware/decidim/decidim_awesome/current_config.rb +3 -5
- data/app/models/concerns/decidim/decidim_awesome/has_proposal_extra_fields.rb +1 -1
- data/app/models/decidim/decidim_awesome/awesome_config.rb +1 -1
- data/app/models/decidim/decidim_awesome/paper_trail_version.rb +4 -8
- data/app/models/decidim/decidim_awesome/proposal_extra_field.rb +1 -1
- data/app/models/decidim/decidim_awesome/vote_weight.rb +2 -2
- data/app/overrides/decidim/proposals/proposals/{show → _proposal_aside}/limit_amendments_modal.html.erb.deface +1 -1
- data/app/overrides/decidim/proposals/proposals/_vote_button/replace_vote_button.html.erb.deface +1 -1
- data/app/overrides/layouts/decidim/_decidim_javascript/add_awesome_tags.html.erb.deface +6 -0
- data/app/overrides/layouts/decidim/_head/add_awesome_tags.html.erb.deface +4 -11
- data/app/overrides/layouts/decidim/admin/_header/{replace_scripts.html.erb.deface → add_awesome_tags.html.erb.deface} +4 -4
- data/app/packs/entrypoints/decidim_admin_decidim_awesome.js +1 -2
- data/app/packs/entrypoints/decidim_admin_decidim_awesome_global.js +4 -0
- data/app/packs/entrypoints/decidim_admin_decidim_awesome_global.scss +1 -0
- data/app/packs/entrypoints/decidim_decidim_awesome.js +2 -2
- data/app/packs/entrypoints/decidim_editor.js +14 -0
- data/app/packs/src/decidim/decidim_awesome/admin/auto_edit.js +95 -70
- data/app/packs/src/decidim/decidim_awesome/admin/check_redirections.js +46 -41
- data/app/packs/src/decidim/decidim_awesome/admin/codemirror.js +3 -3
- data/app/packs/src/decidim/decidim_awesome/admin/constraint_form_events.js +115 -0
- data/app/packs/src/decidim/decidim_awesome/admin/custom_fields_builder.js +4 -1
- data/app/packs/src/decidim/decidim_awesome/admin/form_exit_warn.js +22 -11
- data/app/packs/src/decidim/decidim_awesome/admin/proposal_sortings.js +26 -8
- data/app/packs/src/decidim/decidim_awesome/admin/user_picker.js +34 -21
- data/app/packs/src/decidim/decidim_awesome/amendments/show_modal_on_limits.js +20 -22
- data/app/packs/src/decidim/decidim_awesome/awesome_admin.js +5 -16
- data/app/packs/src/decidim/decidim_awesome/awesome_admin_global.js +1 -0
- data/app/packs/src/decidim/decidim_awesome/awesome_application.js +0 -15
- data/app/packs/src/decidim/decidim_awesome/awesome_map/api/fetcher.js +33 -11
- data/app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js +9 -12
- data/app/packs/src/decidim/decidim_awesome/awesome_map/api/proposals_fetcher.js +28 -0
- data/app/packs/src/decidim/decidim_awesome/awesome_map/awesome_map.js +3 -4
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/controller.js +12 -12
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/meetings_controller.js +11 -7
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controllers/proposals_controller.js +6 -13
- data/app/packs/src/decidim/decidim_awesome/awesome_map/controls_ui.js +51 -20
- data/app/packs/src/decidim/decidim_awesome/awesome_map/load_map.js +27 -18
- data/app/packs/src/decidim/decidim_awesome/editor/index.js +94 -0
- data/app/packs/src/decidim/decidim_awesome/forms/autosave.js +28 -23
- data/app/packs/src/decidim/decidim_awesome/forms/custom_fields_renderer.js +9 -14
- data/app/packs/src/decidim/decidim_awesome/forms/rich_text_plugin.js +27 -32
- data/app/packs/src/decidim/decidim_awesome/proposals/images.js +16 -10
- data/app/packs/src/decidim/decidim_awesome/voting/voting_cards.js +47 -38
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/auto_edits.scss +11 -12
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/check_redirections.scss +15 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/codemirror.scss +19 -12
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/constraints.scss +8 -32
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/custom_fields.scss +28 -78
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/custom_styles.scss +48 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/intergram_fixes.scss +11 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/admin/user_picker.scss +15 -24
- data/app/packs/stylesheets/decidim/decidim_awesome/amendments/modal.scss +5 -0
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_admin.scss +9 -47
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_admin_global.scss +3 -12
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_application.scss +3 -19
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_iframe/iframe.scss +1 -1
- data/app/packs/stylesheets/decidim/decidim_awesome/awesome_map/map.scss +27 -21
- data/app/packs/stylesheets/decidim/decidim_awesome/forms/autosave.scss +6 -6
- data/app/packs/stylesheets/decidim/decidim_awesome/forms/custom_fields.scss +32 -101
- data/app/packs/stylesheets/decidim/decidim_awesome/shared/spinner.scss +5 -26
- data/app/packs/stylesheets/decidim/decidim_awesome/voting/voting_cards.scss +34 -52
- data/app/permissions/decidim/decidim_awesome/permissions.rb +3 -4
- data/app/presenters/concerns/decidim/decidim_awesome/breadcrumb_root_menu_item_presenter_override.rb +23 -0
- data/app/presenters/concerns/decidim/decidim_awesome/menu_item_presenter_override.rb +10 -2
- data/app/presenters/concerns/decidim/decidim_awesome/menu_presenter_override.rb +8 -0
- data/app/presenters/decidim/decidim_awesome/participatory_space_role_presenter.rb +1 -1
- data/app/presenters/decidim/decidim_awesome/private_data_presenter.rb +11 -11
- data/app/presenters/decidim/decidim_awesome/user_entity_presenter.rb +1 -1
- data/app/queries/decidim/decidim_awesome/private_data_finder.rb +1 -1
- data/app/serializers/decidim/decidim_awesome/proposals/private_proposal_serializer.rb +0 -8
- data/app/views/decidim/decidim_awesome/admin/admin_accountability/index.html.erb +23 -17
- data/app/views/decidim/decidim_awesome/admin/checks/index.html.erb +1 -3
- data/app/views/decidim/decidim_awesome/admin/config/_autoedit_box_label.html.erb +3 -3
- data/app/views/decidim/decidim_awesome/admin/config/_constraints.html.erb +20 -21
- data/app/views/decidim/decidim_awesome/admin/config/_form_admins.html.erb +6 -5
- data/app/views/decidim/decidim_awesome/admin/config/_form_editors.html.erb +2 -2
- data/app/views/decidim/decidim_awesome/admin/config/_form_livechat.html.erb +39 -23
- data/app/views/decidim/decidim_awesome/admin/config/_form_proposal_custom_fields.html.erb +4 -6
- data/app/views/decidim/decidim_awesome/admin/config/_form_proposals.html.erb +64 -76
- data/app/views/decidim/decidim_awesome/admin/config/_form_styles.html.erb +15 -11
- data/app/views/decidim/decidim_awesome/admin/config/_form_surveys.html.erb +8 -6
- data/app/views/decidim/decidim_awesome/admin/config/show.html.erb +22 -12
- data/app/views/decidim/decidim_awesome/admin/constraints/_form.html.erb +1 -49
- data/app/views/decidim/decidim_awesome/admin/constraints/new.html.erb +14 -9
- data/app/views/decidim/decidim_awesome/admin/constraints/show.html.erb +14 -9
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/_form.html.erb +20 -5
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/edit.html.erb +5 -5
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/index.html.erb +15 -15
- data/app/views/decidim/decidim_awesome/admin/custom_redirects/new.html.erb +5 -5
- data/app/views/decidim/decidim_awesome/admin/maintenance/_private_data.html.erb +4 -4
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/_form.html.erb +6 -6
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/edit.html.erb +21 -12
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/index.html.erb +16 -18
- data/app/views/decidim/decidim_awesome/admin/menu_hacks/new.html.erb +21 -12
- data/app/views/decidim/decidim_awesome/admin/shared/_filters_with_date.html.erb +14 -18
- data/app/views/decidim/decidim_awesome/amendments/_modal.html.erb +18 -11
- data/app/views/decidim/decidim_awesome/custom_fields/_form_render.html.erb +3 -5
- data/app/views/decidim/decidim_awesome/iframe_component/iframe/show.html.erb +7 -12
- data/app/views/decidim/decidim_awesome/map_component/map/_map_template.html.erb +53 -37
- data/app/views/decidim/decidim_awesome/map_component/map/show.html.erb +14 -5
- data/app/views/decidim/decidim_awesome/voting/voting_cards/_show_vote_button.html.erb +0 -3
- data/app/views/layouts/decidim/decidim_awesome/_awesome_config.html.erb +9 -7
- data/app/views/layouts/decidim/decidim_awesome/_intergram_widget.html.erb +9 -6
- data/app/views/layouts/decidim/decidim_awesome/admin/_base.html.erb +3 -12
- data/config/assets.rb +3 -33
- data/config/i18n-tasks.yml +1 -0
- data/config/locales/ca.yml +17 -94
- data/config/locales/cs.yml +15 -93
- data/config/locales/de.yml +15 -91
- data/config/locales/en.yml +24 -28
- data/config/locales/es.yml +18 -96
- data/config/locales/eu.yml +8 -18
- data/config/locales/fr.yml +15 -94
- data/config/locales/hu.yml +4 -18
- data/config/locales/it.yml +9 -26
- data/config/locales/ja.yml +16 -93
- data/config/locales/lt.yml +2 -4
- data/config/locales/nl.yml +8 -18
- data/config/locales/pt-BR.yml +11 -25
- data/config/locales/ro-RO.yml +2 -14
- data/config/locales/sv.yml +10 -21
- data/config/rubocop/disabled.yml +11 -0
- data/config/rubocop/faker.yml +480 -0
- data/config/rubocop/rails.yml +88 -0
- data/config/rubocop/rspec.yml +65 -0
- data/config/rubocop/ruby.yml +1210 -0
- data/db/migrate/20240306175331_rename_editor_images_awesome_config.rb +18 -0
- data/db/migrate/20240729164227_add_decidim_awesome_proposal_private_fields_date.rb +1 -1
- data/db/seeds.rb +3 -3
- data/lib/decidim/decidim_awesome/admin_engine.rb +4 -1
- data/lib/decidim/decidim_awesome/api/types/translated_custom_fields_type.rb +2 -3
- data/lib/decidim/decidim_awesome/awesome.rb +42 -28
- data/lib/decidim/decidim_awesome/awesome_helpers.rb +1 -1
- data/lib/decidim/decidim_awesome/checksums.yml +39 -60
- data/lib/decidim/decidim_awesome/config.rb +1 -1
- data/lib/decidim/decidim_awesome/custom_fields.rb +5 -5
- data/lib/decidim/decidim_awesome/engine.rb +24 -6
- data/lib/decidim/decidim_awesome/iframe_component/component.rb +1 -2
- data/lib/decidim/decidim_awesome/lock.rb +2 -2
- data/lib/decidim/decidim_awesome/map_component/component.rb +1 -1
- data/lib/decidim/decidim_awesome/menu.rb +33 -14
- data/lib/decidim/decidim_awesome/menu_hacker.rb +4 -8
- data/lib/decidim/decidim_awesome/system_checker.rb +2 -4
- data/lib/decidim/decidim_awesome/test/factories.rb +10 -10
- data/lib/decidim/decidim_awesome/test/initializer.rb +3 -11
- data/lib/decidim/decidim_awesome/test/layouts/decidim/_head.html.erb +2 -2
- data/lib/decidim/decidim_awesome/test/layouts/decidim/admin/_header.html.erb +2 -2
- data/lib/decidim/decidim_awesome/test/shared_examples/box_label_editor_examples.rb +18 -18
- data/lib/decidim/decidim_awesome/test/shared_examples/config_examples.rb +3 -3
- data/lib/decidim/decidim_awesome/test/shared_examples/custom_fields_examples.rb +11 -11
- data/lib/decidim/decidim_awesome/test/shared_examples/custom_redirects_contexts.rb +7 -7
- data/lib/decidim/decidim_awesome/test/shared_examples/editor_examples.rb +26 -66
- data/lib/decidim/decidim_awesome/test/shared_examples/menu_hack_contexts.rb +10 -9
- data/lib/decidim/decidim_awesome/test/shared_examples/scoped_admins_examples.rb +30 -20
- data/lib/decidim/decidim_awesome/test/shared_examples/summary_examples.rb +19 -10
- data/lib/decidim/decidim_awesome/version.rb +2 -2
- data/lib/decidim/decidim_awesome/voting_manifest.rb +5 -10
- data/lib/decidim/decidim_awesome.rb +1 -2
- data/lib/tasks/decidim_awesome_active_storage_migrations_tasks.rake +1 -1
- data/lib/tasks/decidim_awesome_upgrade_tasks.rake +4 -0
- data/package.json +19 -28
- metadata +40 -56
- data/app/cells/concerns/decidim/decidim_awesome/proposal_m_cell_override.rb +0 -18
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_counter/show.erb +0 -15
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_counter/vote_button.erb +0 -15
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_counter_cell.rb +0 -21
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal_modal/show.erb +0 -16
- data/app/cells/decidim/decidim_awesome/voting/voting_cards_proposal_modal_cell.rb +0 -20
- data/app/cells/decidim/proposals/proposal_m/footer.erb +0 -13
- data/app/overrides/layouts/decidim/_head/add_awesome_legacy_scripts.rb +0 -14
- data/app/overrides/layouts/decidim/admin/_header/replace_styles.html.erb.deface +0 -3
- data/app/packs/entrypoints/decidim_admin_decidim_awesome_custom_fields.js +0 -2
- data/app/packs/entrypoints/decidim_decidim_awesome_admin_form_exit_warn.js +0 -1
- data/app/packs/src/decidim/decidim_awesome/admin/constraints.js +0 -55
- data/app/packs/src/decidim/decidim_awesome/editors/editor.js +0 -213
- data/app/packs/stylesheets/decidim/decidim_awesome/editors/markdown_editor.scss +0 -19
- data/app/packs/stylesheets/decidim/decidim_awesome/editors/quill_editor.scss +0 -58
- data/app/packs/stylesheets/vendor/select2-foundation-theme.scss +0 -348
- data/app/serializers/concerns/decidim/decidim_awesome/proposal_serializer_override.rb +0 -65
- data/app/views/decidim/decidim_awesome/admin/config/_modal.html.erb +0 -11
- data/app/views/decidim/decidim_awesome/voting/voting_cards/_proposal_m_cell_footer.erb +0 -15
- /data/app/packs/src/decidim/decidim_awesome/{editors/tabs_focus.js → admin/tabs_change.js} +0 -0
@@ -1,59 +1,72 @@
|
|
1
1
|
<div class="loading-spinner"></div>
|
2
2
|
|
3
3
|
<script id="marker-proposal-popup" type="text/x-jsrender">
|
4
|
-
<div class="
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
4
|
+
<div class="space-y-6">
|
5
|
+
<div class="card__list">
|
6
|
+
<div class="card__list-content">
|
7
|
+
<a href="{{>link}}" target="proposal">
|
8
|
+
<h3 class="h4 card__list-title">{{:title.translation}}</h3>
|
9
|
+
<div class="card__list-metadata">
|
10
|
+
<span>
|
11
|
+
<%= icon "account-circle-line" %>
|
12
|
+
{{:authorName}}
|
13
|
+
</span>
|
14
|
+
<span>
|
15
|
+
<%= icon "wechat-line" %>
|
16
|
+
{{:totalCommentsCount}}
|
17
|
+
</span>
|
18
|
+
<span>
|
19
|
+
<%= icon "like" %>
|
20
|
+
{{:endorsementsCount}}
|
21
|
+
</span>
|
22
|
+
<span>
|
23
|
+
<span class="label {{:stateClass}}">{{:humanState}}</span>
|
24
|
+
</span>
|
25
|
+
{{if isAmendment() }}
|
26
|
+
<span>
|
27
|
+
<%= icon "other" %>
|
28
|
+
<%= t("activerecord.models.decidim/amendment", count: 1) %>
|
29
|
+
</span>
|
30
|
+
{{/if}}
|
13
31
|
</div>
|
14
|
-
|
15
|
-
</div>
|
16
|
-
<div class="map-info__button">
|
17
|
-
<a href="{{>link}}" class="button button--sc">
|
18
|
-
<%= t("view_proposal", scope: "decidim.decidim_awesome.map_component.map.show") %>
|
32
|
+
<div class="text-sm">{{>address}}</div>
|
19
33
|
</a>
|
34
|
+
<div class="description">
|
35
|
+
<div>{{:body.translation}}</div>
|
36
|
+
</div>
|
20
37
|
</div>
|
21
38
|
</div>
|
22
39
|
</div>
|
23
40
|
</script>
|
24
41
|
|
25
42
|
<script id="marker-meeting-popup" type="text/x-jsrender">
|
26
|
-
<div class="
|
27
|
-
<
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
<strong>{{:location.translation}}</strong><br>
|
41
|
-
<span>{{>address}}</span><br>
|
42
|
-
<span>{{:locationHints.translation}}</span>
|
43
|
+
<div class="space-y-6">
|
44
|
+
<div class="card__list">
|
45
|
+
<div class="card__list-content">
|
46
|
+
<a href="{{>link}}" target="meeting">
|
47
|
+
<h3 class="h4 card__list-title">{{:title.translation}}</h3>
|
48
|
+
<div class="card__list-metadata">
|
49
|
+
<span>
|
50
|
+
<%= icon "calendar-line" %>
|
51
|
+
{{:dateRange}}
|
52
|
+
</span>
|
53
|
+
<span>
|
54
|
+
<%= icon "{{:icon}}", ignore_missing: true %>
|
55
|
+
{{:meetingType}}
|
56
|
+
</span>
|
43
57
|
</div>
|
44
|
-
|
45
|
-
</div>
|
46
|
-
<div class="map-info__button">
|
47
|
-
<a href="{{>link}}" class="button button--sc">
|
48
|
-
<%= t("view_meeting", scope: "decidim.meetings.meetings_map") %>
|
58
|
+
<div class="text-sm">{{>address}}</div>
|
49
59
|
</a>
|
60
|
+
<div class="description">
|
61
|
+
{{:body.translation}}
|
62
|
+
</div>
|
50
63
|
</div>
|
51
64
|
</div>
|
52
65
|
</div>
|
53
66
|
</script>
|
54
67
|
|
55
68
|
<style type="text/css">
|
56
|
-
#awesome-map .
|
69
|
+
#awesome-map .dynamic-map {
|
57
70
|
height: <%= map_height %>px;
|
58
71
|
}
|
59
72
|
<% current_categories(categories).each do |category| %>
|
@@ -65,4 +78,7 @@
|
|
65
78
|
<script>
|
66
79
|
window.AwesomeMap = window.AwesomeMap || {};
|
67
80
|
window.AwesomeMap.categories = <%= current_categories(categories).to_json.html_safe %>;
|
81
|
+
window.AwesomeMapProposalTexts = <%= Decidim::Proposals::Proposal::STATES.to_h { |state, _| [state, t("decidim.proposals.answers.#{state}")] }.to_json.html_safe %>;
|
82
|
+
window.AwesomeMapMeetingTypes = <%= Decidim::Meetings::Meeting::TYPE_OF_MEETING.to_h { |type, _| [type, Decidim.icons.all[type.to_s]["icon"]] }.to_json.html_safe %>;
|
83
|
+
window.AwesomeMapMeetingTexts = <%= Decidim::Meetings::Meeting::TYPE_OF_MEETING.to_h { |type, _| [type, t("decidim.meetings.meetings.filters.type_values.#{type}")] }.to_json.html_safe %>;
|
68
84
|
</script>
|
@@ -1,7 +1,16 @@
|
|
1
|
-
|
1
|
+
<main class="participatory-space__container">
|
2
|
+
<% announcement = translated_attribute(current_settings.announcement).presence || translated_attribute(component_settings.announcement).presence %>
|
3
|
+
<% if strip_tags(announcement).present? %>
|
4
|
+
<section>
|
5
|
+
<%= cell("decidim/announcement", announcement, local_assigns.merge(callout_class: "editor-content")) %>
|
6
|
+
</section>
|
7
|
+
<% end %>
|
2
8
|
|
3
|
-
<%= render partial: "api_ready" %>
|
9
|
+
<%= render partial: "api_ready" %>
|
4
10
|
|
5
|
-
|
6
|
-
|
7
|
-
|
11
|
+
<section id="map-block" class="awesome-iframe layout-main__section">
|
12
|
+
<%= awesome_map_for map_components do %>
|
13
|
+
<%= render partial: "map_template", locals: { categories: current_participatory_space.categories, map_height: current_component.settings.map_height } %>
|
14
|
+
<% end %>
|
15
|
+
</section>
|
16
|
+
</main>
|
@@ -1,6 +1,3 @@
|
|
1
1
|
<div class="voting-voting_cards">
|
2
2
|
<%= cell("decidim/decidim_awesome/voting/voting_cards_proposal", proposal, from_proposals_list: true) %>
|
3
|
-
<% if current_component.settings.voting_cards_show_modal_help %>
|
4
|
-
<%= cell("decidim/decidim_awesome/voting/voting_cards_proposal_modal", proposal) %>
|
5
|
-
<% end %>
|
6
3
|
</div>
|
@@ -2,21 +2,23 @@
|
|
2
2
|
window.DecidimAwesome = <%= javascript_config_vars %>;
|
3
3
|
window.DecidimAwesome.currentLocale = "<%= current_locale %>";
|
4
4
|
window.DecidimAwesome.version = "<%= Decidim::DecidimAwesome::VERSION %>";
|
5
|
-
window.DecidimAwesome.
|
6
|
-
window.DecidimAwesome.
|
5
|
+
window.DecidimAwesome.editorUploaderPath = "<%= decidim_decidim_awesome.editor_images_path %>";
|
6
|
+
window.DecidimAwesome.renameScopeLabelPath = "<%= decidim_admin_decidim_awesome.rename_scope_label_path %>";
|
7
7
|
window.DecidimAwesome.texts = {
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"
|
11
|
-
"
|
8
|
+
"dragAndDropImage": "<%= j t(".drag_and_drop_image") %>",
|
9
|
+
"autosavedSuccess": "<%= j t(".autosaved_success") %>",
|
10
|
+
"autosavedError": "<%= j t(".autosaved_error") %>",
|
11
|
+
"autosavedRetrieved": "<%= j t(".autosaved_retrieved") %>",
|
12
12
|
"categories": "<%= j t(".categories") %>",
|
13
13
|
"hashtags": "<%= j t(".hashtags") %>",
|
14
14
|
"proposals": "<%= j t(".proposals") %>",
|
15
15
|
"meetings": "<%= j t(".meetings") %>",
|
16
16
|
"amendments": "<%= j t(".amendments") %>",
|
17
17
|
"items": "<%= j t(".items") %>",
|
18
|
-
"
|
18
|
+
"selectDeselectAll": "<%= j t(".select_deselect_all") %>",
|
19
|
+
"officialAuthor": "<%= j t("decidim.blogs.models.post.fields.official_blog_post") %>",
|
19
20
|
}
|
21
|
+
window.DecidimAwesome.formBuilderLangsLocation = "<%= j Decidim::DecidimAwesome.form_builder_langs_location %>";
|
20
22
|
<% if defined?(questionnaire) && questionnaire&.id %>
|
21
23
|
window.DecidimAwesome.current_questionnaire = "edit_questionnaire_<%= questionnaire.id %>";
|
22
24
|
<% if defined? visitor_already_answered? %>
|
@@ -1,16 +1,19 @@
|
|
1
1
|
<script>
|
2
|
-
window.intergramId = "<%= j (settings[:chat_id])
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
window.intergramId = "<%= j (settings[:chat_id])&.html_safe %>";
|
3
|
+
window.intergramOnOpen = {
|
4
|
+
visitorName: "<%= j current_user&.nickname %>"
|
5
|
+
};
|
6
6
|
window.intergramCustomizations = {
|
7
7
|
titleClosed: "<%= j (settings[:title_closed].presence || t("decidim.decidim_awesome.config.intergram.title_closed")).html_safe %>",
|
8
8
|
titleOpen: "<%= j (settings[:title_open].presence || t("decidim.decidim_awesome.config.intergram.title_open")).html_safe %>",
|
9
9
|
introMessage: "<%= j (settings[:intro_message].presence || t("decidim.decidim_awesome.config.intergram.intro_message")).html_safe %>",
|
10
10
|
autoResponse: "<%= j (settings[:auto_response].presence || t("decidim.decidim_awesome.config.intergram.auto_response")).html_safe %>",
|
11
11
|
autoNoResponse: "<%= j (settings[:auto_no_response].presence || t("decidim.decidim_awesome.config.intergram.auto_no_response")).html_safe %>",
|
12
|
-
mainColor: "<%= j (settings[:color].presence || "#E91E63").html_safe %>",
|
12
|
+
mainColor: "<%= j (settings[:color].presence || (current_organization.colors && current_organization.colors["primary"]) || "#E91E63").html_safe %>",
|
13
13
|
alwaysUseFloatingButton: <%= settings[:use_floating_button] ? "true" : "false" %> // Use the mobile floating button also on large screens
|
14
14
|
};
|
15
15
|
</script>
|
16
|
-
|
16
|
+
|
17
|
+
<% if settings[:chat_id].present? %>
|
18
|
+
<script id="intergram" type="text/javascript" src="<%= awesome_config[:intergram_url] %>"></script>
|
19
|
+
<% end %>
|
@@ -1,21 +1,12 @@
|
|
1
|
-
<%
|
2
|
-
<%= sidebar_menu(:awesome_admin_menu).render %>
|
3
|
-
<% end %>
|
1
|
+
<% add_secondary_root_menu(:awesome_admin_menu) %>
|
4
2
|
|
5
|
-
<%=
|
6
|
-
<%=
|
3
|
+
<%= append_stylesheet_pack_tag "decidim_admin_decidim_awesome", media: "all" %>
|
4
|
+
<%= append_javascript_pack_tag "decidim_admin_decidim_awesome", defer: true %>
|
7
5
|
|
8
6
|
<%= render "layouts/decidim/admin/application" do %>
|
9
|
-
<div class="process-title">
|
10
|
-
<div class="process-title-content">
|
11
|
-
<%= link_to t("decidim.admin.menu.decidim_awesome"), decidim_admin_decidim_awesome.config_path(:editors), target: "_blank" %>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
|
15
7
|
<%= yield %>
|
16
8
|
|
17
9
|
<div class="pokecode-credits"><%= t("credits", scope: "decidim.decidim_awesome", version: link_to(awesome_version, "https://github.com/decidim-ice/decidim-module-decidim_awesome/"), company: link_to("PokeCode", "https://pokecode.net")).html_safe %></div>
|
18
|
-
|
19
10
|
<% end %>
|
20
11
|
|
21
12
|
<%= render partial: "layouts/decidim/decidim_awesome/awesome_config" %>
|
data/config/assets.rb
CHANGED
@@ -1,46 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# This file is located at `config/assets.rb` of your module.
|
4
|
-
|
5
|
-
# Define the base path of your module. Please note that `Rails.root` may not be
|
6
|
-
# used because we are not inside the Rails environment when this file is loaded.
|
7
3
|
base_path = File.expand_path("..", __dir__)
|
8
4
|
|
9
|
-
# Register an additional load path for webpack. All the assets within these
|
10
|
-
# directories will be available for inclusion within the Decidim assets. For
|
11
|
-
# example, if you have `app/packs/src/decidim/foo.js`, you can include that file
|
12
|
-
# in your JavaScript entrypoints (or other JavaScript files within Decidim)
|
13
|
-
# using `import "src/decidim/foo"` after you have registered the additional path
|
14
|
-
# as follows.
|
15
5
|
Decidim::Webpacker.register_path("#{base_path}/app/packs")
|
16
6
|
|
17
|
-
# Register the entrypoints for your module. These entrypoints can be included
|
18
|
-
# within your application using `javascript_pack_tag` and if you include any
|
19
|
-
# SCSS files within the entrypoints, they become available for inclusion using
|
20
|
-
# `stylesheet_pack_tag`.
|
21
7
|
Decidim::Webpacker.register_entrypoints(
|
8
|
+
# override the Decidim entry point for decidim so we can define a custom createEditor method
|
9
|
+
decidim_editor: "#{base_path}/app/packs/entrypoints/decidim_editor.js",
|
22
10
|
decidim_decidim_awesome: "#{base_path}/app/packs/entrypoints/decidim_decidim_awesome.js",
|
23
11
|
decidim_admin_decidim_awesome: "#{base_path}/app/packs/entrypoints/decidim_admin_decidim_awesome.js",
|
12
|
+
decidim_admin_decidim_awesome_global: "#{base_path}/app/packs/entrypoints/decidim_admin_decidim_awesome_global.js",
|
24
13
|
decidim_decidim_awesome_map: "#{base_path}/app/packs/entrypoints/decidim_decidim_awesome_map.js",
|
25
14
|
decidim_decidim_awesome_custom_fields: "#{base_path}/app/packs/entrypoints/decidim_decidim_awesome_custom_fields.js",
|
26
|
-
decidim_admin_decidim_awesome_custom_fields: "#{base_path}/app/packs/entrypoints/decidim_admin_decidim_awesome_custom_fields.js",
|
27
|
-
decidim_decidim_awesome_admin_form_exit_warn: "#{base_path}/app/packs/entrypoints/decidim_decidim_awesome_admin_form_exit_warn.js",
|
28
15
|
decidim_decidim_awesome_iframe: "#{base_path}/app/packs/entrypoints/decidim_decidim_awesome_iframe.scss"
|
29
16
|
)
|
30
|
-
|
31
|
-
# If you want to import some extra SCSS files in the Decidim main SCSS file
|
32
|
-
# without adding any extra stylesheet inclusion tags, you can use the following
|
33
|
-
# method to register the stylesheet import for the main application.
|
34
|
-
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/decidim_awesome/awesome_application")
|
35
|
-
|
36
|
-
# If you want to do the same but include the SCSS file for the admin panel's
|
37
|
-
# main SCSS file, you can use the following method.
|
38
|
-
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/foo/admin", group: :admin)
|
39
|
-
|
40
|
-
# If you want to override some SCSS variables/settings for Foundation from the
|
41
|
-
# module, you can add the following registered import.
|
42
|
-
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/foo/settings", type: :settings)
|
43
|
-
|
44
|
-
# If you want to do the same but override the SCSS variables of the admin
|
45
|
-
# panel's styles, you can use the following method.
|
46
|
-
# Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/foo/admin_settings", type: :settings, group: :admin)
|
data/config/i18n-tasks.yml
CHANGED
@@ -9,6 +9,7 @@ data:
|
|
9
9
|
- "<%= %x[bundle info decidim-admin --path].chomp %>/config/locales/%{locale}.yml"
|
10
10
|
- "<%= %x[bundle info decidim-proposals --path].chomp %>/config/locales/%{locale}.yml"
|
11
11
|
- "<%= %x[bundle info decidim-meetings --path].chomp %>/config/locales/%{locale}.yml"
|
12
|
+
- "<%= %x[bundle info decidim-blogs --path].chomp %>/config/locales/%{locale}.yml"
|
12
13
|
|
13
14
|
ignore_unused:
|
14
15
|
- "decidim.admin.actions.manage"
|
data/config/locales/ca.yml
CHANGED
@@ -4,10 +4,9 @@ ca:
|
|
4
4
|
attributes:
|
5
5
|
config:
|
6
6
|
additional_proposal_sortings: Activa opcions d'ordenació addicionals
|
7
|
-
|
8
|
-
allow_images_in_markdown_editor: Permet imatges a l'editor Markdown
|
7
|
+
allow_images_in_editors: Permet imatges a l'editor HTML
|
9
8
|
allow_images_in_proposals: Permet imatges a l'editor de propostes
|
10
|
-
|
9
|
+
allow_videos_in_editors: Permet vídeos a l'editor HTML
|
11
10
|
auto_save_forms: Desa automàticament els formularis a l'emmagatzematge local
|
12
11
|
intergram_auto_no_response: Un missatge que s'envia un minut després que la usuària hagi enviat el seu primer missatge i no s'hagi rebut cap resposta
|
13
12
|
intergram_auto_response: Un missatge que s'envia immediatament després que la usuària enviï el seu primer missatge
|
@@ -20,10 +19,8 @@ ca:
|
|
20
19
|
intergram_title_open: Títol del xat quan està obert
|
21
20
|
intergram_use_floating_button: Si està marcat, el xat tancat és sempre un botó en lloc d'un text
|
22
21
|
proposal_custom_fields: 'Camps personalitzats #%{id}'
|
23
|
-
proposal_private_custom_fields: 'Camps personalitzats #%{id}'
|
24
22
|
scoped_admins: 'Grup d''administradores acotades #%{id}'
|
25
23
|
scoped_styles: 'Personalització d''estils #%{id}'
|
26
|
-
use_markdown_editor: Fes servir l'editor Markdown en comptes de l'editor HTML
|
27
24
|
validate_body_max_caps_percent: Percentatge màxim de majúscules en el cos de la proposta
|
28
25
|
validate_body_max_marks_together: Nombre màxim de símbols consecutius permesos al cos de la proposta
|
29
26
|
validate_body_min_length: Nombre de caràcters mínims requerits pel cos de la proposta
|
@@ -49,8 +46,12 @@ ca:
|
|
49
46
|
target: Obre a
|
50
47
|
url: URL
|
51
48
|
visibility: Visibilitat
|
49
|
+
proposal:
|
50
|
+
proposal_custom_fields: Camps personalitzats
|
52
51
|
decidim:
|
53
52
|
admin:
|
53
|
+
actions:
|
54
|
+
manage: Configura
|
54
55
|
filters:
|
55
56
|
admin_accountability:
|
56
57
|
admin_role_type:
|
@@ -77,7 +78,6 @@ ca:
|
|
77
78
|
announcement: Anunci
|
78
79
|
iframe: Codi Iframe
|
79
80
|
iframe_help: 'Posa el teu codi com a HTML: <iframe width="100%" height="700" frameBorder="0" allowFullscreen src="..."></iframe>. S''eliminarà qualsevol altre element HTML que no sigui l''Iframe. Assegureu-vos de fer servir 100% a l''amplada (width="100%") per tal d''omplir la pantalla.'
|
80
|
-
no_margins: Sense marges entre l'Iframe i la resta de la pàgina
|
81
81
|
viewport_width: Limita l'amplada màxima com a la resta de l'aplicació
|
82
82
|
step:
|
83
83
|
announcement: Anunci
|
@@ -117,7 +117,7 @@ ca:
|
|
117
117
|
default_sort_order_options:
|
118
118
|
az: A-Z (Alfabètic)
|
119
119
|
supported_first: Votades per mi primer
|
120
|
-
supported_last: Votades per mi
|
120
|
+
supported_last: Votades últimes per mi
|
121
121
|
za: Z-A (ordre alfabètic invers)
|
122
122
|
limit_pending_amendments: Permetre només una esmena pendent a cada proposta.
|
123
123
|
sort_orders_enabled: Opcions d'ordenació actives
|
@@ -135,7 +135,6 @@ ca:
|
|
135
135
|
za: Z-A (ordre alfabètic invers)
|
136
136
|
decidim_awesome:
|
137
137
|
admin:
|
138
|
-
actions: Accions
|
139
138
|
admin_accountability:
|
140
139
|
admin_roles:
|
141
140
|
admin: Administradora de plataforma
|
@@ -228,10 +227,9 @@ ca:
|
|
228
227
|
incorrect_css: 'El CSS de la caixa #%{key} no és vàlid'
|
229
228
|
incorrect_json: 'La sintaxi JSON de la caixa #%{key} és invàlida'
|
230
229
|
help:
|
231
|
-
|
232
|
-
allow_images_in_markdown_editor: Això permetrà a l'editor markdown pujar imatges amb "copiar i enganxar" o "arrastrant i deixant anar".
|
230
|
+
allow_images_in_editors: Això afegirà una icona per pujar arxius a l'editor HTML
|
233
231
|
allow_images_in_proposals: Això permetrà pujar imatges a l'editor de propostes, disponible per qualsevol usuari
|
234
|
-
|
232
|
+
allow_videos_in_editors: Això afegirà una icona per enllaçar vídeos a l'editor HTML
|
235
233
|
auto_save_forms: Això farà servir l'emmagatzematge local del navegador per desar automàticament les dades introduïdes pels usuaris a les enquestes i altres formularis mentre les omplen. Les dades es restauraran en una futura visita amb el mateix navegador en cas que no s'enviï el formulari. Si s’envia el formulari, s’eliminaran les dades locals. Si els usuaris eliminen les seves dades del navegador, tampoc es restauraran.
|
236
234
|
drag_and_drop_supported: Quan es pugin imatges, es pot fer a través del mètode de "arrossegar i deixar anar". Les imatges seran pujades al servidor i inserides com recursos externs (no es fa servir codificació en línia base64).
|
237
235
|
intergram_about: Intergram utilitza el Telegram Messenger per gestionar un widget de xat en viu de suport incrustat a la part inferior de la pàgina.
|
@@ -240,16 +238,9 @@ ca:
|
|
240
238
|
proposal_custom_fields: Crea camps personalitzats per a propostes que només s'apliquin a determinades parts de la web pública (per fer-ho, utilitza l'editor de restriccions)
|
241
239
|
proposal_custom_fields_example: Les dades son desades en un objecte XML fent servir atributs compatibles amb HTML (elements DL, DT, DD) que reemplacen el "cos" de la proposat normal.
|
242
240
|
proposal_custom_fields_translations: "Les etiquetes, el text d'ajuda, els \"placeholders\" i els valors predeterminats poden utilitzar les traduccions personalitzades de l'aplicació.\nPer això, en comptes d'utilitzar un text literal, utilitzeu la clau i18n (ha de contenir almenys un punt).\nPer exemple:\n- \"activemodel.attributes.proposal.title\" en lloc de \"Títol\"\n- \"activemodel.attributes.proposal.address\" en lloc de \"Address\"\nO utilitzeu les vostres pròpies claus en combinació amb altres eines per definir traduccions (p. ex.: utilitzant el mòdul Term Customizer):\n - \"myapp.custom_fields.bio\" en lloc de \"Biografia\""
|
243
|
-
proposal_private_custom_fields: Similar als camps públics, però aquesta informació no es revelarà públicament (només hi tindran accés els administradors).
|
244
|
-
proposal_private_custom_fields_translations: |
|
245
|
-
Els camps personalitzats privats es mostren en un quadre diferent amb aquest text d'informació:
|
246
|
-
%{warning}
|
247
|
-
Aquest text es pot personalitzar amb una traducció personalitzada utilitzant la clau:
|
248
|
-
%{key}
|
249
241
|
scoped_admins: Promou usuaries normals a administradores amb accés limitat a certes parts de la web pública (feu servir l'editor de restriccions per això). Noteu que afegir usuaries que ja tenen permisos d'administració no té cap efecte.
|
250
242
|
scoped_styles: Crea CSS personalitzats que només s'apliquin a determinades parts de la web pública (per fer-ho, utilitza l'editor de restriccions)
|
251
243
|
scoped_styles_variables: 'Pots fer servir les següents variables CSS pels colors personalitzats de l''organització:'
|
252
|
-
use_markdown_editor: Això substituirà l'editor HTML (Quill), en el seu lloc s'utilitzarà un editor Markdown tant a l'admin com a la pàgina pública per processar el text (a la base de dades el text es desarà com a markdown)
|
253
244
|
validate_body_max_caps_percent: Zero no permetrà cap majúscula, 100 obligarà a escriure-ho tot en majúscules
|
254
245
|
validate_body_max_marks_together: 'Limiteu el nombre de signes d''interrogació i d''exclamació que es poden escriure junts. És a dir: si és 2, aleshores ''!!!'' no es permetrà al text'
|
255
246
|
validate_body_min_length: Aquest nombre pot ser zero, això farà que aquest camp no sigui obligatori
|
@@ -260,41 +251,23 @@ ca:
|
|
260
251
|
body: Validacions d'entrada per l'usuari en el camp cos de la proposta
|
261
252
|
title: Validacions d'entrada per l'usuari en el camp títol de la proposta
|
262
253
|
form_proposal_custom_fields:
|
263
|
-
delete: Esborra
|
264
254
|
new: Afegeix una nova caixa de "camps personalitzats"
|
265
255
|
remove: Elimina aquesta caixa de "camps personalitzats"
|
266
256
|
sure_to_remove: Estàs segura que vols eliminar aquesta caixa de camps personalitzats?
|
267
|
-
form_proposal_private_custom_fields:
|
268
|
-
delete: Esborra
|
269
|
-
new: Afegiu una nova caixa de "camps personalitzats privats"
|
270
|
-
remove: Elimina aquesta caixa de "camps personalitzats"
|
271
|
-
sure_to_remove: Segur que vols eliminar aquesta caixa de camps personalitzats?
|
272
257
|
form_scoped_admins:
|
273
|
-
delete: Esborra
|
274
258
|
new: Afegir un nou grup "d'Administradores acotades"
|
275
259
|
remove: Elimineu aquest grup "d'Administradores acotades"
|
276
260
|
sure_to_remove: Estàs segura que vols eliminar aquest grup "d'Administradores acotades"?
|
277
261
|
form_scoped_styles:
|
278
|
-
delete: Esborra
|
279
262
|
new: Afegeix una nova caixa CSS
|
280
263
|
remove: Elimina aquesta caixa CSS
|
281
264
|
sure_to_remove: Estàs segura que vols eliminar aquesta caixa CSS?
|
282
265
|
none: "⛔ Mai! - Desactiva qualsevol altra restricció"
|
283
266
|
process_groups: Grup de processos
|
284
|
-
rich_text_editor_in_public_views: 'NOTA: "Editor de text enriquit per participants" està habilitat a la configuració general, aquesta opció no aplicarà. Feu servir les modificacions d''editor general per afegir imatges a les propostes.'
|
285
267
|
show:
|
286
268
|
title: Modificacions per %{setting}
|
287
269
|
update: Actualitza la configuració
|
288
270
|
system: A tot arreu excepte espais participatius
|
289
|
-
title:
|
290
|
-
admins: Administradores acotades
|
291
|
-
editors: Modificacions als editors
|
292
|
-
livechat: Xat en directe
|
293
|
-
proposal_custom_fields: 'Camps personalitzats per propostes: Camps públics'
|
294
|
-
proposal_private_custom_fields: 'Camps personalitzats per propostes: Camps privats'
|
295
|
-
proposals: Modificacions a propostes
|
296
|
-
styles: Estils personalitzats
|
297
|
-
surveys: Formularis i enquestes
|
298
271
|
update:
|
299
272
|
error: Error actualitzant la configuració! %{error}
|
300
273
|
success: Configuració actualitzada correctament
|
@@ -354,46 +327,12 @@ ca:
|
|
354
327
|
update:
|
355
328
|
error: 'Error en actualitzar la redirecció: %{error}'
|
356
329
|
success: Redirecció actualitzada correctament
|
357
|
-
maintenance:
|
358
|
-
private_data:
|
359
|
-
component: Espai / Component
|
360
|
-
confirm_delete: Segur que voleu suprimir totes les dades privades d'aquest recurs? Aquesta acció no es pot desfer.
|
361
|
-
delete: Esborrar-ho tot
|
362
|
-
destroying_private_data: Les dades privades de %{title} s'han programat per ser destruïdes. Si us plau, torneu a comprovar d'aquí a uns minuts.
|
363
|
-
done: Fet
|
364
|
-
help_html: |
|
365
|
-
Aquesta eina permet esborrar totes les dades privades d'un espai o component participatiu concret. Aquesta acció és irreversible i eliminarà totes les dades privades de la base de dades.
|
366
|
-
<br><br>
|
367
|
-
<strong>Què es consideren dades privades?</strong>
|
368
|
-
<br>
|
369
|
-
Les dades privades són qualsevol informació que no està disponible públicament i només és accessible per als administradors. Això, de moment, inclou la informació del camps personalitzats privats.
|
370
|
-
<br><br>
|
371
|
-
<strong>Què passa quan suprimeixo dades privades?</strong>
|
372
|
-
<br>
|
373
|
-
Quan suprimiu les dades privades, tota la informació privada de l'espai o component participatiu seleccionat s'eliminarà permanentment de la base de dades. Un registre d'aquesta acció s'emmagatzemarà al sistema amb finalitats d'auditoria (pero no les dades en si).
|
374
|
-
<br><br>
|
375
|
-
<strong>Què passa amb les dades públiques?</strong>
|
376
|
-
<br>
|
377
|
-
Les dades públiques no es veuran afectades per aquesta acció. Només s'eliminaran les dades privades.
|
378
|
-
<br><br>
|
379
|
-
<strong>Hi ha un temps mínim d'espera abans de suprimir les dades privades?</strong>
|
380
|
-
<br>
|
381
|
-
Sí, no podeu suprimir dades privades si l'última actualització va ser fa menys de %{time_ago}. Podeu canviar aquesta configuració al fitxer inicialitzador.
|
382
|
-
items_count: Total afectats
|
383
|
-
last_date: Última actualització
|
384
|
-
no_data: No s'han trobat dades privades més antigues que fa %{time_ago}
|
385
|
-
not_destroyable: Aquest recurs encara no es pot destruir
|
386
|
-
removing: Eliminant...
|
387
|
-
time_ago: "fa %{time}"
|
388
330
|
menu:
|
389
331
|
admins: Administradores acotades
|
332
|
+
checks: Compatibilitat de sistema
|
390
333
|
custom_redirects: Redireccions personalitzades
|
391
334
|
editors: Modificacions als editors
|
392
335
|
livechat: Xat en directe
|
393
|
-
maintenance:
|
394
|
-
checks: Compatibilitat de sistema
|
395
|
-
maintenance: Manteniment
|
396
|
-
private_data: Dades privades
|
397
336
|
menu_hacks: Retocs al menú
|
398
337
|
proposal_custom_fields: Camps personalitzats per propostes
|
399
338
|
proposals: Modificacions a propostes
|
@@ -430,7 +369,6 @@ ca:
|
|
430
369
|
new: Nou ítem
|
431
370
|
remove: Eliminar addició
|
432
371
|
remove_hack: Eliminar retoc
|
433
|
-
title: Menú principal
|
434
372
|
new:
|
435
373
|
save: Desar
|
436
374
|
title: Nou ítem de menú
|
@@ -438,19 +376,9 @@ ca:
|
|
438
376
|
error: 'Error en actualitzar l''ítem de menú: %{error}'
|
439
377
|
success: Ítem de menú actualitzat correctament
|
440
378
|
url_exists: Aquesta URL ha estat configurada en un altre ítem de menú, si us plau edita'l en comptes de crear-ne un de nou.
|
441
|
-
proposal_custom_fields:
|
442
|
-
menu:
|
443
|
-
title: Camps públics
|
444
|
-
private_body: Cos privat
|
445
|
-
private_data_last_remove: Aquestes dades es van destruir fa %{time_ago}.
|
446
|
-
private_data_last_update: Aquestes dades es van actualitzar per última vegada fa %{time_ago}.
|
447
|
-
proposal_private_custom_fields: Camps privats
|
448
|
-
remove_private_data: "👉 És possible que vulgueu eliminar-lo"
|
449
|
-
admin_log:
|
450
|
-
component:
|
451
|
-
destroy_private_data: "%{user_name} ha destruït %{count} elements de dades privades per a %{resource_name} a %{space_name}"
|
452
379
|
amendments:
|
453
380
|
modal:
|
381
|
+
amendment_exists: Una esmena ja existeix
|
454
382
|
current_amendment_html: <p>Podeu <a href="%{amendment_link}">accedir a l'esmena actual aquí</a>.</p>
|
455
383
|
dismiss: D'acord
|
456
384
|
explanation_html: |
|
@@ -511,7 +439,6 @@ ca:
|
|
511
439
|
show:
|
512
440
|
view_meeting: Veure trobada
|
513
441
|
view_proposal: Veure proposta
|
514
|
-
proposal_private_custom_fields_disclosure: Aquesta informació no es publicarà
|
515
442
|
validators:
|
516
443
|
too_much_caps: Fa servir massa lletres majúscules (més %{percent}% del text)
|
517
444
|
voting:
|
@@ -519,7 +446,7 @@ ca:
|
|
519
446
|
abstained: "✔ Abstenció"
|
520
447
|
change_vote: Canvia el meu vot
|
521
448
|
default_box_title: Vota en aquesta proposta
|
522
|
-
default_instructions_html: <p>Llegeix les normes de la votació amb atenció per entendre com s'utilitzarà el teu vot per %{organization}"</p>
|
449
|
+
default_instructions_html: "<p>Llegeix les normes de la votació amb atenció per entendre com s'utilitzarà el teu vot per %{organization}\"</p>"
|
523
450
|
modal:
|
524
451
|
cancel: Cancel·la
|
525
452
|
message: El teu vot es considerarà definitiu el %{date}. Pots canviar-lo fins a aquest moment
|
@@ -537,25 +464,21 @@ ca:
|
|
537
464
|
weight_2_short: 'G:'
|
538
465
|
weight_3: Verd
|
539
466
|
weight_3_short: 'V:'
|
467
|
+
meetings:
|
468
|
+
meetings_map:
|
469
|
+
view_meeting: Veure trobada
|
540
470
|
proposals:
|
541
|
-
admin:
|
542
|
-
exports:
|
543
|
-
awesome_private_proposals: Propostes amb dades privades
|
544
471
|
proposals:
|
545
472
|
orders:
|
546
473
|
az: A-Z (Alfabètic)
|
547
474
|
supported_first: Votades per mi primer
|
548
475
|
supported_last: Votades últimes per mi
|
549
476
|
za: Z-A (ordre alfabètic invers)
|
477
|
+
proposal:
|
478
|
+
view_proposal: Veure proposta
|
550
479
|
layouts:
|
551
480
|
decidim:
|
552
481
|
decidim_awesome:
|
553
|
-
admin:
|
554
|
-
maintenance:
|
555
|
-
title: 'Eines de manteniment: %{title}'
|
556
|
-
titles:
|
557
|
-
checks: Anàlisi de compatibilitat amb el sistema
|
558
|
-
private_data: Neteja de dades privades
|
559
482
|
awesome_config:
|
560
483
|
amendments: Esmenes
|
561
484
|
autosaved_error: L'emmagatzematge local no està disponible al teu navegador, el formulari no es podrà desar automàticament.
|