Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1088 Rev 1092
Line 53... Line 53...
53
		public HasWidgets getZoneFleur();
53
		public HasWidgets getZoneFleur();
Line 54... Line 54...
54
		
54
		
Line 55... Line 55...
55
		public HasText getZoneProtocole();
55
		public HasText getZoneProtocole();
-
 
56
		
-
 
57
		public void setNoteGenerale(int note);
56
		
58
		
Line 57... Line 59...
57
		public void setNoteGenerale(int note);
59
		public void afficherVoteModifie();
58
	}
60
	}
59
 
61
 
Line 114... Line 116...
114
				enregistrerVote();
116
				enregistrerVote();
115
				vue.masquerBoutonVoter();
117
				vue.masquerBoutonVoter();
116
				vue.masquerBoutonAnnuler();
118
				vue.masquerBoutonAnnuler();
117
				vue.afficherNbVotes();
119
				vue.afficherNbVotes();
118
				vue.reinitialiserVotes();
120
				vue.reinitialiserVotes();
119
				vue.afficherVotePrisEnCompte();
-
 
120
			}
121
			}
121
		});
122
		});
122
	}
123
	}
Line 123... Line 124...
123
 
124
 
Line 144... Line 145...
144
 
145
 
Line 145... Line 146...
145
		};
146
		};
146
 
147
 
-
 
148
		if (image.utilisateurAVotePourProtocole(this.protocole.getId() + "", idContributeur)) {
147
		if (image.utilisateurAVotePourProtocole(this.protocole.getId() + "", idContributeur)) {
149
			voteProtocoleService.modifierVote(image.getIdImage(), voteProtocole, vpc);
148
			voteProtocoleService.modifierVote(image.getIdImage(), voteProtocole, vpc);
150
			vue.afficherVoteModifie();
-
 
151
		} else {
149
		} else {
152
			voteProtocoleService.ajouterVote(image.getIdImage(), voteProtocole, vpc);
150
			voteProtocoleService.ajouterVote(image.getIdImage(), voteProtocole, vpc);
153
			vue.afficherVotePrisEnCompte();
Line 151... Line 154...
151
		}
154
		}
152
	}
155
	}