diff --git a/plugins/poll/README.md b/plugins/poll/README.md index e62077d9714..5fabf2cc031 100644 --- a/plugins/poll/README.md +++ b/plugins/poll/README.md @@ -9,7 +9,7 @@ Allows you to add a poll to the first post of a topic. ## Closing the poll -Change the start of the topic title from "Poll: " to "Closed Poll: " +Change the start of the topic title from "Poll: " to "Closed Poll: ". This feature is disabled if the `allow_user_locale` site setting is enabled. _Note: closing a topic will also close the poll._ @@ -21,12 +21,12 @@ list to be used like this: ``` Intro Text - + - Item one - Item two - + Here are your choices: - + [poll] - Option 1 - Option 2 diff --git a/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars b/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars index c7197451306..360499b40f7 100644 --- a/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars +++ b/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars @@ -24,7 +24,7 @@ {{/if}} -{{#if poll.post.topic.details.can_edit}} +{{#if controller.showToggleClosePoll}}