Show end of voting period after voting in poll
authorMatthias Schmidt <gravatronics@live.com>
Fri, 15 May 2020 16:08:43 +0000 (18:08 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 15 May 2020 16:08:43 +0000 (18:08 +0200)
See #3279

com.woltlab.wcf/templates/pollResult.tpl

index ba91fc32c31c69d34937c71ee19e30fd0826a115..5c3b239a6647cd8d10cf1026c47925f2518b816a 100644 (file)
@@ -10,4 +10,8 @@
                        </div>
                </li>
        {/foreach}
-</ol>
\ No newline at end of file
+</ol>
+
+{if $poll->endTime && !$poll->isFinished()}
+       <p><small>{lang}wcf.poll.endTimeInfo{/lang}</small></p>
+{/if}