FIX: don't show broken button

This commit is contained in:
Sam 2014-07-24 12:39:09 +10:00
parent dc96cf6d4c
commit 469e74316b
1 changed files with 3 additions and 1 deletions

View File

@ -103,11 +103,13 @@
</form>
</div>
{{#if grant_count}}
<div class="span13 current-badge-actions">
<div>
{{#link-to 'badges.show' this classNames="btn btn-primary"}}{{i18n badges.granted count=grant_count}}{{/link-to}}
{{#link-to 'badges.show' this}}{{i18n badges.granted count=grant_count}}{{/link-to}}
</div>
</div>
{{/if}}
{{/with}}
{{/if}}