decidim-action_delegator 0.8.1 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +104 -58
- data/Rakefile +2 -2
- data/app/commands/decidim/action_delegator/admin/create_delegation.rb +1 -3
- data/app/commands/decidim/action_delegator/admin/create_setting.rb +5 -2
- data/app/commands/decidim/action_delegator/admin/update_setting.rb +4 -2
- data/app/controllers/concerns/decidim/action_delegator/devise/sessions_controller_override.rb +1 -1
- data/app/controllers/concerns/decidim/action_delegator/election_per_question_votes_controller_override.rb +65 -0
- data/app/controllers/concerns/decidim/action_delegator/election_votes_controller_override.rb +38 -0
- data/app/controllers/concerns/decidim/action_delegator/votes_controller_methods.rb +46 -0
- data/app/controllers/decidim/action_delegator/admin/application_controller.rb +11 -5
- data/app/controllers/decidim/action_delegator/admin/delegations_controller.rb +3 -11
- data/app/controllers/decidim/action_delegator/admin/invite_participants_controller.rb +0 -8
- data/app/controllers/decidim/action_delegator/admin/manage_delegations_controller.rb +13 -21
- data/app/controllers/decidim/action_delegator/admin/manage_participants_controller.rb +11 -20
- data/app/controllers/decidim/action_delegator/admin/participants_controller.rb +1 -9
- data/app/controllers/decidim/action_delegator/admin/permissions_controller.rb +1 -24
- data/app/controllers/decidim/action_delegator/admin/ponderations_controller.rb +0 -8
- data/app/controllers/decidim/action_delegator/admin/settings_controller.rb +12 -12
- data/app/controllers/decidim/action_delegator/application_controller.rb +3 -3
- data/app/controllers/decidim/action_delegator/elections/admin/results_controller.rb +58 -0
- data/app/controllers/decidim/action_delegator/elections/results_controller.rb +36 -0
- data/app/controllers/decidim/action_delegator/user_delegations_controller.rb +1 -1
- data/app/controllers/decidim/action_delegator/verifications/delegations_verifier/authorizations_controller.rb +14 -18
- data/app/forms/decidim/action_delegator/admin/action_delegator_census_form.rb +44 -0
- data/app/forms/decidim/action_delegator/admin/csv_import_form.rb +17 -0
- data/app/forms/decidim/action_delegator/admin/delegation_form.rb +6 -2
- data/app/forms/decidim/action_delegator/admin/ponderation_form.rb +2 -1
- data/app/forms/decidim/action_delegator/admin/setting_form.rb +16 -10
- data/app/forms/decidim/action_delegator/censuses/internal_users_form.rb +32 -0
- data/app/forms/decidim/action_delegator/verifications/delegations_verifier_form.rb +41 -25
- data/app/helpers/decidim/action_delegator/admin/{delegation_helper.rb → settings_helper.rb} +3 -16
- data/app/helpers/decidim/action_delegator/settings_helper.rb +124 -0
- data/app/jobs/decidim/action_delegator/admin/invite_participants_job.rb +1 -1
- data/app/jobs/decidim/action_delegator/send_sms_job.rb +2 -2
- data/app/jobs/decidim/action_delegator/twilio_send_sms_job.rb +2 -2
- data/app/models/decidim/action_delegator/delegation.rb +35 -9
- data/app/models/decidim/action_delegator/participant.rb +15 -9
- data/app/models/decidim/action_delegator/ponderation.rb +0 -2
- data/app/models/decidim/action_delegator/setting.rb +14 -32
- data/app/overrides/decidim/elections/admin/dashboard/_results/_add_results_contents.html.erb.deface +10 -0
- data/app/overrides/decidim/elections/admin/dashboard/_results/_add_results_tabs.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/elections/_election_aside/add_delegation_buttons.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/elections/_vote_results/replace_results_div.html.erb.deface +8 -0
- data/app/overrides/decidim/elections/per_question_votes/show/add_delegation_hidden_input.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/per_question_votes/show/add_delegation_id_to_links.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/per_question_votes/waiting/add_delegation_buttons.html.erb.deface +3 -0
- data/app/overrides/decidim/elections/votes/receipt/add_delegation_buttons.html.erb.deface +3 -0
- data/app/packs/entrypoints/decidim_action_delegator_elections.js +1 -0
- data/app/packs/src/decidim/action_delegator/elections_live_results.js +160 -0
- data/app/permissions/decidim/action_delegator/admin/permissions.rb +29 -0
- data/app/permissions/decidim/action_delegator/permissions.rb +6 -30
- data/app/presenters/decidim/action_delegator/setting_presenter.rb +33 -0
- data/app/queries/decidim/action_delegator/action_delegator_census_users.rb +51 -0
- data/app/queries/decidim/action_delegator/authorized_resources.rb +28 -0
- data/app/queries/decidim/action_delegator/election_settings.rb +23 -0
- data/app/queries/decidim/action_delegator/{delegated_votes_versions.rb → elections_delegated_votes_versions.rb} +8 -8
- data/app/queries/decidim/action_delegator/elections_question_responses_by_type.rb +33 -0
- data/app/queries/decidim/action_delegator/elections_question_weighted_responses.rb +28 -0
- data/app/queries/decidim/action_delegator/elections_votes_with_ponderations.rb +62 -0
- data/app/services/decidim/action_delegator/delegations_csv_importer.rb +3 -3
- data/app/services/decidim/action_delegator/participants_csv_importer.rb +1 -1
- data/app/services/decidim/action_delegator/sms_gateway.rb +2 -2
- data/app/views/decidim/action_delegator/admin/censuses/_action_delegator_census_form.html.erb +44 -0
- data/app/views/decidim/action_delegator/admin/censuses/_action_delegator_census_options_form.html.erb +25 -0
- data/app/views/decidim/action_delegator/admin/delegations/index.html.erb +12 -13
- data/app/views/decidim/action_delegator/admin/delegations/new.html.erb +29 -27
- data/app/views/decidim/action_delegator/admin/manage_delegations/new.html.erb +36 -24
- data/app/views/decidim/action_delegator/admin/manage_participants/new.html.erb +47 -33
- data/app/views/decidim/action_delegator/admin/participants/_form.html.erb +14 -8
- data/app/views/decidim/action_delegator/admin/participants/edit.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/participants/index.html.erb +20 -25
- data/app/views/decidim/action_delegator/admin/participants/new.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/ponderations/_form.html.erb +13 -7
- data/app/views/decidim/action_delegator/admin/ponderations/edit.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/ponderations/index.html.erb +8 -11
- data/app/views/decidim/action_delegator/admin/ponderations/new.html.erb +11 -13
- data/app/views/decidim/action_delegator/admin/settings/_form.html.erb +26 -12
- data/app/views/decidim/action_delegator/admin/settings/_participants_sync_check.html.erb +1 -1
- data/app/views/decidim/action_delegator/admin/settings/_setting_checks.html.erb +11 -16
- data/app/views/decidim/action_delegator/admin/settings/edit.html.erb +11 -12
- data/app/views/decidim/action_delegator/admin/settings/index.html.erb +22 -19
- data/app/views/decidim/action_delegator/admin/settings/new.html.erb +11 -12
- data/app/views/decidim/action_delegator/admin/shared/_tabs_menu.html.erb +15 -0
- data/app/views/decidim/action_delegator/censuses/_internal_users_form.html.erb +61 -0
- data/app/views/decidim/action_delegator/elections/_delegation_buttons.html.erb +10 -0
- data/app/views/decidim/action_delegator/elections/_normal_election_buttons.html.erb +13 -0
- data/app/views/decidim/action_delegator/elections/_per_question_buttons.html.erb +9 -0
- data/app/views/decidim/action_delegator/elections/_per_question_waiting_buttons.html.erb +19 -0
- data/app/views/decidim/action_delegator/elections/_vote_results.html.erb +10 -0
- data/app/views/decidim/action_delegator/elections/_vote_results_question.html.erb +13 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_by_type_and_weight.html.erb +45 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_results_tabs.html.erb +5 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_results_type_info.html.erb +4 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_sum_of_weights.html.erb +43 -0
- data/app/views/decidim/action_delegator/elections/admin/dashboard/_totals.html.erb +27 -0
- data/app/views/decidim/action_delegator/user_delegations/index.html.erb +13 -14
- data/app/views/decidim/action_delegator/verifications/delegations_verifier/authorizations/edit.html.erb +19 -29
- data/app/views/decidim/action_delegator/verifications/delegations_verifier/authorizations/new.html.erb +42 -40
- data/config/assets.rb +3 -35
- data/config/i18n-tasks.yml +27 -5
- data/config/locales/ca.yml +70 -56
- data/config/locales/cs.yml +161 -145
- data/config/locales/en.yml +110 -67
- data/config/locales/es.yml +70 -56
- data/db/migrate/20200824113801_create_settings.rb +1 -1
- data/db/migrate/20250729104037_add_title_to_action_delegator_settings.rb +31 -0
- data/lib/decidim/action_delegator/admin_engine.rb +72 -45
- data/lib/decidim/action_delegator/common_rake.rb +13 -0
- data/lib/decidim/action_delegator/engine.rb +49 -19
- data/lib/decidim/action_delegator/test/delegation_examples.rb +144 -0
- data/lib/decidim/action_delegator/test/factories.rb +11 -6
- data/lib/decidim/action_delegator/verifications/delegations_authorizer.rb +80 -47
- data/lib/decidim/action_delegator/version.rb +3 -3
- data/lib/decidim/action_delegator.rb +8 -26
- data/lib/tasks/migrate_consultations.rake +382 -0
- data/lib/tasks/upgrade_tasks.rake +5 -0
- data/package.json +10 -27
- metadata +72 -112
- data/app/commands/concerns/decidim/action_delegator/consultations/multiple_vote_question_override.rb +0 -31
- data/app/commands/concerns/decidim/action_delegator/consultations/vote_question_override.rb +0 -44
- data/app/commands/decidim/action_delegator/admin/fix_resource_permissions.rb +0 -46
- data/app/commands/decidim/action_delegator/vote_delegation.rb +0 -28
- data/app/controllers/concerns/decidim/action_delegator/consultations/consultations_controller_override.rb +0 -16
- data/app/controllers/concerns/decidim/action_delegator/consultations/question_multiple_votes_controller_override.rb +0 -29
- data/app/controllers/concerns/decidim/action_delegator/consultations/question_votes_controller_override.rb +0 -57
- data/app/controllers/concerns/decidim/action_delegator/consultations/questions_controller_override.rb +0 -16
- data/app/controllers/concerns/decidim/action_delegator/needs_consultation_styles.rb +0 -24
- data/app/controllers/decidim/action_delegator/admin/consultations/exports_controller.rb +0 -27
- data/app/controllers/decidim/action_delegator/admin/consultations_controller.rb +0 -47
- data/app/controllers/decidim/action_delegator/admin/exports/_sum_of_weights_controller.rb +0 -15
- data/app/forms/concerns/decidim/action_delegator/consultations/vote_form_override.rb +0 -15
- data/app/helpers/decidim/action_delegator/delegation_helper.rb +0 -13
- data/app/jobs/decidim/action_delegator/export_consultation_results_job.rb +0 -51
- data/app/models/concerns/decidim/action_delegator/consultations/question_override.rb +0 -18
- data/app/models/concerns/decidim/action_delegator/consultations/vote_override.rb +0 -15
- data/app/models/decidim/action_delegator/unversioned_vote.rb +0 -19
- data/app/models/decidim/action_delegator/whodunnit_vote.rb +0 -28
- data/app/overrides/decidim/consultations/admin/consultations/results/add_ongoing_warning.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/consultations/_question/add_delegation_link.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/consultations/_regular_questions/prevent_empty_questions.html.erb.deface +0 -10
- data/app/overrides/decidim/consultations/consultations/_regular_questions/remove_highlighted_scopes.html.erb.deface +0 -5
- data/app/overrides/decidim/consultations/question_multiple_votes/_form/add_delegation_notice.html.erb.deface +0 -8
- data/app/overrides/decidim/consultations/questions/_vote_button/add_delegations_link.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_button/add_modal.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_button/add_modal_javascript.html.erb.deface +0 -4
- data/app/overrides/decidim/consultations/questions/_vote_button/replace_delegation_to_multivote_link.html.erb.deface +0 -8
- data/app/overrides/decidim/consultations/questions/_vote_modal/add_delegation_callout.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_modal_confirm/add_delegation_callout.html.erb.deface +0 -3
- data/app/overrides/decidim/consultations/questions/_vote_modal_confirm/add_hidden_field.html.erb.deface +0 -3
- data/app/overrides/layouts/decidim/admin/remove_deprecation.rb +0 -10
- data/app/packs/entrypoints/decidim_action_delegator.scss +0 -1
- data/app/packs/entrypoints/decidim_action_delegator_questions.js +0 -5
- data/app/packs/src/decidim/action_delegator/questions.js +0 -33
- data/app/packs/stylesheets/decidim/action_delegator/questions.scss +0 -26
- data/app/permissions/concerns/decidim/action_delegator/consultations/permissions_override.rb +0 -35
- data/app/presenters/decidim/action_delegator/question_with_totals.rb +0 -24
- data/app/queries/decidim/action_delegator/consultation_delegations.rb +0 -25
- data/app/queries/decidim/action_delegator/delegates_votes_by_consultation.rb +0 -24
- data/app/queries/decidim/action_delegator/delegates_votes_by_question.rb +0 -26
- data/app/queries/decidim/action_delegator/delegation_votes.rb +0 -30
- data/app/queries/decidim/action_delegator/grantee_delegations.rb +0 -24
- data/app/queries/decidim/action_delegator/organization_delegations.rb +0 -26
- data/app/queries/decidim/action_delegator/organization_settings.rb +0 -31
- data/app/queries/decidim/action_delegator/responses.rb +0 -24
- data/app/queries/decidim/action_delegator/responses_by_membership.rb +0 -58
- data/app/queries/decidim/action_delegator/scrutiny.rb +0 -87
- data/app/queries/decidim/action_delegator/setting_delegations.rb +0 -19
- data/app/queries/decidim/action_delegator/sum_of_membership_weight.rb +0 -44
- data/app/queries/decidim/action_delegator/sum_of_weights.rb +0 -25
- data/app/queries/decidim/action_delegator/type_and_weight.rb +0 -26
- data/app/queries/decidim/action_delegator/voted_with_ponderations.rb +0 -30
- data/app/queries/decidim/action_delegator/votes_count_aggregation.rb +0 -34
- data/app/serializers/decidim/action_delegator/consultation_results_serializer.rb +0 -19
- data/app/views/decidim/action_delegator/admin/consultations/_ongoing_consultation_warning.html.erb +0 -3
- data/app/views/decidim/action_delegator/admin/consultations/results.html.erb +0 -65
- data/app/views/decidim/action_delegator/admin/consultations/weighted_results.html.erb +0 -66
- data/app/views/decidim/action_delegator/consultations/_link_to_question.html.erb +0 -11
- data/app/views/decidim/action_delegator/consultations/questions/_callout.html.erb +0 -5
- data/app/views/decidim/action_delegator/consultations/questions/_delegations_modal.html.erb +0 -34
- data/app/views/decidim/action_delegator/consultations/questions/_link_to_delegations.html.erb +0 -11
- data/app/views/decidim/action_delegator/consultations/questions/_vote_delegated_active.html.erb +0 -32
- data/app/views/decidim/action_delegator/consultations/questions/_vote_delegated_finished.html.erb +0 -9
- data/app/views/decidim/action_delegator/consultations/questions/_vote_delegated_upcoming.html.erb +0 -8
- data/app/views/decidim/consultations/question_votes/update_vote_button.js.erb +0 -82
- data/lib/tasks/import_direct_verification.rake +0 -30
data/config/locales/en.yml
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
en:
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
|
+
csv_import:
|
6
|
+
csv_file: CSV file
|
5
7
|
delegations_verifier:
|
6
8
|
email: Email
|
7
9
|
phone: Mobile phone number
|
@@ -13,12 +15,15 @@ en:
|
|
13
15
|
name: Membership type
|
14
16
|
name_help: Membership type
|
15
17
|
setting:
|
16
|
-
|
18
|
+
active: Active
|
17
19
|
max_grants: Maximum vote delegations a participant can receive
|
18
20
|
phone_freezed: Use phone number from the census. Don't allow participants
|
19
21
|
to edit it.
|
20
22
|
verify_with_sms: Verify with SMS
|
21
23
|
errors:
|
24
|
+
messages:
|
25
|
+
only_one_active_setting_per_phone_required: There can only be one active setting
|
26
|
+
with phone verification at a time.
|
22
27
|
models:
|
23
28
|
delegations_verifier:
|
24
29
|
attributes:
|
@@ -31,13 +36,8 @@ en:
|
|
31
36
|
decidim:
|
32
37
|
action_delegator:
|
33
38
|
admin:
|
34
|
-
|
35
|
-
|
36
|
-
ongoing_consultation: This consultations is still ongoing. Be aware that
|
37
|
-
results may change as more people vote.
|
38
|
-
title: Results by answer, membership type and weight
|
39
|
-
weighted_results:
|
40
|
-
title: Results by answer summing membership weights
|
39
|
+
census:
|
40
|
+
setting_group: Setting group
|
41
41
|
delegations:
|
42
42
|
create:
|
43
43
|
error: There was a problem creating the delegation
|
@@ -57,21 +57,16 @@ en:
|
|
57
57
|
actions:
|
58
58
|
csv_import: Import via csv
|
59
59
|
new_delegation: New delegation
|
60
|
-
consultation: Consultation
|
61
60
|
created_at: Created at
|
62
|
-
delete: Delete
|
63
61
|
description_html: This is the current delegations for this consultation
|
64
62
|
grantee: Grantee (to)
|
65
63
|
grantee_voted: Grantee has voted in behalf of granter?
|
66
64
|
granter: Granter (from)
|
67
|
-
granter_voted: Granter has voted?
|
68
|
-
title: User vote delegations
|
69
65
|
new:
|
70
66
|
grantee: Grantee (to)
|
71
67
|
granter: Granter (from)
|
72
68
|
save: Create
|
73
69
|
select_member: Select member
|
74
|
-
title: New delegation
|
75
70
|
invite_participants:
|
76
71
|
invite_all_users:
|
77
72
|
error: There was an error inviting the users
|
@@ -95,6 +90,9 @@ en:
|
|
95
90
|
required_fields: 'Required fields: granter email, grantee email'
|
96
91
|
title: Import delegations
|
97
92
|
title_example: 'Example:'
|
93
|
+
upload_button: Upload CSV file
|
94
|
+
upload_help: 'Must be a file in CSV format with a header. Required columns:
|
95
|
+
from, to.'
|
98
96
|
upload_instructions: Must be a file in CSV format with a header.
|
99
97
|
manage_participants:
|
100
98
|
create:
|
@@ -113,13 +111,22 @@ en:
|
|
113
111
|
required_fields: 'Required fields: %{authorization_method}'
|
114
112
|
title: Import participants
|
115
113
|
title_example: 'Example:'
|
114
|
+
upload_button: Upload CSV file
|
115
|
+
upload_help: Must be a file in CSV format with a header.
|
116
116
|
upload_instructions: Must be a file in CSV format with a header.
|
117
117
|
menu:
|
118
|
-
|
118
|
+
action_delegator_menu:
|
119
|
+
delegations: Delegations
|
120
|
+
main: Main
|
121
|
+
participants: Participants
|
122
|
+
ponderations: Ponderations
|
123
|
+
settings: Settings
|
124
|
+
delegations: Corporate Governance
|
125
|
+
elections_submenu:
|
119
126
|
by_answer: By answer
|
120
127
|
by_type_and_weight: By type and weight
|
121
|
-
sum_of_weights:
|
122
|
-
|
128
|
+
sum_of_weights: Sum of weights
|
129
|
+
totals: Totals
|
123
130
|
participants: Participants
|
124
131
|
participants:
|
125
132
|
create:
|
@@ -130,7 +137,6 @@ en:
|
|
130
137
|
success: Participant successfully destroyed
|
131
138
|
edit:
|
132
139
|
save: Save
|
133
|
-
title: Edit participant
|
134
140
|
index:
|
135
141
|
actions:
|
136
142
|
csv_import: Import CSV
|
@@ -149,12 +155,10 @@ en:
|
|
149
155
|
phone: Phone
|
150
156
|
ponderation: Ponderation type
|
151
157
|
send_invitation_link: Click here to send an invitation to them
|
152
|
-
title: Census
|
153
158
|
user: Name
|
154
159
|
voted: Has voted?
|
155
160
|
new:
|
156
161
|
save: Create
|
157
|
-
title: New participant
|
158
162
|
remove_census:
|
159
163
|
confirm: Are you sure you want to remove the census? This operation cannot
|
160
164
|
be undone
|
@@ -179,7 +183,6 @@ en:
|
|
179
183
|
success: Ponderation destroyed successfully
|
180
184
|
edit:
|
181
185
|
save: Save
|
182
|
-
title: Edit ponderation type
|
183
186
|
form:
|
184
187
|
name_help: Member type, e.g. "member", "associate", "supporter". Must
|
185
188
|
be unique.
|
@@ -192,7 +195,6 @@ en:
|
|
192
195
|
created_at: Created at
|
193
196
|
name: Membership Type
|
194
197
|
num_users: Census total
|
195
|
-
title: Ponderations
|
196
198
|
weight: Vote weight
|
197
199
|
new:
|
198
200
|
save: Create
|
@@ -205,8 +207,9 @@ en:
|
|
205
207
|
both: Email and phone number
|
206
208
|
email: Only email
|
207
209
|
phone: Only phone number
|
208
|
-
|
210
|
+
authorization_method_help_html: |
|
209
211
|
Available options are:
|
212
|
+
<br><br>
|
210
213
|
<ul>
|
211
214
|
<li><b>Only phone number:</b> Uses SMS verification. Participants must input their phone number that matches the census.</li>
|
212
215
|
<li><b>Only email:</b> Participant's email must match the census.</li>
|
@@ -225,7 +228,6 @@ en:
|
|
225
228
|
success: Setting successfully destroyed
|
226
229
|
edit:
|
227
230
|
save: Save
|
228
|
-
title: Edit delegation group
|
229
231
|
form:
|
230
232
|
max_grants: Maximum delegations per user
|
231
233
|
index:
|
@@ -234,19 +236,22 @@ en:
|
|
234
236
|
delegations: Edit the delegations
|
235
237
|
new_setting: New configuration
|
236
238
|
ponderate: Set weights for vote ponderation
|
239
|
+
active: Active
|
237
240
|
authorization_method: Authorization method
|
238
241
|
census: Census total
|
239
|
-
consultation: Consultation
|
240
242
|
created_at: Created at
|
241
243
|
delegations: Delegations
|
242
244
|
description_html: |
|
243
|
-
|
244
|
-
|
245
|
-
|
245
|
+
<ul>
|
246
|
+
<li>This module is designed for organizations that require a robust system for managing participant delegations</li>
|
247
|
+
<li><b>Features:</b> fully managed census, delegations of participants and weights by type of member. Verification by SMS, email or both. Using a census is optional.</li>
|
248
|
+
<li>Each entry can be used as a unique <b>delegation group</b> with a different number of maximum delegations per user, different user delegations grants and different sets of ponderation types.</li>
|
249
|
+
<li><b>Usage:</b> After configuring a delegation group, you can use the <b>Corporate Governance Verifier</b> to ensure all participants are properly authorized in whatever component you require. Also, make sure to use the <b>Corporate Governance census</b> while configuring an election.</li>
|
250
|
+
</ul>
|
246
251
|
max_grants: Max delegations/user
|
252
|
+
name: Name
|
247
253
|
open: Open
|
248
254
|
ponderations: Ponderation types
|
249
|
-
state: State
|
250
255
|
title: Corporate Governance
|
251
256
|
new:
|
252
257
|
save: Create
|
@@ -255,14 +260,8 @@ en:
|
|
255
260
|
all_users_authorized_html: All participants are verified by the <i>Corporate
|
256
261
|
Governance Verifier</i>.
|
257
262
|
all_users_registered_html: All participants are registered into the platform.
|
263
|
+
applies_to: Applies to the following voting spaces
|
258
264
|
click_to_fix: Click here to automatically fix this
|
259
|
-
consultation_questions_all_verified_html: All questions are restricted
|
260
|
-
by the <i>Corporate Governance Verifier</i>.
|
261
|
-
consultation_questions_missing_verifier_html: There are %{count} questions
|
262
|
-
that are not restricted by the <i>Corporate Governance Verifier</i>.
|
263
|
-
<b>Without it, anyone will be able to vote on them.</b> <em>This is
|
264
|
-
ok if you are using other authorization methods or everyone is allowed
|
265
|
-
to vote.</em>
|
266
265
|
missing_authorizations_html: There are %{count} participants that are
|
267
266
|
not verified by the <i>Corporate Governance Verifier</i>. <em>This is
|
268
267
|
ok if these participants have their votes delegated to others or you
|
@@ -278,14 +277,11 @@ en:
|
|
278
277
|
is allowed to vote.</em>
|
279
278
|
no_ponderations_html: There are no vote ponderations. <b>All users will
|
280
279
|
have the same weight on their votes</b>
|
280
|
+
no_resources_found: No voting spaces are using this configuration!
|
281
281
|
participant: participant
|
282
282
|
user: user
|
283
283
|
users_need_sync_html: The participants list needs to be synchronized.
|
284
284
|
<b>Consultation results might be wrong!</b>
|
285
|
-
state:
|
286
|
-
closed: Closed
|
287
|
-
ongoing: Ongoing
|
288
|
-
pending: Pending
|
289
285
|
update:
|
290
286
|
error: There was a problem updating the settings
|
291
287
|
success: Settings saved successfully
|
@@ -298,19 +294,69 @@ en:
|
|
298
294
|
reach out if it's not correct.
|
299
295
|
delegations:
|
300
296
|
has_delegations: Delegate vote made
|
301
|
-
link: You have delegations granted
|
297
|
+
link: "👉 You have delegations granted"
|
302
298
|
delegations_authorizer:
|
303
299
|
email: We are using the email %{email} to verify your identity. If you think
|
304
300
|
this is wrong, please contact us.
|
305
|
-
|
306
|
-
|
307
|
-
|
301
|
+
inactive_setting_html: The census "%{census}" is not active. You can try to
|
302
|
+
<a href="%{renew_path}" class="underline">renew your verification</a>. Otherwise,
|
303
|
+
please contact the administrator if you think this is a mistake.
|
304
|
+
no_setting_html: It seems that you do not belong to the current census. You
|
305
|
+
can try to <a href="%{renew_path}" class="underline">renew your verification</a>.
|
306
|
+
Otherwise, please contact the administrator if you think this is a mistake.
|
307
|
+
not_in_census_html: It seems that you do not belong to the census "%{census}".
|
308
|
+
You can try to <a href="%{renew_path}" class="underline">renew your verification</a>.
|
309
|
+
Otherwise, please contact the administrator if you think this is a mistake.
|
308
310
|
phone: We are using the phone %{phone} to verify your identity. If you think
|
309
311
|
this is wrong, please contact us.
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
312
|
+
elections:
|
313
|
+
admin:
|
314
|
+
dashboard:
|
315
|
+
questions_table:
|
316
|
+
delegated_votes: Delegated votes
|
317
|
+
participants: Participants
|
318
|
+
participants_count:
|
319
|
+
one: 1 participant
|
320
|
+
other: "%{count} participants"
|
321
|
+
unweighted_votes: Unweighted votes
|
322
|
+
weight: Weight
|
323
|
+
weighted_votes: Weighted votes
|
324
|
+
results_type_info:
|
325
|
+
by_type_and_weight_html: <p>The results shown below are broken down
|
326
|
+
by membership type and weighted by the membership weights defined
|
327
|
+
in the Corporate Governance settings.</p> <p>Each response option
|
328
|
+
shows the number of votes it received from each membership type but
|
329
|
+
no weights are applied in this view.</p> <p>For example, if option
|
330
|
+
A received 2 votes from members with weight "3.0" and 1 vote from
|
331
|
+
a member with weight "1.0", the results will show 2 votes from members
|
332
|
+
with weight "3.0" and 1 vote from members with weight "1.0".</p> <p>⚠️
|
333
|
+
These results are not shown to the public.</p>
|
334
|
+
normal_count_html: "<p>These results are calculated by counting each
|
335
|
+
vote equally, regardless of the membership weight of the participant
|
336
|
+
that cast it.</p> <p>⚠️ These results are not shown to the public.</p>"
|
337
|
+
sum_of_weights_html: <p>The results shown below are weighted by the
|
338
|
+
membership weights defined in the Corporate Governance settings.</p>
|
339
|
+
<p>Each vote is multiplied by the weight of the member who cast it.</p>
|
340
|
+
<p>For example, if a member with weight "3.0" votes for option A,
|
341
|
+
and a member with weight "1.0" votes for option B, the results will
|
342
|
+
show 3 votes for option A and 1 vote for option B.</p> <p><strong>⚠️
|
343
|
+
These are the results shown to the public.</strong></p>
|
344
|
+
title: How to interpret these results?
|
345
|
+
totals_html: "<p>The results shown below show the totals for each question,
|
346
|
+
summing all the votes received by each response option applying the
|
347
|
+
membership weights and not applying them.</p> <p>Also, you can see
|
348
|
+
the number of participants and how many delegated votes were cast
|
349
|
+
for each option.</p> <p>⚠️ These results are not shown to the public.</p>"
|
350
|
+
delegation_buttons:
|
351
|
+
delegations_active: You have delegated votes.
|
352
|
+
per_question_delegations: 'You can vote on behalf of the following participants
|
353
|
+
in this election:'
|
354
|
+
vote_for: Vote on behalf of %{name}
|
355
|
+
votes:
|
356
|
+
delegated_voting: You are voting on behalf of %{name}
|
357
|
+
edit_vote_for: Edit vote for %{name}
|
358
|
+
self_voting: You are voting for yourself (%{name}).
|
359
|
+
waiting_for: Continue voting on behalf of %{name}
|
314
360
|
import_mailer:
|
315
361
|
import:
|
316
362
|
errors_present: There were errors in the importation
|
@@ -333,7 +379,6 @@ en:
|
|
333
379
|
the link below to confirm your participation.
|
334
380
|
confirm: Confirm participation
|
335
381
|
greeting: Hello %{recipient},
|
336
|
-
name: Decidim ActionDelegator cooperatives module
|
337
382
|
participants_csv_importer:
|
338
383
|
import:
|
339
384
|
error: There was a problem importing the participants
|
@@ -366,11 +411,14 @@ en:
|
|
366
411
|
new:
|
367
412
|
authorize: Authorize my account
|
368
413
|
missing_phone_error: Missing membership phone
|
414
|
+
no_resources_found: No resources found, If you think this is a mistake,
|
415
|
+
please contact the administrator (it is possible that there is nothing
|
416
|
+
active right now).
|
369
417
|
not_in_census: We're sorry but you can't be authorized because your
|
370
418
|
email is not in the census. Please contact the admin if you feel this
|
371
419
|
is a mistake.
|
372
420
|
participate_in: 'This authorization allows you to participate in the
|
373
|
-
following
|
421
|
+
following resources:'
|
374
422
|
phone_warning: This phone number has been imported by the admin. Please,
|
375
423
|
reach out if it's not correct.
|
376
424
|
send_code: Send verification code
|
@@ -382,29 +430,28 @@ en:
|
|
382
430
|
invite: Send invitation
|
383
431
|
invite_all: Send invitations to non-existing users
|
384
432
|
resend: Resend invitation
|
385
|
-
consultations:
|
386
|
-
results:
|
387
|
-
default_metadata: "(membership data not available)"
|
388
|
-
export: Export
|
389
|
-
export_filename: consultation_results
|
390
|
-
membership_type: Membership type
|
391
|
-
membership_weight: Weight
|
392
|
-
total_delegates: "%{count} delegated votes"
|
393
433
|
authorization_handlers:
|
394
434
|
admin:
|
395
435
|
delegations_verifier:
|
396
436
|
help:
|
397
|
-
- A verification method for delegate voting
|
437
|
+
- A verification method for delegate voting, weighted voting and fully managed
|
438
|
+
census.
|
398
439
|
delegations_verifier:
|
399
440
|
explanation: Verified users with this method can delegate votes to other users
|
400
441
|
fields:
|
401
442
|
phone: Phone number
|
443
|
+
setting: Setting
|
444
|
+
setting_ids: Settings
|
402
445
|
name: Corporate Governance
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
446
|
+
elections:
|
447
|
+
censuses:
|
448
|
+
action_delegator_census:
|
449
|
+
authorizer_handler_admin_callout_html: Choose the "Corporate Governance"
|
450
|
+
authorization method if you want to use the participants list from the
|
451
|
+
chosen setting group to validate who can vote.<br> You can also use another
|
452
|
+
authorization method if your source of census is external or if you don't
|
453
|
+
want to use a census at all (and everyone registered can vote).
|
454
|
+
label: Corporate Governance census
|
408
455
|
verifications:
|
409
456
|
authorizations:
|
410
457
|
first_login:
|
@@ -416,9 +463,5 @@ en:
|
|
416
463
|
subject: You have been invited to participate in the consultation
|
417
464
|
layouts:
|
418
465
|
decidim:
|
419
|
-
admin:
|
420
|
-
question:
|
421
|
-
attachments: Attachments
|
422
|
-
categories: Categories
|
423
466
|
user_profile:
|
424
467
|
vote_delegations: Vote delegations
|