Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1760 → Rev 1761

/trunk/src/org/tela_botanica/del/client/composants/votes/details/LigneVotePresenteur.java
28,12 → 28,15
public LigneVotePresenteur(Vue vue, int nbVotes) {
this.vue = vue;
vue.setAuteur(I18n.getMessages().etVotesAnonymes(String.valueOf(nbVotes)));
}
public void afficherProposition() {
vue.setAuteur(vote.getAuteur().getNomComplet());
String nomAuteur = vote.getAuteur().getNomComplet();
if (nomAuteur == null || nomAuteur.equals("")) {
nomAuteur = I18n.getVocabulary().utilisateurAnonyme();
}
vue.setAuteur(nomAuteur);
vue.setColonneDateEtNb(DateTimeFormat.getFormat("dd/MM/yyyy").format(vote.getDate()));
}