Javi Martín
d1249d0b4f
Update poll questions translatable fields
...
We need to replace ".title=" by ".title_#{locale}=" in one place because
for some reason globalize builds a new translation record when using the
latter but it doesn't build one when using the former.
2018-10-22 16:13:30 +02:00
Javi Martín
759de935ee
Update polls translatable fields
...
The `:name` attribute is still allowed in the controller because some
forks use it when creating a poll from a budget.
2018-10-22 15:52:58 +02:00
Julian Herrero
673ec075eb
Make answers translatable
2018-09-20 17:13:40 +02:00
Julian Herrero
5e6248d2ac
Make questions translatable
2018-09-20 17:11:53 +02:00
Julian Herrero
9495208518
Make polls translatable
2018-09-20 17:07:43 +02:00
Angel Perez
2c37702298
Sort booths by name and enable pagination
2018-05-23 08:08:54 -04:00
Angel Perez
4c0deb0eca
Remove video_url attr from Admin::Poll::Question form
2018-05-23 07:27:12 -04:00
Alberto
a709f846be
Merge pull request #2046 from wairbut-m2c/aperez-removable-admin-answer-images
...
Removable answer's associated images
2018-05-03 17:24:48 +02:00
Bertocq
62d75af892
Fix line lenght offenses at multiple controllers
2018-02-19 11:09:19 +01:00
Bertocq
4fb9f6829c
Extract inline query to an OfficerAssignment scope
2018-02-19 11:09:19 +01:00
Bertocq
118deb9fc4
Fix line lenght offenses at multiple controllers
2018-02-19 11:09:19 +01:00
Angel Perez
8499549eeb
Add missing I18n key for Admin::Poll::Questions::Answers::Images
2018-01-19 15:34:44 -04:00
Angel Perez
10fac6d2d1
Admins can delete an answer's associated images ( #1999 )
2018-01-19 15:29:18 -04:00
Angel Perez
2bdc2c27d7
Add email specs for Poll
2017-11-17 13:14:03 -04:00
Bertocq
3adfbcb830
Fix Shift date ranges when poll is on recounting phase
2017-10-23 20:17:42 +02:00
Raimond Garcia
8ca4d0fb7f
Merge pull request #2095 from consul/2052-admin_results_and_stats
...
Admin results and stats
2017-10-23 13:42:40 +02:00
decabeza
70713e08c3
adds missing space
2017-10-21 18:25:30 +02:00
María Checa
62b1998ec6
Added results_enabled and stats_enabled to Poll admin form
2017-10-20 18:45:34 +02:00
Bertocq
085e6ecba4
Complete booth assigment create/destroy methods to work with ajax
2017-10-19 21:32:37 +02:00
Bertocq
f8839434f7
Complete booth assignment view list without actions yet
2017-10-19 20:10:51 +02:00
Bertocq
45d91a7e50
Add Poll booth_assignments and :Poll::BoothAssignment manage routes, actions and views
2017-10-19 19:27:26 +02:00
rgarcia
39ebc5173a
displays recounts for a single booth
2017-10-19 11:28:09 +02:00
rgarcia
34ee16a1c1
displays results for booth
2017-10-19 11:28:09 +02:00
Bertocq
e9294f2a22
Switch from valid_answers to question_answers usage for Poll Questions
2017-10-18 01:32:15 +02:00
Bertocq
ce0a7f6fad
Rubocop autocorrections
2017-10-17 22:00:00 +02:00
rgarcia
f2d99d6747
searches for officers assigned to a poll
2017-10-13 18:39:13 +02:00
iagirre
644d09ebd2
PR comments applied and poll_question_answer default name changed in factory.
2017-10-11 09:42:52 +02:00
iagirre
44474e7686
Deleted a forgotten comment
2017-10-10 16:39:19 +02:00
iagirre
943c1f23af
Spects added to test the order of answers. Default order for question_answers set.
2017-10-10 16:38:55 +02:00
iagirre
2b10b59e2a
Order in the admin page using jquery-ui sortable widget.
2017-10-10 16:38:29 +02:00
María Checa
65237db099
Fixed poll answer document upload redirect
2017-10-07 17:50:42 +02:00
rgarcia
777237421f
fixes specs
2017-10-07 14:55:08 +02:00
rgarcia
38f100d183
fixes loading of poll question
2017-10-07 14:40:26 +02:00
rgarcia
cf3a62b126
fixes specs
2017-10-06 20:32:06 +02:00
Raimond Garcia
23ef9ded1d
Merge branch 'master' into aperez-edit-poll-question-answers
2017-10-06 18:47:04 +02:00
Raimond Garcia
8576f59af1
Merge branch 'master' into aperez-edit-poll-question-answers
2017-10-06 18:14:00 +02:00
Angel Perez
63eaa0bef6
Allow Poll::Question::Answer edit
...
As requested by #1992
2017-10-06 09:48:17 -04:00
decabeza
dd69401477
Merge branch 'master' into question-answer-documents
2017-10-06 15:18:42 +02:00
Raimond Garcia
108d4104e8
Merge pull request #1986 from wairbut-m2c/iagirre-remove-documents-questions
...
Iagirre remove documents questions
2017-10-06 14:07:21 +02:00
decabeza
de9b599578
Merge branch 'master' into question-answer-documents
2017-10-06 13:55:49 +02:00
rgarcia
bd1c03accf
fixes upload of answer's images
2017-10-06 12:15:45 +02:00
María Checa
c5c1ea7251
Fixed answer documents form
2017-10-06 12:02:24 +02:00
decabeza
7856915203
removes @question on questions answers
2017-10-06 02:38:43 +02:00
María Checa
590344a576
Added view to upload documents to poll answers
2017-10-06 01:18:53 +02:00
Raimond Garcia
c72f95c72b
Merge branch 'master' into aperez-admin-question-videos
2017-10-06 01:12:22 +02:00
Raimond Garcia
3d100d1e93
Merge branch 'master' into iagirre-remove-documents-questions
2017-10-06 01:02:56 +02:00
Alberto García
806fd85246
Merge pull request #1990 from consul/polls-gallery
...
Polls Gallery
2017-10-05 21:44:38 +02:00
rgarcia
6327bcb343
adds specs for answer's gallery
2017-10-05 19:15:17 +02:00
Angel Perez
5862eea516
Add controllers/views for Poll::Question::Answer::Video
2017-10-05 12:34:20 -04:00
iagirre
b31abb64d7
Removed the methods not used from nested_documentable specs (the ones that were deleted in the questions specs) and removed also the document params from questions_params (not used anymore).
2017-10-05 17:28:24 +02:00