Commit Graph

33 Commits

Author SHA1 Message Date
Alberto Garcia Cabeza
54fbae6339 adds links to login or verification on question answers 2018-12-05 14:31:58 +01:00
María Checa
8b2f6d454c Show poll answers in poll show view after voting on a booth
If the user votes in a booth, it can see the poll and answers but can't see what he/she voted and the answers are inactive (no link, inactive ui style).
2017-10-07 17:33:27 +02:00
Raimond Garcia
2e4ce39722 Merge pull request #1994 from consul/feature/1985#voting_token
Voter Answer unique Token
2017-10-07 16:54:01 +02:00
rgarcia
e320a836e7 fixes specs 2017-10-07 13:31:54 +02:00
BertoCQ
6a0197a61b Merge branch 'master' into feature/1985#voting_token 2017-10-07 10:46:13 +02:00
Bertocq
27a1584a0f Check if user has already voted in a booth on this poll 2017-10-06 23:59:53 +02:00
María Checa
bcfd1a844a Poll voter token 2017-10-06 20:44:47 +02:00
Bertocq
165509b525 Switch from Poll::Answer to Poll::Voter usage and small fixes 2017-10-06 18:59:47 +02:00
Bertocq
d4408efda6 Generate a unique token for a Poll Ballot and use it on answer buttons 2017-10-06 14:36:21 +02:00
María Checa
c3f778bbdd Check if user has voted before sign in 2017-10-06 01:18:56 +02:00
María Checa
0cf5299846 Set voting messages 2017-10-06 00:04:25 +02:00
rgarcia
4aaf681d2d uses new answer model in user facing interface 2017-10-04 17:45:51 +02:00
María Checa
9871503c5e Restored views 2017-10-03 21:00:40 +02:00
María Checa
5bb831e959 Removed poll question show 2017-10-03 19:11:39 +02:00
María Checa
3ff89b2476 CSS minor fix 2017-09-06 20:29:59 +02:00
María Checa
12e6b9e681 Added video link to question public view 2017-09-06 19:11:28 +02:00
María Checa
11ab061b9b Added documents to question view
Added same subnavigation as proposals for comments and documents in poll questions.
2017-09-06 17:27:05 +02:00
decabeza
6c5513ab38 replaces back_link partial to back_link_to helper 2017-07-26 18:22:45 +02:00
kikito
e6fd615adf uses Poll::Question#author_visible_name in question/show 2017-02-07 12:09:19 +01:00
Alberto Garcia Cabeza
692ebe8893 moves button to header, removes answers on questions show 2017-01-30 21:08:35 +01:00
kikito
bc763c34c2 Removes Poll::Question.summary from views 2017-01-30 18:41:24 +01:00
kikito
b2a43d8450 Extracts list of reasons to a partial 2017-01-30 11:30:30 +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
kikito
6711063c7d Moves geozones from question to poll in user show views 2017-01-24 18:09:27 +01:00
Alberto Garcia Cabeza
219754e02e maintains answers centered on questions show 2016-12-26 17:36:50 +01:00
Alberto Garcia Cabeza
aac501bfda improves styles for polls questions views 2016-12-26 17:23:17 +01:00
Alberto Garcia Cabeza
6dd3320425 improves styles to polls questions views 2016-12-22 18:31:51 +01:00
Juanjo Bazán
1a20a3ce46 refactors i18n for polls 2016-12-07 14:49:56 +01:00
rgarcia
e4a61887d2 removes question attribute from poll_question show 2016-11-24 10:56:46 +01:00
rgarcia
4955daf886 adds poll and poll question's specs 2016-11-17 22:48:00 +01:00
rgarcia
b104859da3 adds question comments 2016-11-16 19:41:52 +01:00
rgarcia
6fe965a9b8 adds question's show 2016-11-16 19:41:29 +01:00
kikito
1f9945d0aa Implements answering questions 2016-11-14 13:36:00 +01:00