Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
Javi Martín
c62da726b8
Apply SpaceAroundErbTag ERB Lint rule
2019-09-10 20:02:15 +02:00
Javi Martín
71d9ddd849
Apply rule to end files with a newline character
2019-09-10 20:02:15 +02:00
Javi Martín
911fe4e481
Simplify calls to render partial
...
We're also adding a bit of consistency, since most of our calls to
partial rendering omit the `partial` and `locals` keys.
2019-09-04 15:00:36 +02:00
Javi Martín
0b55097820
Remove system count from old booth assigments
...
This number was not the important one; the important one is the one
given by the recounts.
Note we're also removing the votes by date, since they're also system
votes.
2019-08-07 20:31:45 +02:00
Javi Martín
45376d1e49
Fix indentation
2019-08-07 20:31:45 +02:00
decabeza
bee616c878
Fixes manage assignments button overlapping
2019-04-03 22:28:19 +02:00
Javi Martín
3e4e65ead7
Use double quotes inside ERB
...
We were using single quotes inside ERB code when that code was inside
HTML double quotes.
2019-03-25 14:58:54 +01:00
Julian Herrero
e63a862882
Use double quotes in app/views/admin/poll
2019-03-19 12:16:50 +01:00
decabeza
ee16900d1b
Unifies styles and views for admin voting booths section
2018-07-31 12:54:12 +02:00
decabeza
6f324c6931
Unifies styles and views for admin polls
2018-07-31 12:48:01 +02:00
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
Angel Perez
2c37702298
Sort booths by name and enable pagination
2018-05-23 08:08:54 -04: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
995289304e
Add booth location on booth assigment management list, plus poll links on list
2017-10-20 22:08: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
45d91a7e50
Add Poll booth_assignments and :Poll::BoothAssignment manage routes, actions and views
2017-10-19 19:27:26 +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
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
34ee16a1c1
displays results for booth
2017-10-19 11:28:09 +02:00
María Checa
799e2475da
Polls booth assignments fixes
...
Poll booth preview now renders recounts tab by default instead of the officers one.
2017-10-02 11:08:18 +02:00
Bertocq
bf981ca828
Remove Booth Assignment officer totals and add final&system counts
2017-09-25 18:47:44 +02:00
Bertocq
f27fcc7f99
Replace FinalResult with TotalResult at admin BoothAssignment show
2017-09-19 00:45:13 +02:00
Bertocq
361e0efe00
Remove Poll Recount model and all usages
2017-07-23 23:29:24 +02:00
Juanjo Bazán
2b68f02b95
paginates booths
2017-02-14 19:09:31 +01:00
Juanjo Bazán
e04cc55eb7
shows add booth link only for not assigned booths
2017-02-14 16:07:34 +01:00
Juanjo Bazán
c359b93fd0
fixes booth search in admin
2017-02-14 16:01:09 +01:00
Juanjo Bazán
2d722f1ad4
redux admin poll subnav
2017-02-14 14:57:49 +01:00
Juanjo Bazán
bedb9f29e7
extracts recounting from admin's poll/show
2017-02-14 14:07:22 +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
4ee50c86c0
adds final recounts info to admins
2017-01-30 20:42:30 +01:00
Juanjo Bazán
e634e80113
adds system recounting to admin booth_assignments
2017-01-27 15:19:03 +01:00
Juanjo Bazán
0e9cec2ca6
adds spec for recount/officers lists in booth_assignment show
2017-01-05 13:00:48 +01:00
Juanjo Bazán
70b86170a2
adds booth_assignment show with officers and recounts info
2017-01-04 21:00:36 +01:00