decidim-accountability 0.23.5 → 0.24.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +5 -4
  3. data/app/cells/decidim/accountability/content_blocks/highlighted_results/elements.erb +5 -0
  4. data/app/cells/decidim/accountability/content_blocks/highlighted_results/heading.erb +1 -0
  5. data/app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb +18 -0
  6. data/app/cells/decidim/accountability/result_cell.rb +21 -0
  7. data/app/cells/decidim/accountability/result_m/data.erb +23 -0
  8. data/app/cells/decidim/accountability/result_m/footer.erb +22 -0
  9. data/app/cells/decidim/accountability/result_m/tags.erb +1 -0
  10. data/app/cells/decidim/accountability/result_m_cell.rb +37 -0
  11. data/app/controllers/concerns/decidim/accountability/admin/filterable.rb +59 -0
  12. data/app/controllers/decidim/accountability/admin/attachment_collections_controller.rb +32 -0
  13. data/app/controllers/decidim/accountability/admin/attachments_controller.rb +32 -0
  14. data/app/controllers/decidim/accountability/admin/results_controller.rb +7 -2
  15. data/app/helpers/decidim/accountability/admin/filterable_helper.rb +10 -0
  16. data/app/helpers/decidim/accountability/breadcrumb_helper.rb +3 -1
  17. data/app/models/decidim/accountability/result.rb +15 -2
  18. data/app/models/decidim/accountability/status.rb +5 -0
  19. data/app/views/decidim/accountability/admin/results/index.html.erb +52 -2
  20. data/app/views/decidim/accountability/results/_show_leaf.html.erb +2 -0
  21. data/app/views/decidim/accountability/results/_show_parent.html.erb +2 -0
  22. data/config/locales/ar.yml +0 -4
  23. data/config/locales/bg.yml +0 -4
  24. data/config/locales/ca.yml +24 -4
  25. data/config/locales/cs.yml +24 -4
  26. data/config/locales/da.yml +0 -4
  27. data/config/locales/de.yml +24 -4
  28. data/config/locales/el.yml +0 -4
  29. data/config/locales/en.yml +24 -4
  30. data/config/locales/es-MX.yml +24 -4
  31. data/config/locales/es-PY.yml +24 -4
  32. data/config/locales/es.yml +24 -4
  33. data/config/locales/eu.yml +0 -4
  34. data/config/locales/fi-plain.yml +24 -4
  35. data/config/locales/fi.yml +24 -4
  36. data/config/locales/fr-CA.yml +24 -4
  37. data/config/locales/fr.yml +24 -4
  38. data/config/locales/gl.yml +24 -4
  39. data/config/locales/hu.yml +0 -4
  40. data/config/locales/id-ID.yml +0 -4
  41. data/config/locales/is-IS.yml +24 -4
  42. data/config/locales/it.yml +24 -4
  43. data/config/locales/ja.yml +24 -4
  44. data/config/locales/lv.yml +0 -4
  45. data/config/locales/nl.yml +24 -4
  46. data/config/locales/no.yml +21 -4
  47. data/config/locales/pl.yml +24 -4
  48. data/config/locales/pt-BR.yml +0 -4
  49. data/config/locales/pt.yml +0 -4
  50. data/config/locales/ro-RO.yml +24 -4
  51. data/config/locales/ru.yml +0 -4
  52. data/config/locales/si-LK.yml +3 -0
  53. data/config/locales/sk.yml +7 -4
  54. data/config/locales/sl.yml +0 -4
  55. data/config/locales/sr-CS.yml +0 -4
  56. data/config/locales/sv.yml +27 -7
  57. data/config/locales/tr-TR.yml +22 -4
  58. data/config/locales/uk.yml +0 -4
  59. data/config/locales/zh-CN.yml +0 -4
  60. data/lib/decidim/accountability.rb +1 -0
  61. data/lib/decidim/accountability/admin_engine.rb +2 -0
  62. data/lib/decidim/accountability/api.rb +10 -0
  63. data/lib/decidim/accountability/component.rb +20 -8
  64. data/lib/decidim/accountability/engine.rb +0 -17
  65. data/lib/decidim/accountability/version.rb +1 -1
  66. data/lib/decidim/api/accountability_type.rb +26 -0
  67. data/lib/decidim/api/result_type.rb +32 -0
  68. data/lib/decidim/api/status_type.rb +19 -0
  69. data/lib/decidim/api/timeline_entry_type.rb +17 -0
  70. metadata +39 -28
  71. data/app/types/decidim/accountability/accountability_type.rb +0 -32
  72. data/app/types/decidim/accountability/result_type.rb +0 -35
  73. data/app/types/decidim/accountability/status_type.rb +0 -20
  74. data/app/types/decidim/accountability/timeline_entry_type.rb +0 -18
  75. data/app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_results.html.erb +0 -12
  76. data/app/views/decidim/participatory_processes/participatory_process_groups/_result.html.erb +0 -32
