{if $categoryaccess->getData('votingScheme') eq 'up' || $categoryaccess->getData('votingScheme') eq 'updown'}
You have {$allowanceLeftValue} vote{if $allowanceLeftValue != 1}s{/if} remaining
{else if $categoryaccess->getData('votingScheme') eq 'pointsAward'}
You have {$allowanceLeftValue} {if $categoryaccess->getData('renameScoring')}vote{else}point{/if}{if $allowanceLeftValue != 1}s{/if} remaining
{else if $categoryaccess->getData('votingScheme') eq 'stars'}
You can rate {$allowanceLeftValue} more idea{if $allowanceLeftValue != 1}s{/if}
{/if}
{if $categoryaccess->getData('blindVoting') && $categoryaccess->getData('canModerate') eq 0}
{"Idea score"|gettext}
The total score has been hidden because 'blind voting' is turned on
{else}
{"Idea score"|gettext}{$voteTotal|intval}{if $voteTotal ne 1 && $voteTotal ne -1}{"Points"|gettext}{else}{"Point"|gettext}{/if}
{/if}
{if $categoryaccess->getData('blindVoting') && $categoryaccess->getData('canModerate') eq 0}
The total score has been hidden because 'blind voting' is turned on
{else}
{$voteTotal|intval}{if $voteTotal ne 1 && $voteTotal ne -1}{"Votes"|gettext}{else}{"Vote"|gettext}{/if}
{/if}
{if $categoryaccess->getData('blindVoting') && $categoryaccess->getData('canModerate') eq 0}
{"Idea score"|gettext}
The total score has been hidden because 'blind voting' is turned on
{else}
{"Idea score"|gettext}{$voteTotal|intval}{if $voteTotal ne 1 && $voteTotal ne -1}{"Points"|gettext}{else}{"Point"|gettext}{/if}
{/if}
{if $cPost->hasReachedFinalMilestone()}
Voting is disabled because this idea has reached the final milestone
{else if $votingWalletEnabled && !$allowanceLeft && $userVoteDir eq 0}
Voting is disabled because you have used up your voting allowance
{else if ((!$timeLeft.ongoing && !$cPost->hasReachedFinalMilestone()) || ($cPost->data.post_moderationstatus eq 5)) && $category->data.category_milestonesresettime}
Voting is disabled because the idea hasn't progressed through the challenge within the defined time limit.
{else if intval($smarty.request.forPhase) ne 0 && $category->tempData.phase->data.phase_id ne $smarty.request.forPhase}
{"Voting is not available when viewing previous phases."|gettext}
{else if $currentMilestone|is_object && ($currentMilestone->getConditionType() == 'review' || $currentMilestone->getConditionType() == 'elaborate')}
{$voteBoxText|gettext}
{else if $timeLimit && $hasMilestones && !$cPost->hasReachedFinalMilestone() && (!$timeLeft.ongoing || $cPost->data.post_moderationstatus eq 5)}
{if !$timeLeft.ongoing || $cPost->data.post_moderationstatus eq 5}
{"Voting is disabled because the idea did not complete all the milestones within the time limit ."|gettext}
{/if}
{elseif $categoryaccess->getData('canVoteIdeas')}
{if $categoryaccess->getData('votingScheme') eq 'updown' || !$categoryaccess->getData('votingScheme')}
{/if}
{else}
{"Idea voting is closed"|gettext}
{/if}
{if $categoryaccess->getData('blindVoting') && $categoryaccess->getData('canModerate') eq 1}
{"Blind voting is turned on, but you can see the total because you are a moderator"|gettext}
{/if}