- <div class="progress progress-striped">
- <div class="bar" style="width: 60{{ vote.percent }}%;"></div>
+ <div class="row">
+ <div class="span4">
+ <div class="progress progress-striped progress-{% if vote.nb_votes > 0 and vote.nb_votes / vote.max_votes >= vote.quorum %}success{% else %}danger{% endif %}">
+ <div class="bar" style="width: {{ vote.percent }}%;">
+ <strong>{{ vote.nb_votes }} vote{{ 's' if vote.nb_votes > 1 else '' }} / {{ vote.max_votes }} ({{ vote.percent }}%)</strong></div>
+ </div>
+ </div>