moved votes inside so they are hidden when post is deleted

main
barisusakli 9 years ago
parent 6e5bb35859
commit 6347f24f63

@ -61,20 +61,20 @@
</span>
<!-- IF !reputation:disabled -->
<a component="post/upvote" href="#" class="<!-- IF posts.upvoted -->upvoted<!-- ENDIF posts.upvoted -->">
<i class="fa fa-chevron-up"></i>
</a>
<span class="votes">
<a component="post/upvote" href="#" class="<!-- IF posts.upvoted -->upvoted<!-- ENDIF posts.upvoted -->">
<i class="fa fa-chevron-up"></i>
</a>
<span component="post/vote-count" data-votes="{posts.votes}">{posts.votes}</span>
</span>
<!-- IF !downvote:disabled -->
<a component="post/downvote" href="#" class="<!-- IF posts.downvoted -->downvoted<!-- ENDIF posts.downvoted -->">
<i class="fa fa-chevron-down"></i>
</a>
<!-- ENDIF !downvote:disabled -->
<!-- ENDIF !reputation:disabled -->
<!-- IF !downvote:disabled -->
<a component="post/downvote" href="#" class="<!-- IF posts.downvoted -->downvoted<!-- ENDIF posts.downvoted -->">
<i class="fa fa-chevron-down"></i>
</a>
<!-- ENDIF !downvote:disabled -->
<!-- ENDIF !reputation:disabled -->
</span>
<!-- IMPORT partials/topic/post-menu.tpl -->
</small>

Loading…
Cancel
Save