Commit Graph

2011 Commits

Author SHA1 Message Date
Jean-Baptiste Lenglet
da77c18871 Really display results when election is finished. 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
baf39d8f3b Hide input if user can not vote 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
1a34dcdafe Changed plain form action to reversed URL. 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
a9d154506f Added js validation for max_choice 2016-12-25 19:54:10 +01:00
33d8c14da5 can_vote in Election 2016-12-25 19:54:10 +01:00
2c76784007 Fixed Election.has_voted 2016-12-25 19:54:10 +01:00
Jean-Baptiste Lenglet
89362bae79 Hide inputs when user already voted. 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
97f835eb4e Convert indent with space, fix populate and add an s 2016-12-25 19:54:10 +01:00
a27fd267d7 Remove useless methods on elections 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
Skia
177e39bd6e Fix RuntimeWarning in populate 2016-12-25 19:54:10 +01:00
67630fc9f8 Vote template 2016-12-25 19:53:04 +01:00
Jean-Baptiste Lenglet
9dbff0cd50 Finished election details. 2016-12-25 19:53:04 +01:00
Jean-Baptiste Lenglet
94d15684b7 Added profile pictures for users 2016-12-25 19:53:04 +01:00
Jean-Baptiste Lenglet
6784d66403 Building the new vote/display for a election. 2016-12-25 19:52:14 +01:00
Jean-Baptiste Lenglet
2095dd621e Reworked election list view with datetime ranges and a description. 2016-12-25 19:52:14 +01:00
Jean-Baptiste Lenglet
e6b37ef332 Added date ranges in the elections list view. 2016-12-25 19:52:14 +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
7956067686 Election right update 2016-12-25 19:52:14 +01:00
2764f6d2d2 Refactor List Model 2016-12-25 19:52:14 +01:00
c604282b77 Nice display for elections 2016-12-25 19:52:14 +01:00
52e69b0ac1 Refactor elections 2016-12-25 19:52:14 +01:00
a284637190 Normally fixs tests 2016-12-25 19:52:14 +01:00
d14af8e452 New bdd arch 2016-12-25 19:52:14 +01:00
fd3309fc5f Refactor election bdd 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
Skia
0280a65623 Merge branch 'bilanTresorerie' into 'master'
Accounting tests

See merge request !37
2016-12-25 18:24:57 +01:00
16979aa3c1 tests for accounting 2016-12-25 12:09:32 +01:00
493148f761 new tests for operations 2016-12-24 16:16:14 +01:00
f7b4258f20 populate updated 2016-12-24 16:16:14 +01:00
418537bc8e tests for accounting added 2016-12-24 16:16:14 +01:00
Skia
df7b0a5ffe Clean migrations for news system 2016-12-24 02:12:46 +01:00
Skia
b79c77f268 Add notification with a fresh new 2016-12-23 20:11:27 +01:00
Skia
be44a3ab0b Add preview button to news 2016-12-23 19:43:59 +01:00
Skia
1dc1a0a42c Add news moderation tool 2016-12-23 18:40:37 +01:00
Skia
c95e7565e7 Make news translations 2016-12-23 03:17:38 +01:00