decidim-participatory_processes 0.27.0 → 0.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/participatory_process_groups/content_blocks/title/show.erb +1 -1
- data/app/cells/decidim/participatory_process_groups/content_blocks/title_cell.rb +8 -1
- data/app/serializers/decidim/participatory_processes/participatory_process_importer.rb +1 -1
- data/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb +1 -1
- data/app/views/decidim/participatory_processes/participatory_processes/show.html.erb +1 -1
- data/config/locales/ca.yml +1 -1
- data/config/locales/cs.yml +1 -1
- data/config/locales/de.yml +0 -6
- data/config/locales/en.yml +1 -1
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es-PY.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/eu.yml +6 -0
- data/config/locales/fi-plain.yml +1 -1
- data/config/locales/fi.yml +1 -1
- data/config/locales/fr-CA.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/config/locales/gn-PY.yml +1 -0
- data/config/locales/hu.yml +0 -6
- data/config/locales/ja.yml +1 -1
- data/config/locales/lo-LA.yml +1 -0
- data/config/locales/lt.yml +0 -6
- data/config/locales/ro-RO.yml +2 -0
- data/lib/decidim/participatory_processes/admin_engine.rb +2 -1
- data/lib/decidim/participatory_processes/test/factories.rb +1 -0
- data/lib/decidim/participatory_processes/version.rb +1 -1
- metadata +12 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a09d7f282d5fe3150e9fc17e3ac6f00a08e33f8b590273e41b3eee8c1e9dfad6
|
4
|
+
data.tar.gz: '029768108cd93985244287a96862822854c66da6408f3353d4f82ffc79e3333d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 291a1461058544b16ff98e091697008ebc6b671d58aadf289bd9f9b482f89cc57397902a8a05dc4db626399d040df144da3785dc530f6f4674126a9763d617eb
|
7
|
+
data.tar.gz: 1b6aa38ffc16ce3a7fc5cf009cb339468556bee36afb6b30ca80973734abc1c11d3d3b795226bc1ed935fb9159b7a16b7f4706b545c4caa2e011f179570cb6d1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<h2 class="heading2"><%= translated_attribute(participatory_process_group.title) %></h2>
|
3
3
|
<div class="row">
|
4
4
|
<div class="columns medium-9">
|
5
|
-
<%=
|
5
|
+
<%= decidim_sanitize_editor_admin translated_attribute(participatory_process_group.description) %>
|
6
6
|
<div class="row">
|
7
7
|
<div class="column medium-6 text-muted">
|
8
8
|
<%= icon "grid-three-up", role: "img", "aria-hidden": true, class: "mr-xs" %>
|
@@ -43,11 +43,18 @@ module Decidim
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def participatory_processes_count
|
46
|
-
@participatory_processes_count ||=
|
46
|
+
@participatory_processes_count ||= processes.count
|
47
47
|
end
|
48
48
|
|
49
49
|
private
|
50
50
|
|
51
|
+
def processes
|
52
|
+
@processes ||= Decidim::ParticipatoryProcesses::GroupPublishedParticipatoryProcesses.new(
|
53
|
+
participatory_process_group,
|
54
|
+
current_user
|
55
|
+
).query
|
56
|
+
end
|
57
|
+
|
51
58
|
def group_uri
|
52
59
|
@group_uri = URI.parse(group_url)
|
53
60
|
end
|
@@ -55,7 +55,7 @@ module Decidim
|
|
55
55
|
def import_process_group(attributes)
|
56
56
|
Decidim.traceability.perform_action!("create", ParticipatoryProcessGroup, @user) do
|
57
57
|
group = ParticipatoryProcessGroup.find_or_initialize_by(
|
58
|
-
title: attributes["title"],
|
58
|
+
title: attributes["title"] || attributes["name"],
|
59
59
|
description: attributes["description"],
|
60
60
|
organization: @organization
|
61
61
|
)
|
@@ -10,7 +10,7 @@
|
|
10
10
|
<h3 class="timeline__title heading4"><%= translated_attribute(participatory_process_step.title) %></h3>
|
11
11
|
</div>
|
12
12
|
<div class="timeline__content">
|
13
|
-
<%= translated_attribute(participatory_process_step.description)
|
13
|
+
<%= decidim_sanitize_editor_admin translated_attribute(participatory_process_step.description) %>
|
14
14
|
</div>
|
15
15
|
</div>
|
16
16
|
</li>
|
@@ -34,7 +34,7 @@
|
|
34
34
|
<div class="lead">
|
35
35
|
<%= decidim_sanitize_editor translated_attribute(current_participatory_space.short_description) %>
|
36
36
|
</div>
|
37
|
-
<%=
|
37
|
+
<%= decidim_sanitize_editor_admin translated_attribute(current_participatory_space.description) %>
|
38
38
|
</div>
|
39
39
|
<%= attachments_for current_participatory_space %>
|
40
40
|
<%= render_hook(:participatory_space_highlighted_elements) %>
|
data/config/locales/ca.yml
CHANGED
@@ -68,7 +68,7 @@ ca:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Tipus de document
|
71
|
+
allowed_file_content_types: 'Tipus de document no vàlid. Només s''accepten arxius amb les següents extensions: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Fase activada
|
74
74
|
decidim/participatory_process_step_changed_event: Fase modificada
|
data/config/locales/cs.yml
CHANGED
@@ -68,7 +68,7 @@ cs:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Neplatný typ dokumentu.
|
71
|
+
allowed_file_content_types: 'Neplatný typ dokumentu. Jsou povoleny pouze soubory s následujícími příponami: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Krok aktivován
|
74
74
|
decidim/participatory_process_step_changed_event: Krok se změnil
|
data/config/locales/de.yml
CHANGED
@@ -63,12 +63,6 @@ de:
|
|
63
63
|
email: E-Mail
|
64
64
|
name: Name
|
65
65
|
role: Rolle
|
66
|
-
errors:
|
67
|
-
models:
|
68
|
-
participatory_process:
|
69
|
-
attributes:
|
70
|
-
document:
|
71
|
-
allowed_file_content_types: 'Ungültiger Dokumenttyp. Zulässige Formate sind: %{types}'
|
72
66
|
models:
|
73
67
|
decidim/participatory_process_step_activated_event: Phase aktiviert
|
74
68
|
decidim/participatory_process_step_changed_event: Phase geändert
|
data/config/locales/en.yml
CHANGED
@@ -68,7 +68,7 @@ en:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Invalid document type.
|
71
|
+
allowed_file_content_types: 'Invalid document type. Only files with the following extensions are allowed: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Phase activated
|
74
74
|
decidim/participatory_process_step_changed_event: Phase changed
|
data/config/locales/es-MX.yml
CHANGED
@@ -68,7 +68,7 @@ es-MX:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Tipo de documento
|
71
|
+
allowed_file_content_types: 'Tipo de documento no válido. Sólo se permiten archivos con las siguientes extensiones: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Fase activada
|
74
74
|
decidim/participatory_process_step_changed_event: La fase ha cambiado
|
data/config/locales/es-PY.yml
CHANGED
@@ -68,7 +68,7 @@ es-PY:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Tipo de documento
|
71
|
+
allowed_file_content_types: 'Tipo de documento no válido. Sólo se permiten archivos con las siguientes extensiones: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Fase activada
|
74
74
|
decidim/participatory_process_step_changed_event: La fase ha cambiado
|
data/config/locales/es.yml
CHANGED
@@ -68,7 +68,7 @@ es:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Tipo de documento
|
71
|
+
allowed_file_content_types: 'Tipo de documento no válido. Sólo se permiten archivos con las siguientes extensiones: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Fase activada
|
74
74
|
decidim/participatory_process_step_changed_event: Fase modificada
|
data/config/locales/eu.yml
CHANGED
@@ -61,6 +61,12 @@ eu:
|
|
61
61
|
email: Helbide elektronikoa
|
62
62
|
name: Izena
|
63
63
|
role: Rola
|
64
|
+
errors:
|
65
|
+
models:
|
66
|
+
participatory_process:
|
67
|
+
attributes:
|
68
|
+
document:
|
69
|
+
allowed_file_content_types: 'Dokumentu mota hau ez da onartzen. Honako hauek onartzen dira: %{types}'
|
64
70
|
models:
|
65
71
|
decidim/participatory_process_step_activated_event: Urratsera aktibatuta
|
66
72
|
decidim/participatory_process_step_changed_event: Pasartea aldatu da
|
data/config/locales/fi-plain.yml
CHANGED
@@ -68,7 +68,7 @@ fi-pl:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Virheellinen
|
71
|
+
allowed_file_content_types: 'Virheellinen tiedostomuoto. Ainoastaan seuraavat tiedostomuodot on sallittu: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Vaihe aktivoidaan
|
74
74
|
decidim/participatory_process_step_changed_event: Vaihe muutettu
|
data/config/locales/fi.yml
CHANGED
@@ -68,7 +68,7 @@ fi:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Virheellinen
|
71
|
+
allowed_file_content_types: 'Virheellinen tiedostomuoto. Ainoastaan seuraavat tiedostomuodot on sallittu: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Vaihe aktivoitu
|
74
74
|
decidim/participatory_process_step_changed_event: Vaihe muutettu
|
data/config/locales/fr-CA.yml
CHANGED
@@ -68,7 +68,7 @@ fr-CA:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Type de document invalide.
|
71
|
+
allowed_file_content_types: 'Type de document invalide. Seuls les fichiers avec les extensions suivantes sont autorisés : %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Étape activée
|
74
74
|
decidim/participatory_process_step_changed_event: Étape modifiée
|
data/config/locales/fr.yml
CHANGED
@@ -68,7 +68,7 @@ fr:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: 'Type de document invalide.
|
71
|
+
allowed_file_content_types: 'Type de document invalide. Seuls les fichiers avec les extensions suivantes sont autorisés : %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: Étape activée
|
74
74
|
decidim/participatory_process_step_changed_event: Étape modifiée
|
@@ -0,0 +1 @@
|
|
1
|
+
gn:
|
data/config/locales/hu.yml
CHANGED
@@ -63,12 +63,6 @@ hu:
|
|
63
63
|
email: Email
|
64
64
|
name: Név
|
65
65
|
role: Szerep
|
66
|
-
errors:
|
67
|
-
models:
|
68
|
-
participatory_process:
|
69
|
-
attributes:
|
70
|
-
document:
|
71
|
-
allowed_file_content_types: 'Érvénytelen dokumentumtípus. Az elfogadott formátumok: %{types}'
|
72
66
|
models:
|
73
67
|
decidim/participatory_process_step_activated_event: Lépés aktiválva
|
74
68
|
decidim/participatory_process_step_changed_event: Lépés megváltozott
|
data/config/locales/ja.yml
CHANGED
@@ -68,7 +68,7 @@ ja:
|
|
68
68
|
participatory_process:
|
69
69
|
attributes:
|
70
70
|
document:
|
71
|
-
allowed_file_content_types: '
|
71
|
+
allowed_file_content_types: '無効なドキュメントタイプです。次の拡張子を持つファイルのみが許可されています: %{types}'
|
72
72
|
models:
|
73
73
|
decidim/participatory_process_step_activated_event: フェーズ有効化
|
74
74
|
decidim/participatory_process_step_changed_event: フェーズ変更
|
@@ -0,0 +1 @@
|
|
1
|
+
lo:
|
data/config/locales/lt.yml
CHANGED
@@ -63,12 +63,6 @@ lt:
|
|
63
63
|
email: El. paštas
|
64
64
|
name: Vardas
|
65
65
|
role: Rolė
|
66
|
-
errors:
|
67
|
-
models:
|
68
|
-
participatory_process:
|
69
|
-
attributes:
|
70
|
-
document:
|
71
|
-
allowed_file_content_types: 'Netinkamas dokumento tipas. Priimtini formatai: %{types}'
|
72
66
|
models:
|
73
67
|
decidim/participatory_process_step_activated_event: Etapas aktyvuotas
|
74
68
|
decidim/participatory_process_step_changed_event: Eatapas pakeistas
|
data/config/locales/ro-RO.yml
CHANGED
@@ -103,7 +103,8 @@ module Decidim
|
|
103
103
|
icon_name: "target",
|
104
104
|
position: 2,
|
105
105
|
active: is_active_link?(decidim_admin_participatory_processes.participatory_processes_path, :inclusive) ||
|
106
|
-
is_active_link?(decidim_admin_participatory_processes.participatory_process_groups_path, :inclusive)
|
106
|
+
is_active_link?(decidim_admin_participatory_processes.participatory_process_groups_path, :inclusive) ||
|
107
|
+
is_active_link?(decidim_admin_participatory_processes.participatory_process_types_path),
|
107
108
|
if: allowed_to?(:enter, :space_area, space_name: :processes) || allowed_to?(:enter, :space_area, space_name: :process_groups)
|
108
109
|
end
|
109
110
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-participatory_processes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.1
|
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: 2022-
|
13
|
+
date: 2022-11-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,56 +18,56 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.27.
|
21
|
+
version: 0.27.1
|
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.27.
|
28
|
+
version: 0.27.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: decidim-admin
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.27.
|
35
|
+
version: 0.27.1
|
36
36
|
type: :development
|
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.27.
|
42
|
+
version: 0.27.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: decidim-dev
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.27.
|
49
|
+
version: 0.27.1
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.27.
|
56
|
+
version: 0.27.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-meetings
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.27.
|
63
|
+
version: 0.27.1
|
64
64
|
type: :development
|
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.27.
|
70
|
+
version: 0.27.1
|
71
71
|
description: Participatory processes component for decidim.
|
72
72
|
email:
|
73
73
|
- josepjaume@gmail.com
|
@@ -324,6 +324,7 @@ files:
|
|
324
324
|
- config/locales/fr.yml
|
325
325
|
- config/locales/ga-IE.yml
|
326
326
|
- config/locales/gl.yml
|
327
|
+
- config/locales/gn-PY.yml
|
327
328
|
- config/locales/hr-HR.yml
|
328
329
|
- config/locales/hr.yml
|
329
330
|
- config/locales/hu.yml
|
@@ -336,6 +337,7 @@ files:
|
|
336
337
|
- config/locales/ko.yml
|
337
338
|
- config/locales/lb-LU.yml
|
338
339
|
- config/locales/lb.yml
|
340
|
+
- config/locales/lo-LA.yml
|
339
341
|
- config/locales/lt-LT.yml
|
340
342
|
- config/locales/lt.yml
|
341
343
|
- config/locales/lv.yml
|