mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Replace the rest of the deprecated {{action xyz}} with `{{action
"xyz"}}`
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<table>
|
||||
{{#each poll.options}}
|
||||
<tr {{bind-attr class=checked:active}} {{action selectOption option}}>
|
||||
<tr {{bind-attr class=checked:active}} {{action "selectOption" option}}>
|
||||
<td class="radio">
|
||||
<input type="radio" name="poll" {{bind-attr checked=checked disabled=controller.disableRadio}}>
|
||||
</td>
|
||||
@@ -15,7 +15,7 @@
|
||||
</table>
|
||||
|
||||
<div class='row'>
|
||||
<button {{action toggleShowResults}} class="btn btn-small show-results">
|
||||
<button {{action "toggleShowResults"}} class="btn btn-small show-results">
|
||||
{{#if showResults}}
|
||||
<i class="fa fa-eye-slash"></i>
|
||||
{{i18n poll.results.hide}}
|
||||
@@ -26,7 +26,7 @@
|
||||
</button>
|
||||
|
||||
{{#if showToggleClosePoll}}
|
||||
<button {{action toggleClosePoll}} class="btn btn-small toggle-poll">
|
||||
<button {{action "toggleClosePoll"}} class="btn btn-small toggle-poll">
|
||||
{{#if poll.closed}}
|
||||
<i class="fa fa-unlock-alt"></i>
|
||||
{{i18n poll.open_poll}}
|
||||
|
||||
Reference in New Issue
Block a user