Fix the stars

Fixes #214
This commit is contained in:
Maxime Quandalle 2015-08-23 22:00:02 +02:00
parent f03fee5162
commit 9bea6a52d3
5 changed files with 17 additions and 28 deletions

View file

@ -7,8 +7,8 @@ template(name="headerBoard")
unless isSandstorm
if currentUser
a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}"
title="{{#if currentBoard.isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
i.fa(class="fa-star{{#unless currentBoard.isStarred}}-o{{/unless}}")
title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}")
if showStarCounter
span {{_ 'board-nb-stars' currentBoard.stars}}