moved votes inside so they are hidden when post is deleted

main
barisusakli 10 years ago
parent 6e5bb35859
commit 6347f24f63

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

Loading…
Cancel
Save