The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
||||
|
||||
![]()
The use of a vb conditional is a much better idea, and to make just the case where 1 vote is singular, and handle the alignment issue, use this in your "pollresult" template:
Code:
<div class="votes"> <div class="pollbarwrapper"> <div class="pollbar{vb:raw option.graphicnumber}" style="width:{vb:raw option.percentraw}%"></div> </div> <span class="numvotes" style="float: right;<vb:if condition="$option['votes'] == 1">padding-right: 1em;</vb:if>">{vb:raw option.votes} Vote<vb:if condition="$option['votes'] != 1">s</vb:if></span> <vb:comment><span class="percentvotes">{vb:raw option.percent}%</span></vb:comment> </div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|