Commit Graph

381 Commits

Author SHA1 Message Date
iagirre
4b8a471d38 Specs added to test the functionality and some UI modified to make test pass 2017-10-30 16:50:25 +01:00
iagirre
1077e25b2b Shifts are destroyed when a booths is unassigned. An alert appears if there are shifts, but it doesn't if there aren't. 2017-10-30 12:36:07 +01:00
iagirre
89425f50ef First steps to destroy shifts when booth_assignments are destroyed 2017-10-27 14:57:32 +02:00
iagirre
b854d99248 Assign/Unassign button for expired polls is disabled 2017-10-27 13:10:10 +02:00
Bertocq
13e0c6cc3a Fix voting_polls variable typo on shift creation 2017-10-23 22:25:36 +02: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
f8e5f791b3 adds missing p close tag 2017-10-21 18:25:58 +02:00
Bertocq
995289304e Add booth location on booth assigment management list, plus poll links on list 2017-10-20 22:08:34 +02:00
María Checa
d21f0aa8a1 Hide results and stats from poll create form 2017-10-20 21:11:54 +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
9b70b90e6a Fix texts for booth assignment management 2017-10-19 22:05:02 +02:00
Bertocq
085e6ecba4 Complete booth assigment create/destroy methods to work with ajax 2017-10-19 21:32:37 +02:00
Bertocq
ce25780f70 Use booth assigment partial correctly 2017-10-19 21:32:09 +02:00
Bertocq
68b7528bab Complete booth assigment partial with assign/unassign buttons and status 2017-10-19 21:31:36 +02:00
Bertocq
ca9e807cd4 Add link to booth assignment management at poll booth assigments list 2017-10-19 21:30:57 +02:00
Bertocq
e6efd8ad7d Remove assign/unassign booth to poll from poll booth assigments list 2017-10-19 20:54:42 +02:00
Bertocq
f8839434f7 Complete booth assignment view list without actions yet 2017-10-19 20:10:51 +02:00
Bertocq
c52c0a5452 Complete Poll list with booth assigment management links 2017-10-19 19:48:22 +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
3daf957813 Fix table tag indentation 2017-10-19 13:35:04 +02:00
rgarcia
7ddc225d8b fixes alignment for link params 2017-10-19 11:28:09 +02:00
rgarcia
1ae91017b4 adds heading to results by booth table 2017-10-19 11:28:09 +02:00
rgarcia
b6e080abca fixes alignment 2017-10-19 11:28:09 +02:00
rgarcia
39ebc5173a displays recounts for a single booth 2017-10-19 11:28:09 +02:00
rgarcia
5d3654f92f refactors recounts into partial 2017-10-19 11:28:09 +02:00
rgarcia
fcbcca3b60 sorts booths by name 2017-10-19 11:28:09 +02:00
rgarcia
0499fb6fef highlights result's tab 2017-10-19 11:28:09 +02:00
rgarcia
0e8dc55b1b updates translations 2017-10-19 11:28:09 +02:00
rgarcia
6b98bc0086 displays links to results by booth 2017-10-19 11:28:09 +02:00
rgarcia
34ee16a1c1 displays results for booth 2017-10-19 11:28:09 +02:00
rgarcia
cf400f3082 refactors poll results into partial 2017-10-19 11:28:09 +02:00
Bertocq
d15f150e98 Trim officer shifts by booth as well 2017-10-18 20:49:30 +02:00
Bertocq
e9294f2a22 Switch from valid_answers to question_answers usage for Poll Questions 2017-10-18 01:32:15 +02:00
Bertocq
64db7e1dec Merge branch 'master' into fix/shift_date_range_expired 2017-10-16 19:43:00 +02:00
Raimond Garcia
b75480a5c9 Merge pull request #2058 from consul/booth-shifts-back
Booth shifts back link
2017-10-16 10:48:56 +02:00
Alberto García
9a47adb885 Merge pull request #2059 from consul/officer-search
Searches for officers assigned to a poll
2017-10-16 10:45:42 +02:00
rgarcia
f2d99d6747 searches for officers assigned to a poll 2017-10-13 18:39:13 +02:00
decabeza
bf5021c6a5 changes back link to available booths when manage shifts 2017-10-13 18:11:41 +02:00
decabeza
36a1e4a376 fixes admin polls index table 2017-10-13 17:41:09 +02:00
Bertocq
79c8c2f826 Add scope on shift creation date ranges to current/recounting/incoming polls, plus cover with test 2017-10-13 17:01:48 +02:00
BertoCQ
df5934e0c2 Merge pull request #2026 from consul/polls-admin-polish
Polls admin polish
2017-10-13 12:59:27 +02:00
decabeza
811c348f0f hides edit booth button when available filter 2017-10-11 19:36:23 +02:00
decabeza
bdc3538100 Merge branch 'master' into polls-admin-polish 2017-10-11 19:12:34 +02:00
iagirre
2b10b59e2a Order in the admin page using jquery-ui sortable widget. 2017-10-10 16:38:29 +02:00
decabeza
471860ea41 puts content on a table for polls questions answers show 2017-10-09 19:44:58 +02:00
decabeza
9dc8a0fb34 fixes questions table with long links on description 2017-10-09 19:44:12 +02:00
decabeza
36d39503e8 improves admin poll questions show 2017-10-09 19:42:53 +02:00
decabeza
80298a2746 improves admin poll header 2017-10-09 19:42:10 +02:00
decabeza
07f74cf6e5 improves layout for admin polls index 2017-10-09 19:40:16 +02:00