decidim-accountability 0.19.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js.es6 +6 -42
- data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +8 -1
- data/app/assets/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +8 -0
- data/app/assets/stylesheets/decidim/accountability/accountability/_results.scss +0 -3
- data/app/cells/decidim/accountability/highlighted_results_for_component/show.erb +3 -3
- data/app/cells/decidim/accountability/highlighted_results_for_component_cell.rb +1 -1
- data/app/commands/decidim/accountability/admin/create_imported_result.rb +106 -0
- data/app/commands/decidim/accountability/admin/update_imported_result.rb +110 -0
- data/app/controllers/decidim/accountability/admin/import_results_controller.rb +34 -0
- data/app/controllers/decidim/accountability/admin/results_controller.rb +2 -20
- data/app/controllers/decidim/accountability/versions_controller.rb +7 -8
- data/app/jobs/application_job.rb +4 -0
- data/app/jobs/decidim/accountability/admin/import_results_csv_job.rb +19 -0
- data/app/mailers/decidim/accountability/import_mailer.rb +26 -0
- data/app/models/decidim/accountability/result.rb +9 -0
- data/app/queries/decidim/accountability/metrics/results_metric_manage.rb +2 -8
- data/app/services/decidim/accountability/results_csv_importer.rb +139 -0
- data/app/types/decidim/accountability/accountability_type.rb +32 -0
- data/app/types/decidim/accountability/result_type.rb +35 -0
- data/app/types/decidim/accountability/status_type.rb +20 -0
- data/app/types/decidim/accountability/timeline_entry_type.rb +18 -0
- data/app/views/decidim/accountability/admin/import_results/new.html.erb +22 -0
- data/app/views/decidim/accountability/admin/results/_form.html.erb +1 -5
- data/app/views/decidim/accountability/admin/results/index.html.erb +1 -0
- data/app/views/decidim/accountability/admin/results/proposals_picker.html.erb +1 -0
- data/app/views/decidim/accountability/import_mailer/import.html.erb +25 -0
- data/app/views/decidim/accountability/results/_linked_results.html.erb +1 -1
- data/app/views/decidim/accountability/results/_results_leaf.html.erb +5 -5
- data/app/views/decidim/accountability/results/_results_parent.html.erb +2 -2
- data/app/views/decidim/accountability/results/_scope_filters.html.erb +16 -3
- data/app/views/decidim/accountability/results/_search.html.erb +3 -3
- data/app/views/decidim/accountability/results/_stats_box.html.erb +11 -4
- data/app/views/decidim/accountability/results/_timeline.html.erb +2 -2
- data/app/views/decidim/accountability/versions/index.html.erb +7 -25
- data/app/views/decidim/accountability/versions/show.html.erb +9 -31
- data/app/views/decidim/participatory_spaces/_result.html.erb +3 -3
- data/config/locales/ar.yml +1 -24
- data/config/locales/bg-BG.yml +220 -0
- data/config/locales/ca.yml +19 -22
- data/config/locales/cs.yml +44 -47
- data/config/locales/da-DK.yml +1 -0
- data/config/locales/de.yml +19 -22
- data/config/locales/el-GR.yml +1 -0
- data/config/locales/el.yml +223 -0
- data/config/locales/en.yml +19 -22
- data/config/locales/es-MX.yml +19 -22
- data/config/locales/es-PY.yml +19 -22
- data/config/locales/es.yml +19 -22
- data/config/locales/et-EE.yml +1 -0
- data/config/locales/eu.yml +1 -24
- data/config/locales/fi-plain.yml +19 -22
- data/config/locales/fi.yml +32 -35
- data/config/locales/fr-CA.yml +222 -0
- data/config/locales/fr.yml +18 -22
- data/config/locales/ga-IE.yml +1 -0
- data/config/locales/gl.yml +1 -24
- data/config/locales/hr-HR.yml +1 -0
- data/config/locales/hu.yml +18 -22
- data/config/locales/id-ID.yml +1 -24
- data/config/locales/is-IS.yml +177 -0
- data/config/locales/it.yml +37 -40
- data/config/locales/ja-JP.yml +221 -0
- data/config/locales/lt-LT.yml +1 -0
- data/config/locales/lv-LV.yml +218 -0
- data/config/locales/mt-MT.yml +1 -0
- data/config/locales/nl.yml +19 -23
- data/config/locales/no.yml +218 -0
- data/config/locales/pl.yml +46 -49
- data/config/locales/pt-BR.yml +2 -25
- data/config/locales/pt.yml +59 -62
- data/config/locales/ro-RO.yml +223 -0
- data/config/locales/ru.yml +13 -21
- data/config/locales/sk-SK.yml +224 -0
- data/config/locales/sk.yml +207 -0
- data/config/locales/sl.yml +129 -0
- data/config/locales/sr-CS.yml +205 -0
- data/config/locales/sv.yml +21 -24
- data/config/locales/tr-TR.yml +1 -24
- data/config/locales/uk.yml +1 -21
- data/db/migrate/20200320105903_index_foreign_keys_in_decidim_accountability_results.rb +7 -0
- data/lib/decidim/accountability/admin_engine.rb +4 -3
- data/lib/decidim/accountability/component.rb +2 -0
- data/lib/decidim/accountability/version.rb +1 -1
- metadata +62 -25
- data/app/views/decidim/accountability/admin/results/_proposals.html.erb +0 -12
- data/app/views/decidim/accountability/versions/_version.html.erb +0 -20
data/config/locales/uk.yml
CHANGED
@@ -59,17 +59,11 @@ uk:
|
|
59
59
|
edit:
|
60
60
|
title: Редагувати підсумки
|
61
61
|
update: Оновити підсумки
|
62
|
-
form:
|
63
|
-
add_proposal: Додати пропозицію
|
64
62
|
index:
|
65
63
|
title: Підсумки
|
66
64
|
new:
|
67
65
|
create: Створити підсумки
|
68
66
|
title: Додати підсумки
|
69
|
-
proposals:
|
70
|
-
close: Закрити
|
71
|
-
current_selection: Поточний вибір
|
72
|
-
select: Оберіть
|
73
67
|
update:
|
74
68
|
invalid: При спробі оновити ці підсумки сталася помилка
|
75
69
|
success: Підсумки успішно оновлено
|
@@ -158,30 +152,16 @@ uk:
|
|
158
152
|
show:
|
159
153
|
stats:
|
160
154
|
attendees: Учасники
|
161
|
-
|
155
|
+
back_to_resource: Повернутися до підсумків
|
162
156
|
comments: Коментарів
|
163
157
|
contributions: Внесені пропозиції
|
164
158
|
last_edited_by: Останній раз редагувалося
|
165
159
|
last_updated_at: Останній раз оновлювалося
|
166
160
|
meetings: Зустрічі
|
167
|
-
number_of_versions: Версії
|
168
161
|
proposals: Пропозиції
|
169
|
-
show_all_versions: Показати всі версії
|
170
|
-
version_author: Автор версії
|
171
|
-
version_created_at: 'Версію створено:'
|
172
|
-
version_number: Номер версії
|
173
|
-
version_number_out_of_total: "%{current_version} з %{total_count}"
|
174
162
|
votes: Підтримує
|
175
163
|
timeline:
|
176
164
|
title: Розвиток проекту
|
177
|
-
versions:
|
178
|
-
index:
|
179
|
-
changes_at_title: Зміни в "%{title}"
|
180
|
-
title: Версії
|
181
|
-
show:
|
182
|
-
changes_at_title: Зміни в "%{title}"
|
183
|
-
version:
|
184
|
-
version_index: Версія %{index}
|
185
165
|
components:
|
186
166
|
accountability:
|
187
167
|
name: Звітність
|
@@ -14,11 +14,12 @@ module Decidim
|
|
14
14
|
routes do
|
15
15
|
resources :statuses
|
16
16
|
resources :results, except: [:show] do
|
17
|
+
get :proposals_picker, on: :collection
|
18
|
+
|
17
19
|
resources :timeline_entries, except: [:show]
|
18
|
-
collection do
|
19
|
-
get :proposals
|
20
|
-
end
|
21
20
|
end
|
21
|
+
get :import_results, to: "import_results#new"
|
22
|
+
post :import_results, to: "import_results#create"
|
22
23
|
root to: "results#index"
|
23
24
|
end
|
24
25
|
|
@@ -8,6 +8,7 @@ Decidim.register_component(:accountability) do |component|
|
|
8
8
|
component.icon = "decidim/accountability/icon.svg"
|
9
9
|
component.stylesheet = "decidim/accountability/accountability"
|
10
10
|
component.permissions_class_name = "Decidim::Accountability::Permissions"
|
11
|
+
component.query_type = "Decidim::Accountability::AccountabilityType"
|
11
12
|
|
12
13
|
component.on(:before_destroy) do |instance|
|
13
14
|
raise StandardError, "Can't remove this component" if Decidim::Accountability::Result.where(component: instance).any?
|
@@ -17,6 +18,7 @@ Decidim.register_component(:accountability) do |component|
|
|
17
18
|
resource.model_class_name = "Decidim::Accountability::Result"
|
18
19
|
resource.template = "decidim/accountability/results/linked_results"
|
19
20
|
resource.card = "decidim/accountability/result"
|
21
|
+
resource.searchable = false
|
20
22
|
end
|
21
23
|
|
22
24
|
component.settings(:global) do |settings|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-accountability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0
|
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:
|
13
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-comments
|
@@ -18,42 +18,48 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 0.22.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
28
|
+
version: 0.22.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-core
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.22.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.22.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: kaminari
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: '1.
|
49
|
+
version: '1.2'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.2.1
|
50
53
|
type: :runtime
|
51
54
|
prerelease: false
|
52
55
|
version_requirements: !ruby/object:Gem::Requirement
|
53
56
|
requirements:
|
54
57
|
- - "~>"
|
55
58
|
- !ruby/object:Gem::Version
|
56
|
-
version: '1.
|
59
|
+
version: '1.2'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.2.1
|
57
63
|
- !ruby/object:Gem::Dependency
|
58
64
|
name: searchlight
|
59
65
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,98 +80,98 @@ dependencies:
|
|
74
80
|
requirements:
|
75
81
|
- - '='
|
76
82
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
83
|
+
version: 0.22.0
|
78
84
|
type: :development
|
79
85
|
prerelease: false
|
80
86
|
version_requirements: !ruby/object:Gem::Requirement
|
81
87
|
requirements:
|
82
88
|
- - '='
|
83
89
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
90
|
+
version: 0.22.0
|
85
91
|
- !ruby/object:Gem::Dependency
|
86
92
|
name: decidim-assemblies
|
87
93
|
requirement: !ruby/object:Gem::Requirement
|
88
94
|
requirements:
|
89
95
|
- - '='
|
90
96
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
97
|
+
version: 0.22.0
|
92
98
|
type: :development
|
93
99
|
prerelease: false
|
94
100
|
version_requirements: !ruby/object:Gem::Requirement
|
95
101
|
requirements:
|
96
102
|
- - '='
|
97
103
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
104
|
+
version: 0.22.0
|
99
105
|
- !ruby/object:Gem::Dependency
|
100
106
|
name: decidim-comments
|
101
107
|
requirement: !ruby/object:Gem::Requirement
|
102
108
|
requirements:
|
103
109
|
- - '='
|
104
110
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
111
|
+
version: 0.22.0
|
106
112
|
type: :development
|
107
113
|
prerelease: false
|
108
114
|
version_requirements: !ruby/object:Gem::Requirement
|
109
115
|
requirements:
|
110
116
|
- - '='
|
111
117
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.
|
118
|
+
version: 0.22.0
|
113
119
|
- !ruby/object:Gem::Dependency
|
114
120
|
name: decidim-dev
|
115
121
|
requirement: !ruby/object:Gem::Requirement
|
116
122
|
requirements:
|
117
123
|
- - '='
|
118
124
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
125
|
+
version: 0.22.0
|
120
126
|
type: :development
|
121
127
|
prerelease: false
|
122
128
|
version_requirements: !ruby/object:Gem::Requirement
|
123
129
|
requirements:
|
124
130
|
- - '='
|
125
131
|
- !ruby/object:Gem::Version
|
126
|
-
version: 0.
|
132
|
+
version: 0.22.0
|
127
133
|
- !ruby/object:Gem::Dependency
|
128
134
|
name: decidim-meetings
|
129
135
|
requirement: !ruby/object:Gem::Requirement
|
130
136
|
requirements:
|
131
137
|
- - '='
|
132
138
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.
|
139
|
+
version: 0.22.0
|
134
140
|
type: :development
|
135
141
|
prerelease: false
|
136
142
|
version_requirements: !ruby/object:Gem::Requirement
|
137
143
|
requirements:
|
138
144
|
- - '='
|
139
145
|
- !ruby/object:Gem::Version
|
140
|
-
version: 0.
|
146
|
+
version: 0.22.0
|
141
147
|
- !ruby/object:Gem::Dependency
|
142
148
|
name: decidim-participatory_processes
|
143
149
|
requirement: !ruby/object:Gem::Requirement
|
144
150
|
requirements:
|
145
151
|
- - '='
|
146
152
|
- !ruby/object:Gem::Version
|
147
|
-
version: 0.
|
153
|
+
version: 0.22.0
|
148
154
|
type: :development
|
149
155
|
prerelease: false
|
150
156
|
version_requirements: !ruby/object:Gem::Requirement
|
151
157
|
requirements:
|
152
158
|
- - '='
|
153
159
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.
|
160
|
+
version: 0.22.0
|
155
161
|
- !ruby/object:Gem::Dependency
|
156
162
|
name: decidim-proposals
|
157
163
|
requirement: !ruby/object:Gem::Requirement
|
158
164
|
requirements:
|
159
165
|
- - '='
|
160
166
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.
|
167
|
+
version: 0.22.0
|
162
168
|
type: :development
|
163
169
|
prerelease: false
|
164
170
|
version_requirements: !ruby/object:Gem::Requirement
|
165
171
|
requirements:
|
166
172
|
- - '='
|
167
173
|
- !ruby/object:Gem::Version
|
168
|
-
version: 0.
|
174
|
+
version: 0.22.0
|
169
175
|
description: An accountability component for decidim's participatory spaces.
|
170
176
|
email:
|
171
177
|
- josepjaume@gmail.com
|
@@ -193,14 +199,17 @@ files:
|
|
193
199
|
- app/cells/decidim/accountability/highlighted_results_for_component/show.erb
|
194
200
|
- app/cells/decidim/accountability/highlighted_results_for_component_cell.rb
|
195
201
|
- app/cells/decidim/accountability/result_activity_cell.rb
|
202
|
+
- app/commands/decidim/accountability/admin/create_imported_result.rb
|
196
203
|
- app/commands/decidim/accountability/admin/create_result.rb
|
197
204
|
- app/commands/decidim/accountability/admin/create_status.rb
|
198
205
|
- app/commands/decidim/accountability/admin/create_timeline_entry.rb
|
199
206
|
- app/commands/decidim/accountability/admin/destroy_result.rb
|
207
|
+
- app/commands/decidim/accountability/admin/update_imported_result.rb
|
200
208
|
- app/commands/decidim/accountability/admin/update_result.rb
|
201
209
|
- app/commands/decidim/accountability/admin/update_status.rb
|
202
210
|
- app/commands/decidim/accountability/admin/update_timeline_entry.rb
|
203
211
|
- app/controllers/decidim/accountability/admin/application_controller.rb
|
212
|
+
- app/controllers/decidim/accountability/admin/import_results_controller.rb
|
204
213
|
- app/controllers/decidim/accountability/admin/results_controller.rb
|
205
214
|
- app/controllers/decidim/accountability/admin/statuses_controller.rb
|
206
215
|
- app/controllers/decidim/accountability/admin/timeline_entries_controller.rb
|
@@ -215,6 +224,9 @@ files:
|
|
215
224
|
- app/forms/decidim/accountability/admin/timeline_entry_form.rb
|
216
225
|
- app/helpers/decidim/accountability/application_helper.rb
|
217
226
|
- app/helpers/decidim/accountability/breadcrumb_helper.rb
|
227
|
+
- app/jobs/application_job.rb
|
228
|
+
- app/jobs/decidim/accountability/admin/import_results_csv_job.rb
|
229
|
+
- app/mailers/decidim/accountability/import_mailer.rb
|
218
230
|
- app/models/decidim/accountability/application_record.rb
|
219
231
|
- app/models/decidim/accountability/result.rb
|
220
232
|
- app/models/decidim/accountability/status.rb
|
@@ -228,11 +240,17 @@ files:
|
|
228
240
|
- app/services/decidim/accountability/result_search.rb
|
229
241
|
- app/services/decidim/accountability/result_stats_calculator.rb
|
230
242
|
- app/services/decidim/accountability/results_calculator.rb
|
243
|
+
- app/services/decidim/accountability/results_csv_importer.rb
|
244
|
+
- app/types/decidim/accountability/accountability_type.rb
|
245
|
+
- app/types/decidim/accountability/result_type.rb
|
246
|
+
- app/types/decidim/accountability/status_type.rb
|
247
|
+
- app/types/decidim/accountability/timeline_entry_type.rb
|
248
|
+
- app/views/decidim/accountability/admin/import_results/new.html.erb
|
231
249
|
- app/views/decidim/accountability/admin/results/_form.html.erb
|
232
|
-
- app/views/decidim/accountability/admin/results/_proposals.html.erb
|
233
250
|
- app/views/decidim/accountability/admin/results/edit.html.erb
|
234
251
|
- app/views/decidim/accountability/admin/results/index.html.erb
|
235
252
|
- app/views/decidim/accountability/admin/results/new.html.erb
|
253
|
+
- app/views/decidim/accountability/admin/results/proposals_picker.html.erb
|
236
254
|
- app/views/decidim/accountability/admin/shared/_subnav.html.erb
|
237
255
|
- app/views/decidim/accountability/admin/statuses/_form.html.erb
|
238
256
|
- app/views/decidim/accountability/admin/statuses/edit.html.erb
|
@@ -242,6 +260,7 @@ files:
|
|
242
260
|
- app/views/decidim/accountability/admin/timeline_entries/edit.html.erb
|
243
261
|
- app/views/decidim/accountability/admin/timeline_entries/index.html.erb
|
244
262
|
- app/views/decidim/accountability/admin/timeline_entries/new.html.erb
|
263
|
+
- app/views/decidim/accountability/import_mailer/import.html.erb
|
245
264
|
- app/views/decidim/accountability/result_widgets/show.html.erb
|
246
265
|
- app/views/decidim/accountability/results/_home_categories.html.erb
|
247
266
|
- app/views/decidim/accountability/results/_home_header.html.erb
|
@@ -260,7 +279,6 @@ files:
|
|
260
279
|
- app/views/decidim/accountability/results/index.html.erb
|
261
280
|
- app/views/decidim/accountability/results/index.js.erb
|
262
281
|
- app/views/decidim/accountability/results/show.html.erb
|
263
|
-
- app/views/decidim/accountability/versions/_version.html.erb
|
264
282
|
- app/views/decidim/accountability/versions/index.html.erb
|
265
283
|
- app/views/decidim/accountability/versions/show.html.erb
|
266
284
|
- app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb
|
@@ -268,30 +286,48 @@ files:
|
|
268
286
|
- app/views/decidim/participatory_spaces/_result.html.erb
|
269
287
|
- config/locales/ar-SA.yml
|
270
288
|
- config/locales/ar.yml
|
289
|
+
- config/locales/bg-BG.yml
|
271
290
|
- config/locales/ca.yml
|
272
291
|
- config/locales/cs-CZ.yml
|
273
292
|
- config/locales/cs.yml
|
293
|
+
- config/locales/da-DK.yml
|
274
294
|
- config/locales/de.yml
|
295
|
+
- config/locales/el-GR.yml
|
296
|
+
- config/locales/el.yml
|
275
297
|
- config/locales/en.yml
|
276
298
|
- config/locales/eo-UY.yml
|
277
299
|
- config/locales/es-MX.yml
|
278
300
|
- config/locales/es-PY.yml
|
279
301
|
- config/locales/es.yml
|
302
|
+
- config/locales/et-EE.yml
|
280
303
|
- config/locales/eu.yml
|
281
304
|
- config/locales/fi-pl.yml
|
282
305
|
- config/locales/fi-plain.yml
|
283
306
|
- config/locales/fi.yml
|
307
|
+
- config/locales/fr-CA.yml
|
284
308
|
- config/locales/fr.yml
|
309
|
+
- config/locales/ga-IE.yml
|
285
310
|
- config/locales/gl.yml
|
311
|
+
- config/locales/hr-HR.yml
|
286
312
|
- config/locales/hu.yml
|
287
313
|
- config/locales/id-ID.yml
|
314
|
+
- config/locales/is-IS.yml
|
288
315
|
- config/locales/it.yml
|
316
|
+
- config/locales/ja-JP.yml
|
317
|
+
- config/locales/lt-LT.yml
|
318
|
+
- config/locales/lv-LV.yml
|
319
|
+
- config/locales/mt-MT.yml
|
289
320
|
- config/locales/nl.yml
|
290
321
|
- config/locales/no.yml
|
291
322
|
- config/locales/pl.yml
|
292
323
|
- config/locales/pt-BR.yml
|
293
324
|
- config/locales/pt.yml
|
325
|
+
- config/locales/ro-RO.yml
|
294
326
|
- config/locales/ru.yml
|
327
|
+
- config/locales/sk-SK.yml
|
328
|
+
- config/locales/sk.yml
|
329
|
+
- config/locales/sl.yml
|
330
|
+
- config/locales/sr-CS.yml
|
295
331
|
- config/locales/sv.yml
|
296
332
|
- config/locales/tr-TR.yml
|
297
333
|
- config/locales/uk.yml
|
@@ -305,6 +341,7 @@ files:
|
|
305
341
|
- db/migrate/20180305133145_rename_features_to_components_at_accountability.rb
|
306
342
|
- db/migrate/20180508170210_add_weight_to_results.rb
|
307
343
|
- db/migrate/20180508170647_add_external_id_to_results.rb
|
344
|
+
- db/migrate/20200320105903_index_foreign_keys_in_decidim_accountability_results.rb
|
308
345
|
- lib/decidim/accountability.rb
|
309
346
|
- lib/decidim/accountability/admin.rb
|
310
347
|
- lib/decidim/accountability/admin_engine.rb
|
@@ -333,7 +370,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
333
370
|
- !ruby/object:Gem::Version
|
334
371
|
version: '0'
|
335
372
|
requirements: []
|
336
|
-
rubygems_version: 3.
|
373
|
+
rubygems_version: 3.1.2
|
337
374
|
signing_key:
|
338
375
|
specification_version: 4
|
339
376
|
summary: Decidim accountability module
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div class="picker-header">
|
2
|
-
<h1><%= t(".current_selection") %></h1>
|
3
|
-
</div>
|
4
|
-
<div class="picker-content">
|
5
|
-
<input type="text" name="proposal-search" id="data_picker-autocomplete">
|
6
|
-
</div>
|
7
|
-
<div class="picker-footer">
|
8
|
-
<div class="buttons button--double">
|
9
|
-
<a id="proposal-picker-choose" class="button mute" href="<%= proposals_results_path(current_component, format: :json) %>" data-picker-value="" data-picker-text="" data-picker-choose><%= t(".select") %></a>
|
10
|
-
<a class="button clear" data-close=""><%= t(".close") %></a>
|
11
|
-
</div>
|
12
|
-
</div>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<div class="card--list__item">
|
2
|
-
<div class="card--list__text">
|
3
|
-
<div>
|
4
|
-
<%= link_to result_version_path(result, index + 1) do %>
|
5
|
-
<h6 class="card--list__heading heading6">
|
6
|
-
<%= t(".version_index", index: index + 1) %>
|
7
|
-
</h6>
|
8
|
-
<% end %>
|
9
|
-
<div class="author-data">
|
10
|
-
<%= render_resource_editor(version) %>
|
11
|
-
<%= l version.created_at, format: :decidim_short %>
|
12
|
-
</div>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
<div class="card--list__data">
|
16
|
-
<%= link_to result_version_path(result, index + 1), class: "card--list__data__icon" do %>
|
17
|
-
<%= icon "chevron-right" %>
|
18
|
-
<% end %>
|
19
|
-
</div>
|
20
|
-
</div>
|