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 @@ es-PY:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Carpetas
36
+ attachments: Archivos adjuntos
35
37
  confirm_destroy: '¿Está seguro de que quiere eliminar este %{name}?'
36
38
  destroy: Borrar
37
39
  edit: Editar
@@ -42,6 +44,7 @@ es-PY:
42
44
  title: Acciones
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 @@ es-PY:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'El padre no se encontró en la base de datos (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Fechas
130
+ results: Resultados
131
+ unspecified: No especificado
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Errores
@@ -133,8 +141,12 @@ es-PY:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Categoría
145
+ created_at: Creado
136
146
  end_date: Fin
147
+ id: ID
137
148
  progress: Progreso
149
+ scope: Ámbito
138
150
  start_date: Inicio
139
151
  status: Estado
140
152
  title: Título
@@ -148,6 +160,9 @@ es-PY:
148
160
  fields:
149
161
  description: Descripción
150
162
  entry_date: Fecha
163
+ result_m:
164
+ executed: Ejecutado
165
+ view: Ver
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ es-PY:
178
193
  votes: Soportes
179
194
  timeline:
180
195
  title: Evolución del proyecto
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: Seguimiento
@@ -212,10 +236,6 @@ es-PY:
212
236
  description: Número de resultados generados
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 los resultados (%{count})
@@ -32,6 +32,8 @@ es:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Carpetas
36
+ attachments: Archivos adjuntos
35
37
  confirm_destroy: '¿Seguro que quieres eliminar este %{name}?'
36
38
  destroy: Borrar
37
39
  edit: Editar
@@ -42,6 +44,7 @@ es:
42
44
  title: Acciones
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 @@ es:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'El padre no se encontró en la base de datos (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Fechas
130
+ results: Resultados
131
+ unspecified: No especificado
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Errores
@@ -133,8 +141,12 @@ es:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Categoría
145
+ created_at: Creado
136
146
  end_date: Fin
147
+ id: ID
137
148
  progress: Progreso
149
+ scope: Ámbito
138
150
  start_date: Inicio
139
151
  status: Estado
140
152
  title: Título
@@ -148,6 +160,9 @@ es:
148
160
  fields:
149
161
  description: Descripción
150
162
  entry_date: Fecha
163
+ result_m:
164
+ executed: Ejecutado
165
+ view: Ver
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ es:
178
193
  votes: Soportes
179
194
  timeline:
180
195
  title: Evolución del proyecto
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: Seguimiento
@@ -212,10 +236,6 @@ es:
212
236
  description: Número de resultados generados
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 los resultados (%{count})
@@ -192,10 +192,6 @@ eu:
192
192
  description: Sortutako emaitza kopurua
193
193
  object: emaitzak
194
194
  title: Emaitzak
195
- participatory_processes:
196
- participatory_process_groups:
197
- highlighted_results:
198
- results: Emaitzak
199
195
  resource_links:
200
196
  included_projects:
201
197
  result_project: Emaitza honetan sartutako proiektuak
@@ -32,6 +32,8 @@ fi-pl:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Kansiot
36
+ attachments: Liitteet
35
37
  confirm_destroy: Oletko varma, että haluat poistaa tämän tuloksen?
36
38
  destroy: Poista
37
39
  edit: Muokkaa
@@ -42,6 +44,7 @@ fi-pl:
42
44
  title: Toiminnot
43
45
  admin:
44
46
  exports:
