Senén Rodero Rodríguez
7c5fa253f5
Fix queries and scopes after column deletion
...
Some queries were accessing original column instead of the new
translatable one. This should have been causing unexpected behavior
for requests maded in a different locale than the application default.
2019-04-17 17:40:55 +02:00
Senén Rodero Rodríguez
596ef8d1ed
Fix queries and scopes after column deletion
...
Some queries were accessing original column instead of the new
translatable one. This should have been causing unexpected behavior
for requests maded in a different locale than the application default.
2019-04-17 17:40:55 +02:00
decabeza
fcbb11b26e
Hides question menu on budget poll and changes redirect when create
2019-04-03 22:23:32 +02:00
rgarcia
6fa7562181
Automatically create a budget poll if it does not exist
2019-04-03 22:23:22 +02:00
María Checa
acb0a6070e
Hides budget polls in polls admin index
2019-04-03 22:20:10 +02:00
Julian Herrero
d24376f6ad
Use double quotes in controllers/
2019-03-13 22:19:49 +01:00
Javier Martín
a0fb19f0b4
Merge branch 'master' into feature/3153
2019-02-15 16:25:50 +01:00
decabeza
bc1679550b
Remove incoming polls filter
2019-02-08 14:28:19 +01:00
decabeza
dfd4f60e15
Order admin poll list by starts_at date
2019-01-31 18:49:24 +01:00
rogelio-o
f1bb1ff8de
Moves attributes to a concern.
2019-01-14 20:26:47 +01:00
rogelio-o
ea76179002
Solves #3153 . It refactors images attributes.
2019-01-12 17:42:55 +01: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
9495208518
Make polls translatable
2018-09-20 17:07:43 +02:00
Bertocq
62d75af892
Fix line lenght offenses at multiple controllers
2018-02-19 11:09:19 +01:00
Angel Perez
2bdc2c27d7
Add email specs for Poll
2017-11-17 13:14:03 -04: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
45d91a7e50
Add Poll booth_assignments and :Poll::BoothAssignment manage routes, actions and views
2017-10-19 19:27:26 +02:00
Bertocq
ce0a7f6fad
Rubocop autocorrections
2017-10-17 22:00:00 +02:00
Raimond Garcia
c7f576aa4f
Merge pull request #1962 from wairbut-m2c/iagirre-admin-polls-section
...
Iagirre admin polls section
2017-10-03 22:23:53 +02:00
María Checa
bf61dffd4b
Removed files that are not used
2017-10-03 10:47:48 +02:00
María Checa
adf18ee756
Polls admin fixes
...
Removed search from questions tab and unassign button.
2017-10-02 10:37:10 +02:00
iagirre
77d0a551cf
Migration for adding summary and description to polls created. Both text_areas were added to polls form.
...
Imageable class included in polls model and the first aproach for adding images added to form.
2017-09-28 17:46:30 +02:00
Angel Perez
0b708397df
Add base controller for Admin:Poll controller
...
Fixes #1848
On branch aperez-fix-for-issue-1848
Changes to be committed:
new file: app/controllers/admin/poll/base_controller.rb
modified: app/controllers/admin/poll/booth_assignments_controller.rb
modified: app/controllers/admin/poll/booths_controller.rb
modified: app/controllers/admin/poll/officer_assignments_controller.rb
modified: app/controllers/admin/poll/officers_controller.rb
modified: app/controllers/admin/poll/polls_controller.rb
modified: app/controllers/admin/poll/questions_controller.rb
modified: app/controllers/admin/poll/recounts_controller.rb
modified: app/controllers/admin/poll/results_controller.rb
modified: app/controllers/admin/poll/shifts_controller.rb
2017-09-13 12:22:57 -04:00
Bertocq
2fa92937d2
Fix all Style/BracesAroundHashParameters rubocop issues and remove them from rubocop_todo list
2017-06-28 14:12:51 +02:00
Bertocq
78efccc197
Fix all Layout/EmptyLinesAroundAccessModifier rubocop issues and remove files from rubocop_todo list
2017-06-25 15:46:46 +02:00
Juanjo Bazán
bedb9f29e7
extracts recounting from admin's poll/show
2017-02-14 14:07:22 +01:00
Juanjo Bazán
19ec7f93b3
extracts officer_assignments from admin's poll/show
2017-02-14 13:47:33 +01:00
Juanjo Bazán
20e31133a8
extracts booth_assignment from admin's poll/show
2017-02-14 13:00:19 +01:00
Juanjo Bazán
35540cdcf1
adds poll results to admin
...
simple page shows results by question, white and null results
2017-02-06 17:12:54 +01:00
Juanjo Bazán
a05297ea1a
adds Recounting tab to Poll's admin show view
2017-01-31 13:40:53 +01:00
kikito
65b0d27995
Moves geozones from questions to polls in admin controllers
2017-01-24 18:06:41 +01:00
Juanjo Bazán
70b86170a2
adds booth_assignment show with officers and recounts info
2017-01-04 21:00:36 +01:00
Juanjo Bazán
283a474135
adds order to search results
2016-12-27 12:38:46 +01:00
Juanjo Bazán
ee8c057a46
adds officer search to admin polls
2016-12-27 12:36:16 +01:00
Juanjo Bazán
f0156c5b5a
adds admin search/add/remove question to poll
2016-12-26 16:19:35 +01:00
Juanjo Bazán
8b4f519d71
adds booth assignation to admin poll
2016-12-23 19:06:55 +01:00
Juanjo Bazán
bc690748fd
adds dates validation to polls
2016-12-21 13:50:15 +01:00
Juanjo Bazán
ef77dd039b
adds preloading
2016-12-06 13:49:51 +01:00
rgarcia
c1a9caeab0
adds poll CRU actions
2016-11-14 13:56:49 +01:00
rgarcia
304743f64e
tmp commit poll index, show and new
2016-11-14 13:56:49 +01:00
rgarcia
503338e47b
adds view placeholders for officing polls
2016-11-14 13:51:09 +01:00