Commit Graph

3189 Commits

Author SHA1 Message Date
Juanjo Bazán
547168be3f adds recounts to poll_officer view in admin zone
Admin can see recounts and final recounts made by poll_officer next to
their officing shifts
2017-01-31 12:38:53 +01:00
Juanjo Bazán
0c34c030e9 adds missing i18n text 2017-01-31 11:41:18 +01:00
Juanjo Bazán
09a9761c87 removes daily recounts from officers doing final recounts 2017-01-31 11:37:19 +01:00
Raimond Garcia
178dd303c6 Merge pull request #1379 from consul/polls-polish
polls polish
2017-01-30 22:21:42 +01:00
Raimond Garcia
b0bc97eb37 Merge pull request #1378 from consul/recounting
Final recounts info to Admin
2017-01-30 21:54:35 +01:00
Alberto Garcia Cabeza
f3842e70d7 fixes styles on callouts 2017-01-30 21:08:54 +01:00
Alberto Garcia Cabeza
692ebe8893 moves button to header, removes answers on questions show 2017-01-30 21:08:35 +01:00
Alberto Garcia Cabeza
5022bd7bf3 changes back link on polls show 2017-01-30 20:57:18 +01:00
Alberto Garcia Cabeza
88b5a491e8 adds link to poll on poll name in poll index 2017-01-30 20:56:50 +01:00
Alberto Garcia Cabeza
20a86063b7 removes reasons for not answering on poll index 2017-01-30 20:56:07 +01:00
Juanjo Bazán
4ee50c86c0 adds final recounts info to admins 2017-01-30 20:42:30 +01:00
Juanjo Bazán
70d00a9768 adds all recounts to offering final recounts list
so poll officers can compare
2017-01-30 20:16:02 +01:00
kikito
bc763c34c2 Removes Poll::Question.summary from views 2017-01-30 18:41:24 +01:00
kikito
d72dc20987 Removes summary from poll questions controller 2017-01-30 18:41:24 +01:00
kikito
043e2e3586 Removes summary from poll::Question model 2017-01-30 18:41:24 +01:00
Juanjo Bazán
72ac75abeb adds final recounting to poll officers' zone 2017-01-30 17:44:39 +01:00
Juanjo Bazán
05f054ece4 adds final recount/results shift for officers from Admin 2017-01-30 17:44:39 +01:00
Juanjo Bazán
26ae87c1f1 allows poll booth recounts only for voting days 2017-01-30 17:44:39 +01:00
Juanjo Bazán
b96cfbc837 adds methods to poll_officer to return assigned polls 2017-01-30 17:44:39 +01:00
Juanjo Bazán
2859975e81 adds scopes for final/voting_days officer_assignments 2017-01-30 17:44:39 +01:00
Juanjo Bazán
01d115dd7a adds poll::final_recounts 2017-01-30 17:44:39 +01:00
Raimond Garcia
886c179a71 Merge pull request #1375 from consul/officer-document-check
updates styles and i18n for officing views
2017-01-30 14:03:04 +01:00
Raimond Garcia
bc0a4d65b4 Merge pull request #1374 from consul/polls-index
Polls index
2017-01-30 13:52:48 +01:00
Alberto Garcia Cabeza
1977b23803 updates styles and i18n for officing views 2017-01-30 13:33:38 +01:00
kikito
c1345a1f7d Includes reason for not being able to participate in poll index 2017-01-30 11:30:39 +01:00
kikito
b2a43d8450 Extracts list of reasons to a partial 2017-01-30 11:30:30 +01:00
kikito
964da1e6d6 Fixes rails autoloader error in development 2017-01-30 11:30:18 +01:00
kikito
55ace74c67 Shows geozones when listing polls 2017-01-30 11:30:08 +01:00
kikito
e394470634 Improves order of polls when listing them in index 2017-01-30 11:29:59 +01:00
kikito
5d13bdc15d Removes 'manage' from admin permissions in Polls 2017-01-30 11:29:49 +01:00
rgarcia
ea701e9963 fixes conflicts with polls 2017-01-29 00:44:56 +01:00
rgarcia
6c34599e1e adds officer residence check and user voting 2017-01-29 00:36:20 +01:00
Juanjo Bazán
cf6ca50a3b adds optional officer_assignment_id to poll::voters 2017-01-27 18:39:25 +01:00
Juanjo Bazán
e634e80113 adds system recounting to admin booth_assignments 2017-01-27 15:19:03 +01:00
Juanjo Bazán
3d28b317e2 recounts can be made from poll's first day 2017-01-27 15:18:35 +01:00
Juanjo Bazán
51be80eedc removes answer <-> voter association 2017-01-27 11:59:37 +01:00
Juanjo Bazán
ce7bac4a59 Merge branch 'master' into polls 2017-01-26 13:16:03 +01:00
Juanjo Bazán
b1a5a324c7 adds missing checkbox label for unfeasible investments 2017-01-26 13:15:43 +01:00
kikito
183f8432eb Merge branch 'polls' into polls-question-show 2017-01-26 11:36:34 +01:00
kikito
d9351b123d prints a button to redirect to the poll when a question is answerable 2017-01-25 17:58:09 +01:00
Juanjo Bazán
cc6d841978 refactors age calculation 2017-01-25 17:16:17 +01:00
Juanjo Bazán
b13a76963a records participation of user via web
answering a poll question creates a voter with the user data to record
participation in question’s poll
2017-01-25 14:21:03 +01:00
Juanjo Bazán
086f4a4170 refactors Poll::Voter 2017-01-25 14:19:36 +01:00
Juanjo Bazán
0b2454fb97 adds User#age 2017-01-25 14:17:49 +01:00
Juanjo Bazán
6bc4f5b307 adds Poll::Answer model for web users
PartialResults is kept for booth results
2017-01-25 12:46:44 +01:00
Juanjo Bazán
8f235c25d3 poll has_many voters 2017-01-25 12:18:15 +01:00
Juanjo Bazán
900563e31c adds poll_id and stats fields to poll_voters 2017-01-25 12:03:48 +01:00
kikito
499f9b51e2 makes it possible to create orphan poll questions 2017-01-25 11:19:18 +01:00
kikito
2be88cb316 Adds missing validation to poll::question. Fixes specs 2017-01-25 10:46:57 +01:00
kikito
a4585b00f2 Merge branch 'polls' into polls-geozones 2017-01-24 18:26:23 +01:00