47
+ result_comments: Kommentit
45
48
  results: Tulokset
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@ fi-pl:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Pääelementtiä ei löytynyt tietokannasta (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Päivämäärät
130
+ results: Tulokset
131
+ unspecified: Ei määritelty
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Virheet
@@ -133,8 +141,12 @@ fi-pl:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Aihepiiri
145
+ created_at: Luontiaika
136
146
  end_date: Päättymispäivä
147
+ id: ID
137
148
  progress: Edistyminen
149
+ scope: Teema
138
150
  start_date: Alkamispäivä
139
151
  status: Tila
140
152
  title: Otsikko
@@ -148,6 +160,9 @@ fi-pl:
148
160
  fields:
149
161
  description: Kuvaus
150
162
  entry_date: Päivämäärä
163
+ result_m:
164
+ executed: Valmistunut
165
+ view: Näytä
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ fi-pl:
178
193
  votes: Kannatukset
179
194
  timeline:
180
195
  title: Projektin kehitys
196
+ admin:
197
+ filters:
198
+ results:
199
+ category_id_eq:
200
+ label: Aihepiiri
201
+ scope_id_eq:
202
+ label: Teema
203
+ status_id_eq:
204
+ label: Tila
181
205
  components:
182
206
  accountability:
183
207
  name: Vastuullisuus
@@ -212,10 +236,6 @@ fi-pl:
212
236
  description: Luotujen tulosten lukumäärä
213
237
  object: tulokset
214
238
  title: Tulokset
215
- participatory_processes:
216
- participatory_process_groups:
217
- highlighted_results:
218
- results: Tulokset
219
239
  participatory_spaces:
220
240
  highlighted_results:
221
241
  see_all: Näytä kaikki (%{count} kpl)
@@ -32,6 +32,8 @@ fi:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Kansiot
36
+ attachments: Liitteet
35
37
  confirm_destroy: Oletko varma, että haluat poistaa tämän tuloksen?
36
38
  destroy: Poista
37
39
  edit: Muokkaa
@@ -42,6 +44,7 @@ fi:
42
44
  title: Toiminnot
43
45
  admin:
44
46
  exports:
47
+ result_comments: Kommentit
45
48
  results: Tulokset
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@ fi:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Pääelementtiä ei löytynyt tietokannasta (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Päivämäärät
130
+ results: Tulokset
131
+ unspecified: Ei määritelty
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Virheet
@@ -133,8 +141,12 @@ fi:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Aihepiiri
145
+ created_at: Luontiaika
136
146
  end_date: Päättymispäivä
147
+ id: ID
137
148
  progress: Edistyminen
149
+ scope: Teema
138
150
  start_date: Alkamispäivä
139
151
  status: Tila
140
152
  title: Otsikko
@@ -148,6 +160,9 @@ fi:
148
160
  fields:
149
161
  description: Kuvaus
150
162
  entry_date: Päivämäärä
163
+ result_m:
164
+ executed: Valmistunut
165
+ view: Näytä
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ fi:
178
193
  votes: Kannatukset
179
194
  timeline:
180
195
  title: Projektin kehitys
196
+ admin:
197
+ filters:
198
+ results:
199
+ category_id_eq:
200
+ label: Aihepiiri
201
+ scope_id_eq:
202
+ label: Teema
203
+ status_id_eq:
204
+ label: Tila
181
205
  components:
182
206
  accountability:
183
207
  name: Vastuullisuus
@@ -212,10 +236,6 @@ fi:
212
236
  description: Luotujen tulosten lukumäärä
213
237
  object: tulokset
214
238
  title: Tulokset
215
- participatory_processes:
216
- participatory_process_groups:
217
- highlighted_results:
218
- results: Tulokset
219
239
  participatory_spaces:
220
240
  highlighted_results:
221
241
  see_all: Näytä kaikki (%{count} kpl)
@@ -32,6 +32,8 @@ fr-CA:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Dossiers
36
+ attachments: Pièces jointes
35
37
  confirm_destroy: Êtes-vous sûr de vouloir supprimer ce %{name}?
36
38
  destroy: Supprimer
37
39
  edit: Modifier
@@ -42,6 +44,7 @@ fr-CA:
42
44
  title: Actions
43
45
  admin:
44
46
  exports:
47
+ result_comments: Commentaires
45
48
  results: Réalisations
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@ fr-CA:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Le parent n''a pas été trouvé dans la base de données (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Dates
130
+ results: Réalisations
131
+ unspecified: Non précisé
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Erreurs
@@ -133,8 +141,12 @@ fr-CA:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Catégorie
145
+ created_at: Créé le
136
146
  end_date: Date de fin
147
+ id: ID
137
148
  progress: Avancement
149
+ scope: Secteur
138
150
  start_date: Date de début
139
151
  status: Statut
140
152
  title: Titre
@@ -148,6 +160,9 @@ fr-CA:
148
160
  fields:
149
161
  description: Description
150
162
  entry_date: Date
163
+ result_m:
164
+ executed: Exécuté
165
+ view: Voir
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ fr-CA:
178
193
  votes: Votes
179
194
  timeline:
180
195
  title: Évolution du projet
196
+ admin:
197
+ filters:
198
+ results:
199
+ category_id_eq:
200
+ label: Catégorie
201
+ scope_id_eq:
202
+ label: Secteur
203
+ status_id_eq:
204
+ label: Statut
181
205
  components:
182
206
  accountability:
183
207
  name: Suivi
@@ -212,10 +236,6 @@ fr-CA:
212
236
  description: Nombre de résultats générés
213
237
  object: résultats
214
238
  title: Résultats
215
- participatory_processes:
216
- participatory_process_groups:
217
- highlighted_results:
218
- results: Réalisations
219
239
  participatory_spaces:
220
240
  highlighted_results:
221
241
  see_all: Voir tous les résultats (%{count})
@@ -32,6 +32,8 @@ fr:
32
32
  decidim:
33
33
  accountability:
34
34
  actions:
35
+ attachment_collections: Dossiers
36
+ attachments: Pièces jointes
35
37
  confirm_destroy: Êtes-vous sûr de vouloir supprimer ce %{name}?
36
38
  destroy: Supprimer
37
39
  edit: Modifier
@@ -42,6 +44,7 @@ fr:
42
44
  title: Actions
43
45
  admin:
44
46
  exports:
47
+ result_comments: Commentaires
45
48
  results: Réalisations
46
49
  import_results:
47
50
  new:
@@ -121,6 +124,11 @@ fr:
121
124
  value_types:
122
125
  parent_presenter:
123
126
  not_found: 'Le parent n''a pas été trouvé dans la base de données (ID: %{id})'
127
+ content_blocks:
128
+ highlighted_results:
129
+ dates: Dates
130
+ results: Réalisations
131
+ unspecified: Non précisé
124
132
  import_mailer:
125
133
  import:
126
134
  errors: Erreurs
@@ -133,8 +141,12 @@ fr:
133
141
  models:
134
142
  result:
135
143
  fields:
144
+ category: Catégorie
145
+ created_at: Créé le
136
146
  end_date: Date de fin
147
+ id: ID
137
148
  progress: Avancement
149
+ scope: Secteur
138
150
  start_date: Date de début
139
151
  status: Statut
140
152
  title: Titre
@@ -148,6 +160,9 @@ fr:
148
160
  fields:
149
161
  description: Description
150
162
  entry_date: Date
163
+ result_m:
164
+ executed: Exécuté
165
+ view: Voir
151
166
  results:
152
167
  count:
153
168
  results_count:
@@ -178,6 +193,15 @@ fr:
178
193
  votes: Votes
179
194
  timeline:
180
195
  title: Évolution du projet
196
+ admin:
197
+ filters:
198
+ results:
199
+ category_id_eq:
200
+ label: Catégorie
201
+ scope_id_eq:
202
+ label: Secteur
203
+ status_id_eq:
204
+ label: Statut
181
205
  components:
182
206
  accountability:
183
207
  name: Suivi
@@ -212,10 +236,6 @@ fr:
212
236
  description: Nombre de résultats générés
213
237
  object: résultats
214
238
  title: Résultats
215
- participatory_processes:
216
- participatory_process_groups:
217
- highlighted_results:
218
- results: Réalisations
219
239
  participatory_spaces:
220
240
  highlighted_results:
221
241
  see_all: Voir tous les résultats (%{count})