Subversion Repositories eFlore/Applications.del

Rev

Rev 1104 | Rev 1150 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1104 Rev 1139
Line 72... Line 72...
72
		
72
		
Line 73... Line 73...
73
		Map<String, VoteDetermination> listeVotes = propositionDetermination.getVotesDeterminations();
73
		Map<String, VoteDetermination> listeVotes = propositionDetermination.getVotesDeterminations();
74
		
74
		
75
		int votesAnonymesPour = 0;
75
		int votesAnonymesPour = 0;
76
		int votesAnonymesContre = 0;
76
		int votesAnonymesContre = 0;
77
		MoyenneVote moyenne = CalculVoteDeterminationService.calculerVoteDetermination(propositionDetermination);
77
		MoyenneVote moyenne = CalculVoteDeterminationService.calculerMoyenneVoteDetermination(propositionDetermination, listeVotes.size());
Line 78... Line 78...
78
		scorePour.setText(String.valueOf(moyenne.getScore()) + '%');
78
		scorePour.setText(String.valueOf(moyenne.getScore()) + '%');
79
		scoreContre.setText(String.valueOf(100 - moyenne.getScore()) + '%');
79
		scoreContre.setText(String.valueOf(100 - moyenne.getScore()) + '%');