File tree Expand file tree Collapse file tree 5 files changed +52
-28
lines changed Expand file tree Collapse file tree 5 files changed +52
-28
lines changed Original file line number Diff line number Diff line change 37
37
unanswered_proposals_overdue : Quants dies després una proposta sense resposta es considera vençuda
38
38
unanswered_proposals_overdue_help : Aquesta regla afegeix una alerta visual a la llista e propostes. Si no ho vols utilitzar, deixa aquest valor a zero.
39
39
reporting_proposals :
40
+ actions :
41
+ amend : Esmena
42
+ comment : Comentar
43
+ create : Crear
44
+ endorse : Adherir-se
45
+ vote : Donar suport
46
+ vote_comment : Votar el comentari
47
+ withdraw : Retirar
40
48
name : Propostes directes
41
49
settings :
42
50
global :
@@ -172,20 +180,13 @@ ca:
172
180
admin_resource : Administra el recurs
173
181
reporting_proposals :
174
182
actions :
175
- amend : Esmena
176
183
answer_proposal : Resposta de la proposta
177
- comment : Comentar
178
- create : Crear
179
184
edit_proposal : Edita la proposta
180
- endorse : Adherir-se
181
185
import : Importa propostes d'un altre component
182
186
new : Nova proposta
183
187
participatory_texts : Textos participatius
184
188
show : Veure proposta
185
189
title : Accions
186
- vote : Donar suport
187
- vote_comment : Votar el comentari
188
- withdraw : Retirar
189
190
admin :
190
191
actions :
191
192
edit_valuators : Edita les avaluadores
Original file line number Diff line number Diff line change 37
37
unanswered_proposals_overdue : Nach wie vielen Tagen gilt eine nicht beantwortete Meldung als überfällig
38
38
unanswered_proposals_overdue_help : Falls keine zeitlichen Hinweise angezeigt werden sollen, wähle hier 0.
39
39
reporting_proposals :
40
+ actions :
41
+ amend : Änderungsvorschlag
42
+ comment : Kommentieren
43
+ create : Erstellen
44
+ endorse : Unterstützung
45
+ vote : Abstimmung
46
+ vote_comment : Kommentar bewerten
47
+ withdraw : Zurückziehen
40
48
name : Meldungen
41
49
settings :
42
50
global :
@@ -172,20 +180,13 @@ de:
172
180
admin_resource : Diese Ressource moderieren
173
181
reporting_proposals :
174
182
actions :
175
- amend : Änderungsvorschlag
176
183
answer_proposal : Meldung beantworten
177
- comment : Kommentieren
178
- create : Erstellen
179
184
edit_proposal : Meldung bearbeiten
180
- endorse : Unterstützung
181
185
import : Meldungen aus einer anderen Komponente importieren
182
186
new : Neue Meldung
183
187
participatory_texts : Partizipative Texte
184
188
show : Meldung anzeigen
185
189
title : Aktionen
186
- vote : Abstimmung
187
- vote_comment : Kommentar bewerten
188
- withdraw : Zurückziehen
189
190
admin :
190
191
actions :
191
192
edit_valuators : Experten ändern
Original file line number Diff line number Diff line change 50
50
unanswered_proposals_overdue_help : This adds a visual alert to the list
51
51
of proposals. Leave it to zero to disable this feature.
52
52
reporting_proposals :
53
+ actions :
54
+ amend : Amend
55
+ comment : Comment
56
+ create : Create
57
+ endorse : Endorse
58
+ vote : Support
59
+ vote_comment : Vote comment
60
+ withdraw : Withdraw
53
61
name : Reporting proposals
54
62
settings :
55
63
global :
@@ -235,20 +243,13 @@ en:
235
243
admin_resource : Admin this resource
236
244
reporting_proposals :
237
245
actions :
238
- amend : Amend
239
246
answer_proposal : Answer proposal
240
- comment : Comment
241
- create : Create
242
247
edit_proposal : Edit proposal
243
- endorse : Endorse
244
248
import : Import proposals from another component
245
249
new : New proposal
246
250
participatory_texts : Participatory texts
247
251
show : Show proposal
248
252
title : Actions
249
- vote : Support
250
- vote_comment : Vote comment
251
- withdraw : Withdraw
252
253
admin :
253
254
actions :
254
255
edit_valuators : Edit valuators
Original file line number Diff line number Diff line change 37
37
unanswered_proposals_overdue : Después de cuántos días se considera una propuesta sin respuesta atrasada
38
38
unanswered_proposals_overdue_help : Esto añade una alerta visual a la lista de propuestas. Déjala a cero para desactivar esta característica.
39
39
reporting_proposals :
40
+ actions :
41
+ amend : Enmendar
42
+ comment : Comentar
43
+ create : Crear
44
+ endorse : Adherirse
45
+ vote : Apoyar
46
+ vote_comment : Votar comentario
47
+ withdraw : Retirar
40
48
name : Propuestas directas
41
49
settings :
42
50
global :
@@ -172,20 +180,13 @@ es:
172
180
admin_resource : Administrar este recurso
173
181
reporting_proposals :
174
182
actions :
175
- amend : Enmendar
176
183
answer_proposal : Responder a la propuesta
177
- comment : Comentar
178
- create : Crear
179
184
edit_proposal : Editar propuesta
180
- endorse : Adherirse
181
185
import : Importar propuestas de otro componente
182
186
new : Nueva propuesta
183
187
participatory_texts : Textos participativos
184
188
show : Ver propuesta
185
189
title : Acciones
186
- vote : Apoyar
187
- vote_comment : Votar comentario
188
- withdraw : Retirar
189
190
admin :
190
191
actions :
191
192
edit_valuators : Editar evaluadores
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ def edit_component_path(component)
12
12
Decidim ::EngineRouter . admin_proxy ( component . participatory_space ) . edit_component_path ( component . id )
13
13
end
14
14
15
+ def component_path
16
+ Decidim ::EngineRouter . admin_proxy ( component . participatory_space ) . components_path ( component . id )
17
+ end
18
+
15
19
before do
16
20
switch_to_host ( organization . host )
17
21
login_as user , scope : :user
@@ -62,4 +66,20 @@ def edit_component_path(component)
62
66
expect ( page ) . to have_unchecked_field ( "component_settings_proposal_photo_editing_enabled" )
63
67
end
64
68
end
69
+
70
+ context "when managing proposals permissions" do
71
+ let! ( :component ) { create ( :proposal_component , participatory_space : participatory_process ) }
72
+
73
+ before do
74
+ visit component_path
75
+ within ".component-#{ component . id } " do
76
+ click_on "Permissions"
77
+ end
78
+ end
79
+
80
+ it "show permissions" do
81
+ expect ( page ) . to have_content ( "Edit permissions" )
82
+ expect ( page ) . to have_content ( "Endorse" )
83
+ end
84
+ end
65
85
end
You can’t perform that action at this time.
0 commit comments