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())); |
} |
|