Commit Graph

242 Commits

Author SHA1 Message Date
decabeza
abf0fe992e Removes tablist and tab roles 2018-07-04 17:14:24 +02:00
decabeza
28a7c03c21 Adds data-tabs on admin poll booth assignments show 2018-06-08 15:15:46 +02:00
Alberto
f9940980b0 Merge pull request #2645 from wairbut-m2c/admin-form-improvements-backport
Admin form improvements
2018-06-07 17:44:38 +02:00
decabeza
6a812659c3 Adds missing tablist and tab roles 2018-06-06 12:01:17 +02:00
decabeza
ee884ed998 Updates active to is-active class for menus 2018-06-06 12:01:16 +02:00
decabeza
608f1996ce Fixes admin layout 2018-05-23 08:08:54 -04: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
Angel Perez
44b1eb929a Move 'Show stats and results' form to Admin::Poll#results tab 2018-05-23 07:27:12 -04:00
Angel Perez
10fac6d2d1 Admins can delete an answer's associated images (#1999) 2018-01-19 15:29:18 -04:00
decabeza
67df3947bf improves admin image partial 2017-12-15 18:48:24 +01:00
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