decidim-debates 0.24.0.rc1 → 0.24.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 930be86713dd670ddc5dfe8862fc992df894bc53a4c7814a31fa21a5b25541e3
4
- data.tar.gz: 9915b79fb351ed33f316cab345ceae9c4c504fbb4525ae69148dececa08071b2
3
+ metadata.gz: eef8456a57908e0ab91a73f26a9410b1dce8b900e14225849180da578ad9fdbb
4
+ data.tar.gz: 7920104a80d0a00e513b7e68a34325328f945da302dc1b235d5817f78ac39c55
5
5
  SHA512:
6
- metadata.gz: b36d28e1c95433ef7933715966d7639ecedd01158303edc908be41a601513b442025f7658da0337e42a20adec12f26d12e47d7a7b4e10bc545b744d836f98a2c
7
- data.tar.gz: e96e78eec595f9d38c894faa24cadc991a1fc4d5e77cc04baf47094f0a4a6c9368e89995c2a2bf6635de24a19dbbbc70d7ed97ba746657811d3628080df80531
6
+ metadata.gz: 32a010ee5066b25559e127dcc7845dbd24522ab3febe87290545b49bf9b957c90f110b1d6bcd1df1f4cfca9954a36fdd0c6ddc982e5b10f5db467b6d99568da1
7
+ data.tar.gz: b2c6f8cb588a2f0eaddbb7bff291590628465b0ca0147ba55bec4f50aeee575d0561fc3a706d4cce17c2dede9eb43d7e72f77f85a6274d7399731e28763ed74b
@@ -2,13 +2,21 @@
2
2
 
3
3
  module Decidim
4
4
  module Debates
5
- # A cell to display when Debate has been created.
5
+ # A cell to display when actions happen on a debate.
6
6
  class DebateActivityCell < ActivityCell
7
7
  def title
8
- I18n.t(
9
- "decidim.debates.last_activity.new_debate_at_html",
10
- link: participatory_space_link
11
- )
8
+ case action
9
+ when "update"
10
+ I18n.t(
11
+ "decidim.debates.last_activity.debate_updated_at_html",
12
+ link: participatory_space_link
13
+ )
14
+ else
15
+ I18n.t(
16
+ "decidim.debates.last_activity.new_debate_at_html",
17
+ link: participatory_space_link
18
+ )
19
+ end
12
20
  end
13
21
 
14
22
  def resource_link_text
@@ -13,6 +13,6 @@
13
13
  </button>
14
14
  </div>
15
15
  <div class="filters">
16
- <%= render partial: "filters" %>
16
+ <%= render partial: "filters", locals: { type: :small } %>
17
17
  </div>
18
18
  </div>
@@ -158,7 +158,7 @@ ca:
158
158
  groups_count: Grups
159
159
  last_comment_by: Darrer comentari de
160
160
  no_comments_yet: Encara no hi ha comentaris
161
- open: Debat obert
161
+ open: Obrir debat
162
162
  participants_count: Participants
163
163
  update:
164
164
  invalid: S'ha produït un error en actualitzar aquest debat.
@@ -171,6 +171,7 @@ ca:
171
171
  versions_list:
172
172
  back_to_resource: Tornar al debat
173
173
  last_activity:
174
+ debate_updated_at_html: "<span>Debat actualitzat a %{link}</span>"
174
175
  new_debate_at_html: "<span>Nou debat a %{link}</span>"
175
176
  models:
176
177
  debate:
@@ -175,6 +175,7 @@ cs:
175
175
  versions_list:
176
176
  back_to_resource: Přejít zpět k debatě
177
177
  last_activity:
178
+ debate_updated_at_html: "<span>Debata byla aktualizována na %{link}</span>"
178
179
  new_debate_at_html: "<span>Nová debata na %{link}</span>"
179
180
  models:
180
181
  debate:
@@ -171,6 +171,7 @@ de:
171
171
  versions_list:
172
172
  back_to_resource: Zurück zur Debatte
173
173
  last_activity:
174
+ debate_updated_at_html: "<span>Debatte aktualisiert unter %{link}</span>"
174
175
  new_debate_at_html: "<span>Neue Debatte bei %{link}</span>"
175
176
  models:
176
177
  debate:
@@ -172,6 +172,7 @@ en:
172
172
  versions_list:
173
173
  back_to_resource: Go back to debate
174
174
  last_activity:
175
+ debate_updated_at_html: "<span>Debate updated at %{link}</span>"
175
176
  new_debate_at_html: "<span>New debate at %{link}</span>"
176
177
  models:
177
178
  debate:
@@ -65,6 +65,10 @@ es-MX:
65
65
  edit:
66
66
  title: Editar debate
67
67
  update: Actualizar debate
68
+ form:
69
+ debate_type: Tipo de debate
70
+ finite: Finito (con hora de inicio y final)
71
+ open: Abierto (no hay hora de inicio o final)
68
72
  index:
69
73
  title: Debates
70
74
  new:
@@ -73,6 +77,8 @@ es-MX:
73
77
  update:
74
78
  invalid: Ha habido un problema al actualizar este debate.
75
79
  success: Debate actualizado con éxito.
80
+ exports:
81
+ comments: Comentarios
76
82
  models:
77
83
  debate:
78
84
  name: Debate
@@ -152,6 +158,7 @@ es-MX:
152
158
  groups_count: Grupos
153
159
  last_comment_by: Último comentario de
154
160
  no_comments_yet: No hay comentarios todavía
161
+ open: Abrir debate
155
162
  participants_count: Participantes
156
163
  update:
157
164
  invalid: Se ha producido un error al actualizar este debate.
@@ -65,6 +65,10 @@ es-PY:
65
65
  edit:
66
66
  title: Editar debate