@@ -32,6 +32,8 @@ gl:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Cartafoles
36
+ attachments: Ficheiros anexos
35
37
  confirm_destroy: Estás seguro de que queres eliminar este %{name}?
36
38
  destroy: Eliminar
37
39
  edit: Editar
@@ -42,6 +44,7 @@ gl:
42
44
  title: Accións
43
45
  admin:
44
46
  exports:
47
+ result_comments: Comentarios
45
48
  results: Resultados
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@ gl:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Non se atopou o pai na base de datos (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Datas
130
+ results: Resultados
131
+ unspecified: Sen especificar
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Erros
@@ -133,8 +141,12 @@ gl:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Categoría
145
+ created_at: Creado
136
146
  end_date: Data de finalización
147
+ id: ID
137
148
  progress: Progreso
149
+ scope: Ámbito
138
150
  start_date: Data de inicio
139
151
  status: Estado
140
152
  title: Título
@@ -148,6 +160,9 @@ gl:
148
160
  fields:
149
161
  description: Descrición
150
162
  entry_date: Data
163
+ result_m:
164
+ executed: Executado
165
+ view: Ver
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ gl:
178
193
  votes: Soporta
179
194
  timeline:
180
195
  title: Evolución do proxecto
196
+ admin:
197
+ filters:
198
+ results:
199
+ category_id_eq:
200
+ label: Categoría
201
+ scope_id_eq:
202
+ label: Ámbito
203
+ status_id_eq:
204
+ label: Estado
181
205
  components:
182
206
  accountability:
183
207
  name: Responsabilidade
@@ -212,10 +236,6 @@ gl:
212
236
  description: Número de resultados xerados
213
237
  object: resultados
214
238
  title: Resultados
215
- participatory_processes:
216
- participatory_process_groups:
217
- highlighted_results:
218
- results: Resultados
219
239
  participatory_spaces:
220
240
  highlighted_results:
221
241
  see_all: Ver todos os resultados (%{count})
@@ -209,10 +209,6 @@ hu:
209
209
  description: A keletkezett eredmények száma
210
210
  object: eredmények
211
211
  title: Eredmények
212
- participatory_processes:
213
- participatory_process_groups:
214
- highlighted_results:
215
- results: Eredmények
216
212
  participatory_spaces:
217
213
  highlighted_results:
218
214
  see_all: Eredmények megtekintése (%{count})
@@ -190,10 +190,6 @@ id:
190
190
  description: Jumlah hasil yang dihasilkan
191
191
  object: hasil
192
192
  title: Hasil
193
- participatory_processes:
194
- participatory_process_groups:
195
- highlighted_results:
196
- results: Hasil
197
193
  resource_links:
198
194
  included_projects:
199
195
  result_project: Proyek termasuk dalam hasil ini
@@ -31,6 +31,8 @@ is-IS:
31
31
  decidim:
32
32
  accountability:
33
33
  actions:
34
+ attachment_collections: Mappa
35
+ attachments: Viðhengi
34
36
  confirm_destroy: Ertu viss um að þú viljir eyða þessu %{name}?
35
37
  destroy: Eyða
36
38
  edit: Breyta
@@ -41,6 +43,7 @@ is-IS:
41
43
  title: Aðgerðir
42
44
  admin:
43
45
  exports:
46
+ result_comments: Athugasemdir
44
47
  results: Niðurstöður
45
48
  import_results:
46
49
  new:
@@ -113,6 +116,11 @@ is-IS:
113
116
  value_types:
114
117
  parent_presenter:
115
118
  not_found: 'Móðirin fannst ekki í gagnagrunninum (ID: %{id})'
119
+ content_blocks:
120
+ highlighted_results:
121
+ dates: Dagsetningar
122
+ results: Niðurstöður
123
+ unspecified: Ekki tilgreint
116
124
  import_mailer:
117
125
  import:
118
126
  errors: Villur
@@ -120,8 +128,12 @@ is-IS:
120
128
  models:
121
129
  result:
122
130
  fields:
131
+ category: Flokkur
132
+ created_at: Stofnað
123
133
  end_date: Loka dagsetning
134
+ id: ID
124
135
  progress: Framfarir
136
+ scope: Gildissvið
125
137
  start_date: Upphafsdagur
126
138
  status: Staða
127
139
  title: Titill
@@ -135,6 +147,9 @@ is-IS:
135
147
  fields:
136
148
  description: Lýsing
137
149
  entry_date: Dagsetning
150
+ result_m:
151
+ executed: Framkvæmt
152
+ view: Skoða
138
153
  results:
139
154
  count:
140
155
  results_count:
@@ -165,6 +180,15 @@ is-IS:
165
180
  votes: Styður
166
181
  timeline:
167
182
  title: Verkefnisþróun
183
+ admin:
184
+ filters:
185
+ results:
186
+ category_id_eq:
187
+ label: Flokkur
188
+ scope_id_eq:
189
+ label: Gildissvið
190
+ status_id_eq:
191
+ label: Staða
168
192
  components:
169
193
  accountability:
170
194
  name: Ábyrgð
@@ -192,10 +216,6 @@ is-IS:
192
216
  results:
193
217
  object: niðurstöður
194
218
  title: Niðurstöður
195
- participatory_processes:
196
- participatory_process_groups:
197
- highlighted_results:
198
- results: Niðurstöður
199
219
  participatory_spaces:
200
220
  highlighted_results:
201
221
  see_all: Sjá allar niðurstöður (%{count})
@@ -32,6 +32,8 @@ it:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Cartelle
36
+ attachments: Allegati
35
37
  confirm_destroy: Sei sicuro di voler eliminare questo %{name}?
36
38
  destroy: Cancella
37
39
  edit: Modifica
@@ -42,6 +44,7 @@ it:
42
44
  title: Azioni
43
45
  admin:
44
46
  exports:
47
+ result_comments: Commenti
45
48
  results: Risultati
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@ it:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Il genitore non è stato trovato sul database (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Date
130
+ results: Risultati
131
+ unspecified: Non specificato
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Errori
@@ -133,8 +141,12 @@ it:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Categoria
145
+ created_at: Creato
136
146
  end_date: Data di fine
147
+ id: ID
137
148
  progress: Avanzamento
149
+ scope: Ambito
138
150
  start_date: Data di inizio
139
151
  status: Stato
140
152
  title: Titolo
@@ -148,6 +160,9 @@ it:
148
160
  fields:
149
161
  description: Descrizione
150
162
  entry_date: Data
163
+ result_m:
164
+ executed: Eseguito
165
+ view: Visualizza
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ it:
178
193
  votes: Voti
179
194
  timeline:
180
195
  title: Evoluzione del progetto
196
+ admin:
197
+ filters:
198
+ results:
199
+ category_id_eq:
200
+ label: Categoria
201
+ scope_id_eq:
202
+ label: Ambito
203
+ status_id_eq:
204
+ label: Stato
181
205
  components:
182
206
  accountability:
183
207
  name: Accountability
@@ -212,10 +236,6 @@ it:
212
236
  description: Numero di risultati generati
213
237
  object: risultati
214
238
  title: Risultati
215
- participatory_processes:
216
- participatory_process_groups:
217
- highlighted_results:
218
- results: Risultati
219
239
  participatory_spaces:
220
240
  highlighted_results:
221
241
  see_all: Vedi tutti i risultati (%{count})
@@ -31,6 +31,8 @@ ja:
31
31
  decidim:
32
32
  accountability:
33
33
  actions:
34
+ attachment_collections: フォルダー
35
+ attachments: 添付ファイル
34
36
  confirm_destroy: この %{name} を削除してもよろしいですか?
35
37
  destroy: 削除
36
38
  edit: 編集
@@ -41,6 +43,7 @@ ja:
41
43
  title: アクション
42
44
  admin:
43
45
  exports:
46
+ result_comments: コメント
44
47
  results: 結果
45
48
  import_results:
46
49
  new:
@@ -120,6 +123,11 @@ ja:
120
123
  value_types:
121
124
  parent_presenter:
122
125
  not_found: '親がデータベース上に見つかりませんでした (ID: %{id})'
126
+ content_blocks:
127
+ highlighted_results:
128
+ dates: 日付
129
+ results: 結果
130
+ unspecified: 指定なし
123
131
  import_mailer:
124
132
  import:
125
133
  errors: エラー
@@ -132,8 +140,12 @@ ja:
132
140
  models:
133
141
  result:
134
142
  fields:
143
+ category: カテゴリ
144
+ created_at: 作成日時
135
145
  end_date: 終了日
146
+ id: ID
136
147
  progress: 進捗状況
148
+ scope: スコープ
137
149
  start_date: 開始日
138
150
  status: ステータス
139
151
  title: タイトル
@@ -147,6 +159,9 @@ ja:
147
159
  fields:
148
160
  description: 説明
149
161
  entry_date: 日付
162
+ result_m:
163
+ executed: 実行日時
164
+ view: 表示
150
165
  results:
151
166
  count:
152
167
  results_count:
@@ -176,6 +191,15 @@ ja:
176
191
  votes: サポート
177
192
  timeline:
178
193
  title: プロジェクトの進化
194
+ admin:
195
+ filters:
196
+ results:
197
+ category_id_eq:
198
+ label: カテゴリ
199
+ scope_id_eq:
200
+ label: スコープ
201
+ status_id_eq:
202
+ label: ステータス
179
203
  components:
180
204
  accountability:
181
205
  name: アカウンタビリティ
@@ -210,10 +234,6 @@ ja:
210
234
  description: 生成した結果の数
211
235
  object: 結果
212
236
  title: 結果
213
- participatory_processes:
214
- participatory_process_groups:
215
- highlighted_results:
216
- results: 結果
217
237
  participatory_spaces:
218
238
  highlighted_results:
219
239
  see_all: すべての結果を見る (%{count})
@@ -207,10 +207,6 @@ lv:
207
207
  description: Izveidoto rezultātu skaits
208
208
  object: rezultāti
209
209
  title: Rezultāti
210
- participatory_processes:
211
- participatory_process_groups:
212
- highlighted_results:
213
- results: Rezultāti
214
210
  resource_links:
215
211
  included_projects:
216
212
  result_project: Šajā rezultātā iekļautie projekti
@@ -32,6 +32,8 @@ nl:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Mappen
36
+ attachments: Bijlagen
35
37
  confirm_destroy: Weet u zeker dat u deze %{name} wilt verwijderen?
36
38
  destroy: Verwijder
37
39
  edit: Bewerk
@@ -42,6 +44,7 @@ nl:
42
44
  title: acties
43
45
  admin:
44
46
  exports:
47
+ result_comments: Reacties
45
48
  results: Resultaten
46
49
  import_results:
47
50
  new:
@@ -120,6 +123,11 @@ nl:
120
123
  value_types:
121
124
  parent_presenter:
122
125
  not_found: 'Het bovenliggende element is niet gevonden in de database (ID: %{id})'
126
+ content_blocks:
127
+ highlighted_results:
128
+ dates: Datums
129
+ results: Resultaten
130
+ unspecified: Niet gespecificeerd
123
131
  import_mailer:
124
132
  import:
125
133
  errors: Foutmeldingen
@@ -132,8 +140,12 @@ nl:
132
140
  models:
133
141
  result:
134
142
  fields:
143
+ category: Categorie
144
+ created_at: Aangemaakt
135
145
  end_date: Einddatum
146
+ id: ID
136
147
  progress: Vooruitgang
148
+ scope: Scope
137
149
  start_date: Startdatum
138
150
  status: Status
139
151
  title: Titel
@@ -147,6 +159,9 @@ nl:
147
159
  fields:
148
160
  description: Beschrijving
149
161
  entry_date: Datum
162
+ result_m:
163
+ executed: Uitgevoerd
164
+ view: Bekijk
150
165
  results:
151
166
  count:
152
167
  results_count:
@@ -177,6 +192,15 @@ nl:
177
192
  votes: Ondersteunt
178
193
  timeline:
179
194
  title: Project evolutie
195
+ admin:
196
+ filters:
197
+ results:
198
+ category_id_eq:
199
+ label: Categorie
200
+ scope_id_eq:
201
+ label: Scope
202
+ status_id_eq:
203
+ label: Status
180
204
  components:
181
205
  accountability:
182
206
  name: Opvolging
@@ -211,10 +235,6 @@ nl:
211
235
  description: Aantal gegenereerde resultaten
212
236
  object: resultaten
213
237
  title: Resultaten
214
- participatory_processes:
215
- participatory_process_groups:
216
- highlighted_results:
217
- results: Resultaten
218
238
  participatory_spaces:
219
239
  highlighted_results:
220
240
  see_all: Bekijk alle resultaten (%{count})
@@ -32,6 +32,8 @@
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Mapper
36
+ attachments: Vedlegg
35
37
  confirm_destroy: Er du sikker på at du vil slette dette %{name}?
36
38
  destroy: Slett
37
39
  edit: Redigere
@@ -42,6 +44,7 @@
42
44
  title: Handlinger
43
45
  admin:
44
46
  exports:
47
+ result_comments: Kommentarer
45
48
  results: Resultater
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Overordnede ble ikke funnet i databasen (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Datoer
130
+ results: Resultater
131
+ unspecified: Ikke spesifisert
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Feil
@@ -133,8 +141,12 @@
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Kategori
145
+ created_at: Opprettet
136
146
  end_date: Sluttdato
147
+ id: ID
137
148
  progress: Framgang
149
+ scope: Tema
138
150
  start_date: Startdato
139
151
  status: Status
140
152
  title: Tittel
@@ -148,6 +160,8 @@
148
160
  fields:
149
161
  description: Beskrivelse
150
162
  entry_date: Dato
163
+ result_m:
164
+ executed: Utført
151
165
  results:
152
166
  count:
153
167
  results_count:
@@ -178,6 +192,13 @@
178
192
  votes: Støtter
179
193
  timeline:
180
194
  title: Prosjektutvikling
195
+ admin:
196
+ filters:
197
+ results:
198
+ category_id_eq:
199
+ label: Kategori
200
+ status_id_eq:
201
+ label: Status
181
202
  components:
182
203
  accountability:
183
204
  name: Ansvarlighet
@@ -211,10 +232,6 @@
211
232
  description: Antall genererte resultater
212
233
  object: resultater
213
234
  title: Resultater
214
- participatory_processes:
215
- participatory_process_groups:
216
- highlighted_results:
217
- results: Resultater
218
235
  participatory_spaces:
219
236
  highlighted_results:
220
237
  see_all: Se alle resultater (%{count})