From: Alexander Ebert Date: Tue, 27 Sep 2016 17:36:21 +0000 (+0200) Subject: Poll buttons are hidden after vote has been cast X-Git-Tag: 3.0.0_Beta_2~98 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d49192ffd25741e4afdf206c6a6d5e2b6c726bb4;p=GitHub%2FWoltLab%2FWCF.git Poll buttons are hidden after vote has been cast --- diff --git a/com.woltlab.wcf/templates/poll.tpl b/com.woltlab.wcf/templates/poll.tpl index 93e694d65f..c8ac4fb257 100644 --- a/com.woltlab.wcf/templates/poll.tpl +++ b/com.woltlab.wcf/templates/poll.tpl @@ -35,15 +35,15 @@ {hascontent} -
canVote() && $__pollView === 'result'} style="display: none"{/if}> +
canVote() && $__pollView === 'result' && !$poll->canSeeResult()} style="display: none"{/if}> {content} {if $__wcf->getUser()->userID} - + {/if} {if $poll->canViewParticipants()} - + {/if} {event name='pollButtons'}