File tree Expand file tree Collapse file tree 5 files changed +52
-0
lines changed
Expand file tree Collapse file tree 5 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 4040 unanswered_proposals_overdue : Quants dies després una proposta sense resposta es considera vençuda
4141 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.
4242 reporting_proposals :
43+ actions :
44+ amend : Esmena
45+ comment : Comentar
46+ create : Crear
47+ endorse : Adherir-se
48+ vote : Donar suport
49+ vote_comment : Votar el comentari
50+ withdraw : Retirar
4351 name : Propostes directes
4452 settings :
4553 global :
Original file line number Diff line number Diff line change 4040 unanswered_proposals_overdue : Nach wie vielen Tagen gilt eine nicht beantwortete Meldung als überfällig
4141 unanswered_proposals_overdue_help : Falls keine zeitlichen Hinweise angezeigt werden sollen, wähle hier 0.
4242 reporting_proposals :
43+ actions :
44+ amend : Änderungsvorschlag
45+ comment : Kommentieren
46+ create : Erstellen
47+ endorse : Unterstützung
48+ vote : Abstimmung
49+ vote_comment : Kommentar bewerten
50+ withdraw : Zurückziehen
4351 name : Meldungen
4452 settings :
4553 global :
Original file line number Diff line number Diff line change 5353 unanswered_proposals_overdue_help : This adds a visual alert to the list
5454 of proposals. Leave it to zero to disable this feature.
5555 reporting_proposals :
56+ actions :
57+ amend : Amend
58+ comment : Comment
59+ create : Create
60+ endorse : Endorse
61+ vote : Support
62+ vote_comment : Vote comment
63+ withdraw : Withdraw
5664 name : Reporting proposals
5765 settings :
5866 global :
Original file line number Diff line number Diff line change 4040 unanswered_proposals_overdue : Después de cuántos días se considera una propuesta sin respuesta atrasada
4141 unanswered_proposals_overdue_help : Esto añade una alerta visual a la lista de propuestas. Déjala a cero para desactivar esta característica.
4242 reporting_proposals :
43+ actions :
44+ amend : Enmendar
45+ comment : Comentar
46+ create : Crear
47+ endorse : Adherirse
48+ vote : Apoyar
49+ vote_comment : Votar comentario
50+ withdraw : Retirar
4351 name : Propuestas directas
4452 settings :
4553 global :
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ def edit_component_path(component)
1212 Decidim ::EngineRouter . admin_proxy ( component . participatory_space ) . edit_component_path ( component . id )
1313 end
1414
15+ def component_path
16+ Decidim ::EngineRouter . admin_proxy ( component . participatory_space ) . components_path ( component . id )
17+ end
18+
1519 before do
1620 switch_to_host ( organization . host )
1721 login_as user , scope : :user
@@ -62,4 +66,20 @@ def edit_component_path(component)
6266 expect ( page ) . to have_unchecked_field ( "component_settings_proposal_photo_editing_enabled" )
6367 end
6468 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
6585end
You can’t perform that action at this time.
0 commit comments