Commit Graph

22 Commits

Author SHA1 Message Date
9d9c86ea0f Refactored has_voted 2016-12-25 19:54:10 +01:00
37decde04d Adds an S in electionS 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet
64f5fef89f Display results only when the polls close 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet
1c761f9db2 Added results when the user is not voting 2016-12-25 19:54:10 +01:00
e8d54764bd Add election results 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet
9bb5951dac Removed request.user as user bc it already exists 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet
fa9e4e5dc6 Tweaked Election view and added request.user as user 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet
dfcddbd1fa Hide election detail parts when user cannot candidate or edit. 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet
a3a5a0446d Finished main view. Some tuning are to be done. 2016-12-25 19:54:10 +01:00
9ac1cab983 Add vote in database 2016-12-25 19:54:10 +01:00
1f60fbd484 Uses election_detail for vote form 2016-12-25 19:54:10 +01:00
938e2ce0a9 Fix rights in election 2016-12-25 19:54:10 +01:00
67630fc9f8 Vote template 2016-12-25 19:53:04 +01:00
521b61517b Functionnal vote form 2016-12-25 19:52:14 +01:00
e8ead338d0 Removed useless widget added previously + began voteform 2016-12-25 19:52:14 +01:00
03754aba8a Can now add candidature 2016-12-25 19:52:14 +01:00
51bb6c8472 Can add ElectionList and start of candidature form 2016-12-25 19:52:14 +01:00
d72d8366cf Add new widget (not tested) and new bdd scheme for elections 2016-12-25 19:52:14 +01:00
c604282b77 Nice display for elections 2016-12-25 19:52:14 +01:00
a284637190 Normally fixs tests 2016-12-25 19:52:14 +01:00
135fa00e25 Fix database and add some view 2016-12-25 19:52:14 +01:00
d685e9ba29 Election bdd + first view 2016-12-25 19:52:14 +01:00