/trunk/src/org/tela_botanica/del/client/composants/votes/barrerepartition/BarreRepartitionVoteVue.ui.xml |
---|
4,7 → 4,7 |
<ui:with field="constants" type="org.tela_botanica.del.client.i18n.Vocabulary" /> |
<ui:style src="barreRepartition.css" /> |
<g:HTMLPanel styleName="{style.conteneurBarre}"> |
<g:Label ui:field="nomTaxon" styleName="{style.labelTaxon}" /> |
<g:Label ui:field="nomTaxon" styleName="{style.labelTaxon} labelTaxon" /> |
<g:HTMLPanel styleName="{style.conteneurBarreOuiNon}"> |
<g:PushButton ui:field="boutonNon" text="-" styleName="{style.boutonNon}"/> |
<g:HTMLPanel styleName="{style.barre}"> |
/trunk/src/org/tela_botanica/del/client/composants/votes/barrerepartition/BarreRepartitionVotePresenteur.java |
---|
54,6 → 54,7 |
this.moyenneVote = moyenneVote; |
int score = moyenneVote.getScore(); |
String intitule = moyenneVote.getIntituleAssocie(); |
vue.afficherVotes(score, intitule); |
if (score > 0) { |
vue.setPourcentage(score); |