mirror of
https://ghfast.top/https://github.com/discourse/discourse-topic-voting.git
synced 2026-07-17 11:37:03 +08:00
- Secure the vote / unvote paths - Improve perf, only ask for voters on click - Remove all concept of supervotes - Limit voting to a much saner and smaller number - Improve rendering
9 lines
240 B
Handlebars
9 lines
240 B
Handlebars
{{#if model.can_vote}}
|
|
{{#if model.postStream.loaded}}
|
|
{{#if model.postStream.firstPostPresent}}
|
|
<div class="voting title-voting">
|
|
{{mount-widget widget="vote-box" args=model}}
|
|
</div>
|
|
{{/if}}
|
|
{{/if}}
|
|
{{/if}}
|