Show note in pollVote.tpl if poll is public
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 29 May 2020 13:54:07 +0000 (15:54 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 29 May 2020 13:54:26 +0000 (15:54 +0200)
Resolves #3258

com.woltlab.wcf/templates/pollVote.tpl

index 804431ceba1ed57c80dd424426f78ff2c5c634ed..f2701a307c7a56832df84e8e3c68d7d54489dbd1 100644 (file)
@@ -12,6 +12,7 @@
 {if $poll->canVote()}
        {if $poll->maxVotes > 1}<p><small>{lang}wcf.poll.multipleVotes{/lang}</small></p>{/if}
        {if $poll->endTime}<p><small>{lang}wcf.poll.endTimeInfo{/lang}</small></p>{/if}
+       {if $poll->isPublic}<p><small>{lang}wcf.poll.isPublic{/lang}</small></p>{/if}
 {else}
        <p><small>{lang}wcf.poll.restrictedResult{/lang}</small></p>
-{/if}
\ No newline at end of file
+{/if}