decidim-proposals 0.24.2 → 0.24.3
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/app/controllers/decidim/proposals/collaborative_drafts_controller.rb +1 -1
- data/app/views/decidim/proposals/proposals/_filters.html.erb +32 -34
- data/app/views/decidim/proposals/proposals/_filters_small_view.html.erb +1 -1
- data/config/locales/es.yml +3 -3
- data/config/locales/pl.yml +20 -20
- data/lib/decidim/proposals/version.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b58a35a743ae0db25c4454f55ffe7514979bf217f453a71d42d2de4eed3a65f
|
4
|
+
data.tar.gz: 8d6df0cbfb9c6b8f974bb508be40ece45c87a0aa7be2b1efcf3fc30038d4c7f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffe7f175d86d25aabbfe21fe9b8de2c27422a7f8fa1f7ee9abbea81ac947562fb8eed95a1d2915bac7d2907b3c81e30c52ec75b4c26cc9ce026d245ea41db7d5
|
7
|
+
data.tar.gz: c54993408b404d5fd92c0e7030f0b08f22127ad384a4fbdf8b92a966f3a7a9c5b2c7e575ede7a0260bd1f8271989e4b4977fe8cbe96bd1aa8664b1ca8fd2e032
|
@@ -133,7 +133,7 @@ module Decidim
|
|
133
133
|
end
|
134
134
|
|
135
135
|
def geocoded_collaborative_draft
|
136
|
-
@geocoded_collaborative_draft ||= search.results.not_hidden.select(&:
|
136
|
+
@geocoded_collaborative_draft ||= search.results.not_hidden.select(&:geocoded_and_valid?)
|
137
137
|
end
|
138
138
|
|
139
139
|
def search_klass
|
@@ -1,48 +1,46 @@
|
|
1
1
|
<%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "proposals" } %>
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
<div class="
|
6
|
-
<div class="
|
7
|
-
|
8
|
-
|
9
|
-
<
|
10
|
-
|
11
|
-
|
12
|
-
</button>
|
13
|
-
</div>
|
3
|
+
<%= filter_form_for filter do |form| %>
|
4
|
+
<div class="filters__section">
|
5
|
+
<div class="filters__search">
|
6
|
+
<div class="input-group">
|
7
|
+
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), data: { disable_dynamic_change: true } %>
|
8
|
+
<div class="input-group-button">
|
9
|
+
<button type="submit" class="button" aria-controls="proposals">
|
10
|
+
<%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
|
11
|
+
</button>
|
14
12
|
</div>
|
15
13
|
</div>
|
16
14
|
</div>
|
15
|
+
</div>
|
17
16
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
<% if current_component.has_subscopes? %>
|
23
|
-
<%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope"), "aria-controls": "proposals" %>
|
24
|
-
<% end %>
|
17
|
+
<% if component_settings.proposal_answering_enabled && current_settings.proposal_answering_enabled %>
|
18
|
+
<%= form.check_boxes_tree :state, filter_proposals_state_values, legend_title: t(".state"), "aria-controls": "proposals" %>
|
19
|
+
<% end %>
|
25
20
|
|
26
|
-
|
27
|
-
|
28
|
-
|
21
|
+
<% if current_component.has_subscopes? %>
|
22
|
+
<%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope"), "aria-controls": "proposals" %>
|
23
|
+
<% end %>
|
29
24
|
|
30
|
-
|
31
|
-
|
32
|
-
|
25
|
+
<% if current_component.categories.any? %>
|
26
|
+
<%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category"), "aria-controls": "proposals" %>
|
27
|
+
<% end %>
|
33
28
|
|
34
|
-
|
35
|
-
|
36
|
-
|
29
|
+
<% if component_settings.official_proposals_enabled %>
|
30
|
+
<%= form.check_boxes_tree :origin, filter_origin_values, legend_title: t(".origin"), "aria-controls": "proposals" %>
|
31
|
+
<% end %>
|
37
32
|
|
38
|
-
|
39
|
-
|
40
|
-
|
33
|
+
<% if current_user %>
|
34
|
+
<%= form.collection_radio_buttons :activity, activity_filter_values, :first, :last, { legend_title: t(".activity") }, "aria-controls": "proposals" %>
|
35
|
+
<% end %>
|
41
36
|
|
42
|
-
|
43
|
-
|
44
|
-
|
37
|
+
<% if @proposals.only_emendations.any? %>
|
38
|
+
<%= form.collection_radio_buttons :type, filter_type_values, :first, :last, { legend_title: t(".amendment_type") }, "aria-controls": "proposals" %>
|
39
|
+
<% end %>
|
45
40
|
|
46
|
-
|
41
|
+
<% if linked_classes_for(Decidim::Proposals::Proposal).any? %>
|
42
|
+
<%= form.collection_radio_buttons :related_to, linked_classes_filter_values_for(Decidim::Proposals::Proposal), :first, :last, { legend_title: t(".related_to") }, "aria-controls": "proposals" %>
|
47
43
|
<% end %>
|
44
|
+
|
45
|
+
<%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
|
48
46
|
<% end %>
|
data/config/locales/es.yml
CHANGED
@@ -189,10 +189,10 @@ es:
|
|
189
189
|
email_subject: Alguien dejó una nota en la propuesta %{resource_title}.
|
190
190
|
notification_title: Alguien ha dejado una nota en la propuesta <a href="%{resource_path}">%{resource_title}</a>. Revísala ahora a través del <a href="%{admin_proposal_info_path}">panel de administración</a>
|
191
191
|
collaborative_draft_access_accepted:
|
192
|
-
email_intro: '%{requester_name} ha sido
|
192
|
+
email_intro: '%{requester_name} ha sido aceptada para acceder como contribuidora del borrador colaborativo de <a href="%{resource_path}">%{resource_title}</a>.'
|
193
193
|
email_outro: Has recibido esta notificación porque eres contribuidora de <a href="%{resource_path}">%{resource_title}</a>.
|
194
|
-
email_subject: "%{requester_name} ha sido
|
195
|
-
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> ha sido <strong>
|
194
|
+
email_subject: "%{requester_name} ha sido aceptada para acceder como contribuidora de %{resource_title}."
|
195
|
+
notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> ha sido <strong>aceptada para acceder como contribuidora</strong> del borrador colaborativo <a href="%{resource_path}">%{resource_title}</a>.
|
196
196
|
collaborative_draft_access_rejected:
|
197
197
|
email_intro: '%{requester_name} ha sido rechazado para acceder como contribuidora del borrador colaborativo de <a href="%{resource_path}">%{resource_title}</a>.'
|
198
198
|
email_outro: Has recibido esta notificación porque eres contribuidora de <a href="%{resource_path}">%{resource_title}</a>.
|
data/config/locales/pl.yml
CHANGED
@@ -38,7 +38,7 @@ pl:
|
|
38
38
|
keep_authors: Zachowaj oryginalnych autorów
|
39
39
|
valuation_assignment:
|
40
40
|
admin_log:
|
41
|
-
valuator_role_id: Imię
|
41
|
+
valuator_role_id: Imię weryfikatora
|
42
42
|
errors:
|
43
43
|
models:
|
44
44
|
participatory_text:
|
@@ -114,17 +114,17 @@ pl:
|
|
114
114
|
values:
|
115
115
|
'true': Bez odpowiedzi
|
116
116
|
valuator_role_ids_has:
|
117
|
-
label: Przypisano do
|
117
|
+
label: Przypisano do weryfikatora
|
118
118
|
search_placeholder:
|
119
119
|
id_string_or_title_cont: Wyszukaj %{collection} według ID lub tytułu.
|
120
120
|
components:
|
121
121
|
proposals:
|
122
122
|
actions:
|
123
123
|
amend: Popraw
|
124
|
-
create:
|
125
|
-
endorse:
|
126
|
-
vote:
|
127
|
-
withdraw:
|
124
|
+
create: Tworzenie
|
125
|
+
endorse: Rekomendacje
|
126
|
+
vote: Wspieranie
|
127
|
+
withdraw: Wycofywanie
|
128
128
|
name: Propozycje
|
129
129
|
settings:
|
130
130
|
global:
|
@@ -161,7 +161,7 @@ pl:
|
|
161
161
|
resources_permissions_enabled: Uprawnienia działań można ustawić dla każdej propozycji
|
162
162
|
scope_id: Zakres
|
163
163
|
scopes_enabled: Zakresy włączone
|
164
|
-
threshold_per_proposal:
|
164
|
+
threshold_per_proposal: Próg poparcia dla propozycji
|
165
165
|
vote_limit: Limit możliwych wsparć na użytkownika
|
166
166
|
step:
|
167
167
|
amendment_creation_enabled: Można tworzyć poprawki
|
@@ -439,7 +439,7 @@ pl:
|
|
439
439
|
select_a_meeting: Wybierz spotkanie
|
440
440
|
index:
|
441
441
|
actions: Działania
|
442
|
-
assign_to_valuator: Przypisz do
|
442
|
+
assign_to_valuator: Przypisz do weryfikatora
|
443
443
|
assign_to_valuator_button: Przypisz
|
444
444
|
cancel: Anuluj
|
445
445
|
change_category: Zmień kategorię
|
@@ -453,7 +453,7 @@ pl:
|
|
453
453
|
split: Podziel propozycje
|
454
454
|
split_button: Podziel
|
455
455
|
title: Propozycje
|
456
|
-
unassign_from_valuator: Anuluj przypisanie do
|
456
|
+
unassign_from_valuator: Anuluj przypisanie do weryfikatora
|
457
457
|
unassign_from_valuator_button: Anuluj przypisanie
|
458
458
|
update: Aktualizuj
|
459
459
|
update_scope_button: Aktualizuj zakres
|
@@ -465,7 +465,7 @@ pl:
|
|
465
465
|
select_a_proposal: Wybierz propozycję
|
466
466
|
show:
|
467
467
|
amendments_count: Liczba poprawek
|
468
|
-
assigned_valuators: Przypisani
|
468
|
+
assigned_valuators: Przypisani weryfikatorzy
|
469
469
|
authors: Autorzy
|
470
470
|
body: Treść
|
471
471
|
comments_count: Liczba komentarzy
|
@@ -488,8 +488,8 @@ pl:
|
|
488
488
|
ranking: "%{ranking} z %{total}"
|
489
489
|
related_meetings: Powiązane spotkania
|
490
490
|
remove_assignment: Usuń zadanie
|
491
|
-
remove_assignment_confirmation: Czy na pewno chcesz usunąć
|
492
|
-
valuators:
|
491
|
+
remove_assignment_confirmation: Czy na pewno chcesz usunąć przypisanie weryfikatora z tej propozycji?
|
492
|
+
valuators: Weryfikatorzy
|
493
493
|
votes_count: Liczba wsparć
|
494
494
|
votes_ranking: Ranking wg wsparć
|
495
495
|
update_category:
|
@@ -522,11 +522,11 @@ pl:
|
|
522
522
|
success: Pomyślnie podzielono propozycje.
|
523
523
|
valuation_assignments:
|
524
524
|
create:
|
525
|
-
invalid: Wystąpił błąd podczas przypisywania propozycji do
|
526
|
-
success: Przypisano propozycje do
|
525
|
+
invalid: Wystąpił błąd podczas przypisywania propozycji do weryfikatora
|
526
|
+
success: Przypisano propozycje do weryfikatora
|
527
527
|
delete:
|
528
|
-
invalid: Wystąpił błąd podczas
|
529
|
-
success: Anulowano przypisanie
|
528
|
+
invalid: Wystąpił błąd podczas usuwania przypisania propozycji do weryfikatora
|
529
|
+
success: Anulowano przypisanie weryfikatora do propozycji
|
530
530
|
admin_log:
|
531
531
|
proposal:
|
532
532
|
answer: "%{user_name} odpowiedział(a) na propozycję %{resource_name} w przestrzeni %{space_name}"
|
@@ -536,7 +536,7 @@ pl:
|
|
536
536
|
proposal_note:
|
537
537
|
create: "%{user_name} zostawił(a) prywatną notatkę do propozycji %{resource_name} w przestrzeni %{space_name}"
|
538
538
|
valuation_assignment:
|
539
|
-
create: "%{user_name} przypisał(a) propozycję %{resource_name} do
|
539
|
+
create: "%{user_name} przypisał(a) propozycję %{resource_name} do weryfikatora"
|
540
540
|
delete: "%{user_name} anulował(a) przypisanie taksatora do propozycji %{proposal_title}"
|
541
541
|
answers:
|
542
542
|
accepted: Zaakceptowano
|
@@ -698,8 +698,8 @@ pl:
|
|
698
698
|
scope: Zakres
|
699
699
|
state: Status
|
700
700
|
title: Tytuł
|
701
|
-
valuator:
|
702
|
-
valuators:
|
701
|
+
valuator: Weryfikator
|
702
|
+
valuators: Weryfikatorzy
|
703
703
|
votes: Głosy
|
704
704
|
new:
|
705
705
|
limit_reached: Nie możesz tworzyć nowych propozycji, ponieważ przekroczyłeś limit.
|
@@ -835,7 +835,7 @@ pl:
|
|
835
835
|
proposal_rejected_reason: 'Ta propozycja została odrzucona, ponieważ:'
|
836
836
|
read_less: Pokaż mniej
|
837
837
|
read_more: Pokaż więcej
|
838
|
-
report:
|
838
|
+
report: Zgłoś
|
839
839
|
withdraw_btn_hint: Możesz wycofać swoją propozycję, jeśli zmienisz zdanie, o ile nie otrzymałeś żadnego wsparcia. Propozycja nie zostanie usunięta, pojawi się na liście wycofanych propozycji.
|
840
840
|
withdraw_confirmation_html: Czy na pewno chcesz wycofać tę propozycję?<br><br><strong>Tej akcji nie można anulować!</strong>
|
841
841
|
withdraw_proposal: Wycofaj propozycję
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-proposals
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.24.
|
4
|
+
version: 0.24.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-06-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: acts_as_list
|
@@ -60,28 +60,28 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.24.
|
63
|
+
version: 0.24.3
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.24.
|
70
|
+
version: 0.24.3
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: decidim-core
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.24.
|
77
|
+
version: 0.24.3
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.24.
|
84
|
+
version: 0.24.3
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: doc2text
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,84 +156,84 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - '='
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.24.
|
159
|
+
version: 0.24.3
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - '='
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.24.
|
166
|
+
version: 0.24.3
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: decidim-assemblies
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - '='
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.24.
|
173
|
+
version: 0.24.3
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - '='
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.24.
|
180
|
+
version: 0.24.3
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: decidim-budgets
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - '='
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.24.
|
187
|
+
version: 0.24.3
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - '='
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.24.
|
194
|
+
version: 0.24.3
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: decidim-dev
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - '='
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: 0.24.
|
201
|
+
version: 0.24.3
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - '='
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: 0.24.
|
208
|
+
version: 0.24.3
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: decidim-meetings
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - '='
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0.24.
|
215
|
+
version: 0.24.3
|
216
216
|
type: :development
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - '='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.24.
|
222
|
+
version: 0.24.3
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: decidim-participatory_processes
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
227
|
- - '='
|
228
228
|
- !ruby/object:Gem::Version
|
229
|
-
version: 0.24.
|
229
|
+
version: 0.24.3
|
230
230
|
type: :development
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
234
|
- - '='
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
version: 0.24.
|
236
|
+
version: 0.24.3
|
237
237
|
description: A proposals component for decidim's participatory spaces.
|
238
238
|
email:
|
239
239
|
- josepjaume@gmail.com
|