post/favourite-count component

main
psychobunny 10 years ago
parent 0d0fd5f53c
commit 571c0fe405

@ -61,7 +61,7 @@
<!-- ENDIF !posts.selfPost --> <!-- ENDIF !posts.selfPost -->
<button component="post/favourite" data-favourited="{posts.favourited}" class="favourite favourite-tooltip btn btn-sm btn-default <!-- IF posts.favourited --> btn-warning <!-- ENDIF posts.favourited -->" type="button"> <button component="post/favourite" data-favourited="{posts.favourited}" class="favourite favourite-tooltip btn btn-sm btn-default <!-- IF posts.favourited --> btn-warning <!-- ENDIF posts.favourited -->" type="button">
<span class="favourite-text">[[topic:favourite]]</span> <span class="favourite-text">[[topic:favourite]]</span>
<span class="favouriteCount" data-favourites="{posts.reputation}">{posts.reputation}</span>&nbsp; <span component="post/favourite-count" class="favouriteCount" data-favourites="{posts.reputation}">{posts.reputation}</span>&nbsp;
<!-- IF posts.favourited --> <!-- IF posts.favourited -->
<i class="fa fa-star"></i> <i class="fa fa-star"></i>
<!-- ELSE --> <!-- ELSE -->
@ -75,7 +75,7 @@
<button component="post/upvote" class="upvote btn btn-sm btn-default <!-- IF posts.upvoted --> upvoted btn-primary <!-- ENDIF posts.upvoted -->"> <button component="post/upvote" class="upvote btn btn-sm btn-default <!-- IF posts.upvoted --> upvoted btn-primary <!-- ENDIF posts.upvoted -->">
<i class="fa fa-chevron-up"></i> <i class="fa fa-chevron-up"></i>
</button> </button>
<button component="post/votes" class="votes btn btn-sm btn-default" data-votes="{posts.votes}">{posts.votes}</button> <button component="post/vote-count" class="votes btn btn-sm btn-default" data-votes="{posts.votes}">{posts.votes}</button>
<!-- IF !downvote:disabled --> <!-- IF !downvote:disabled -->
<button component="post/downvote" class="downvote btn btn-sm btn-default <!-- IF posts.downvoted --> downvoted btn-primary <!-- ENDIF posts.downvoted -->"> <button component="post/downvote" class="downvote btn btn-sm btn-default <!-- IF posts.downvoted --> downvoted btn-primary <!-- ENDIF posts.downvoted -->">
<i class="fa fa-chevron-down"></i> <i class="fa fa-chevron-down"></i>

Loading…
Cancel
Save