agoravoting / agora-ciudadana

Liquid Voting system made with python and django
https://www.agoravoting.com
GNU Affero General Public License v3.0
123 stars 48 forks source link

TwitterVoteView - target of a link shared on twitter about a user's vote #4

Closed ruescasd closed 12 years ago

ruescasd commented 12 years ago

This is the view that will be shown to the user when it clicks on a link from twitter where an agora user delegate is publishing its vote. The idea of this view is to make agora viral, to encourage users to delegate in the people they follow on twitter.

The Vote or delegate buttons are shown here in the design shown below with a "sign in with twitter" mark. This will happen when an user accesses to this view without being logged in into the system (otherwise, those marks would not appear inside the buttons). This means that when the user click on the Vote or delegate buttons, they will be redirected to "login through twitter" twitter.com page, and afterwards redirected back to our web page and automatically the vote or delegate action will be automatically executed on their newly created user.

The page on the background will actually be the ElectionView. When the user either delegates or vote directly, they will be redirected to the ElectionView and a notification saying something along the lines to "Voting successful, share on twitter with your friends?" will also appear. The link to "View other delegates..." would show the DelegatesView for the given Agora.

The latest design of this view is in media/voting_twitterdelegateview.svg and you can also see it uploaded as png image in here: http://i.imgur.com/UPqD8.png . Of course the design is meant to be an example and not an exact or pixel perfect image of how it should look. Please, use twitter bootstrap base css/html elements in the template.