From: Tim Düsterhus Date: Mon, 8 May 2023 11:59:30 +0000 (+0200) Subject: Show the “pollIsPublic” setting when editing polls X-Git-Tag: 6.0.0_Alpha_1~140^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9786a8d8b14cb7ed1d9c3962915e4b1cf02b17ab;p=GitHub%2FWoltLab%2FWCF.git Show the “pollIsPublic” setting when editing polls The checkbox is marked as disabled, as the setting may not be changed after the fact. --- diff --git a/com.woltlab.wcf/templates/__messageFormPoll.tpl b/com.woltlab.wcf/templates/__messageFormPoll.tpl index 12b5e0665f..6875ce6d20 100644 --- a/com.woltlab.wcf/templates/__messageFormPoll.tpl +++ b/com.woltlab.wcf/templates/__messageFormPoll.tpl @@ -74,9 +74,9 @@
- {if !$pollID && $__wcf->getPollManager()->canStartPublicPoll()} + {if $pollID || $__wcf->getPollManager()->canStartPublicPoll()}
- +
{/if}
diff --git a/com.woltlab.wcf/templates/__messageFormPollInline.tpl b/com.woltlab.wcf/templates/__messageFormPollInline.tpl index 6768f812df..65aeff2c92 100644 --- a/com.woltlab.wcf/templates/__messageFormPollInline.tpl +++ b/com.woltlab.wcf/templates/__messageFormPollInline.tpl @@ -55,9 +55,9 @@
- {if !$pollID && $__wcf->getPollManager()->canStartPublicPoll()} + {if $pollID || $__wcf->getPollManager()->canStartPublicPoll()}
- +
{/if}