67
67
  update: Actualizar debate
68
+ form:
69
+ debate_type: Tipo de debate
70
+ finite: Finito (con hora de inicio y final)
71
+ open: Abierto (no hay hora de inicio o final)
68
72
  index:
69
73
  title: Debates
70
74
  new:
@@ -73,6 +77,8 @@ es-PY:
73
77
  update:
74
78
  invalid: Ha habido un problema al actualizar este debate.
75
79
  success: Debate actualizado con éxito.
80
+ exports:
81
+ comments: Comentarios
76
82
  models:
77
83
  debate:
78
84
  name: Debate
@@ -152,6 +158,7 @@ es-PY:
152
158
  groups_count: Grupos
153
159
  last_comment_by: Último comentario de
154
160
  no_comments_yet: No hay comentarios todavía
161
+ open: Abrir debate
155
162
  participants_count: Participantes
156
163
  update:
157
164
  invalid: Se ha producido un error al actualizar este debate.
@@ -65,6 +65,10 @@ es:
65
65
  edit:
66
66
  title: Editar debate
67
67
  update: Actualizar debate
68
+ form:
69
+ debate_type: Tipo de debate
70
+ finite: Finito (con hora de inicio y final)
71
+ open: Abierto (no hay hora de inicio o final)
68
72
  index:
69
73
  title: Debates
70
74
  new:
@@ -73,6 +77,8 @@ es:
73
77
  update:
74
78
  invalid: Se ha producido un error al actualizar este debate.
75
79
  success: Debate actualizado correctamente.
80
+ exports:
81
+ comments: Comentarios
76
82
  models:
77
83
  debate:
78
84
  name: Debate
@@ -152,6 +158,7 @@ es:
152
158
  groups_count: Grupos
153
159
  last_comment_by: Último comentario de
154
160
  no_comments_yet: No hay comentarios todavía
161
+ open: Abrir debate
155
162
  participants_count: Participantes
156
163
  update:
157
164
  invalid: Se ha producido un error al actualizar este debate.
@@ -171,6 +171,7 @@ fi-pl:
171
171
  versions_list:
172
172
  back_to_resource: Takaisin keskusteluun
173
173
  last_activity:
174
+ debate_updated_at_html: "<span>Keskustelu päivitetty osoitteessa %{link}</span>"
174
175
  new_debate_at_html: "<span>Uusi keskustelu osoitteessa %{link}</span>"
175
176
  models:
176
177
  debate:
@@ -171,6 +171,7 @@ fi:
171
171
  versions_list:
172
172
  back_to_resource: Takaisin keskusteluun
173
173
  last_activity:
174
+ debate_updated_at_html: "<span>Keskustelu päivitetty osoitteessa %{link}</span>"
174
175
  new_debate_at_html: "<span>Uusi keskustelu osoitteessa %{link}</span>"
175
176
  models:
176
177
  debate:
@@ -171,6 +171,7 @@ fr-CA:
171
171
  versions_list:
172
172
  back_to_resource: Revenir au débat
173
173
  last_activity:
174
+ debate_updated_at_html: "<span>Débat mis à jour à %{link}</span>"
174
175
  new_debate_at_html: "<span>Nouveau débat à %{link}</span>"
175
176
  models:
176
177
  debate:
@@ -171,6 +171,7 @@ fr:
171
171
  versions_list:
172
172
  back_to_resource: Revenir au débat
173
173
  last_activity:
174
+ debate_updated_at_html: "<span>Débat mis à jour à %{link}</span>"
174
175
  new_debate_at_html: "<span>Nouveau débat à %{link}</span>"
175
176
  models:
176
177
  debate:
@@ -147,6 +147,7 @@ nl:
147
147
  versions_list:
148
148
  back_to_resource: Ga terug naar het debat
149
149
  last_activity:
150
+ debate_updated_at_html: "<span>Debat bijgewerkt op %{link}</span>"
150
151
  new_debate_at_html: "<span>Nieuw debat op %{link}</span>"
151
152
  models:
152
153
  debate:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-debates version.
5
5
  module Debates
6
6
  def self.version
7
- "0.24.0.rc1"
7
+ "0.24.0.rc2"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-debates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0.rc1
4
+ version: 0.24.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-03-01 00:00:00.000000000 Z
14
+ date: 2021-03-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: decidim-comments
@@ -19,28 +19,28 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 0.24.0.rc1
22
+ version: 0.24.0.rc2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.24.0.rc1
29
+ version: 0.24.0.rc2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: decidim-core
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
34
  - - '='
35
35
  - !ruby/object:Gem::Version
36
- version: 0.24.0.rc1
36
+ version: 0.24.0.rc2
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - '='
42
42
  - !ruby/object:Gem::Version
43
- version: 0.24.0.rc1
43
+ version: 0.24.0.rc2
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: kaminari
46
46
  requirement: !ruby/object:Gem::Requirement
@@ -81,28 +81,28 @@ dependencies:
81
81
  requirements:
82
82
  - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: 0.24.0.rc1
84
+ version: 0.24.0.rc2
85
85
  type: :development
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - '='
90
90
  - !ruby/object:Gem::Version
91
- version: 0.24.0.rc1
91
+ version: 0.24.0.rc2
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: decidim-dev
94
94
  requirement: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - '='
97
97
  - !ruby/object:Gem::Version
98
- version: 0.24.0.rc1
98
+ version: 0.24.0.rc2
99
99
  type: :development
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - '='
104
104
  - !ruby/object:Gem::Version
105
- version: 0.24.0.rc1
105
+ version: 0.24.0.rc2
106
106
  description: A debates component for decidim's participatory spaces.
107
107
  email:
108
108
  - josepjaume@gmail.com