Commit Graph

5295 Commits

Author SHA1 Message Date
decabeza
3c20ba0688 improve styles for admin officials views 2017-10-19 19:56:22 +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
decabeza
bb7040359d fixes i18n key name 2017-10-19 19:09:57 +02:00
decabeza
f17d0a663e improves styles for admin organizations views 2017-10-19 18:52:04 +02:00
decabeza
ae206648a6 improves styles for admin administrators views 2017-10-19 16:37:44 +02:00
Bertocq
3daf957813 Fix table tag indentation 2017-10-19 13:35:04 +02:00
decabeza
e13a48b572 adds styles to polls stats 2017-10-19 12:27:22 +02:00
decabeza
a0eb6e56a1 fixes styles for polls tabs, uses underscore for ids 2017-10-19 12:23:57 +02:00
decabeza
78fa77b28d fixes styles for poll subnav 2017-10-19 12:23:14 +02:00
María Checa
f029cc2016 Cached Poll stats methods 2017-10-19 12:17:33 +02:00
María Checa
6e680c187f Added new column most_voted to Poll::Question::Answers 2017-10-19 12:17:20 +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
9e38b3c0fb Merge pull request #2077 from consul/consul-design
Consul design
2017-10-19 00:31:20 +02:00
Manuel Ortega
2fef9c14d0 Moving humanized_content_type from DocumentablesHelper to Document model. Removing humanized_file_size in favor of direct use of number_to_human_size form ActionViewHelper. Added additional documentens to all concerned views 2017-10-18 22:21:01 +02:00
Bertocq
d15f150e98 Trim officer shifts by booth as well 2017-10-18 20:49:30 +02:00
Manuel Ortega
97fb986626 Added documentable feature to legislation processes 2017-10-18 19:50:34 +02:00
decabeza
f6ee472a66 Improve styles for users interest list 2017-10-18 18:55:55 +02:00
decabeza
c5aeaa26ae fixes user show tabs styles 2017-10-18 18:55:07 +02:00
decabeza
eec05219cc improves html markup on activity tables 2017-10-18 18:54:43 +02:00
decabeza
05a713790f improves edit debate button on debate show 2017-10-18 18:54:01 +02:00
María Checa
70a35fbe58 Poll views improvements
Reorganized poll `#show`,  `#stats` and `#results` views. Gave stats section its own route.
2017-10-18 18:35:53 +02:00
María Checa
35f24b519d Merge branch 'master' into 1786-poll_results 2017-10-18 17:33:16 +02:00
Alberto García
91b8ed67f6 Merge pull request #2075 from wairbut-m2c/iagirre-poll-stats
Iagirre poll stats
2017-10-18 17:25:02 +02:00
BertoCQ
c6d683083f Merge pull request #2073 from consul/feature/2072#remove_question_valid_answers
Remove valid answers usage
2017-10-18 11:52:14 +02:00
BertoCQ
98ba367dfd Merge pull request #2069 from consul/chore/fix_officing_final_result_date
Force Officer results to current date instead of datepicker
2017-10-18 10:59:07 +02:00
iagirre
81b1fb1a72 Fixed some conflicts automatically merged that didn't realised before they were there 2017-10-18 10:27:41 +02:00
iagirre
f7bb3ec8b7 Merge remote-tracking branch 'consul/master' into iagirre-poll-stats 2017-10-18 09:48:02 +02:00
iagirre
73365ad9d2 Added spects to check de stats model and view 2017-10-18 09:34:17 +02:00
Bertocq
08823153a9 Correct answer inclusion validation for no question scenario 2017-10-18 02:03:58 +02:00
Bertocq
e9294f2a22 Switch from valid_answers to question_answers usage for Poll Questions 2017-10-18 01:32:15 +02:00
Bertocq
8d2945e8a2 Fix answer attribute validation to check question's question_answers inclusion 2017-10-18 01:31:34 +02:00
Bertocq
0a5ee3f861 Remove valid_answers usage on Poll Question model 2017-10-18 01:30:21 +02:00
Bertocq
ce03251c72 Filter officing results officer assigments to current date 2017-10-17 23:15:26 +02:00
Bertocq
7b40c84166 Rubocop fixes and rubocop todo update for those that can't be done right now 2017-10-17 22:23:53 +02:00
Bertocq
ce0a7f6fad Rubocop autocorrections 2017-10-17 22:00:00 +02:00
Bertocq
ceec71e558 Remove no actions message for citizen that already voted at officing panel 2017-10-17 21:42:03 +02:00
Bertocq
04910fea5b Remove officing results date picker for current date 2017-10-17 21:00:19 +02:00
María Checa
610aea2c72 Added new methods to Poll question and Poll answers 2017-10-17 18:30:20 +02:00
María Checa
bfe0addf3b Added poll results view 2017-10-17 18:29:53 +02:00