Show the select badge button only once. (#5064)

This commit is contained in:
Bianca Nenciu 2017-08-18 19:00:20 +01:00 committed by Sam
parent 77469cfb88
commit e976b98efc
1 changed files with 6 additions and 8 deletions

View File

@ -13,14 +13,12 @@
<div class='grant-info-item'>
{{i18n 'badges.allow_title'}}
{{#if userBadges}}
{{#each userBadges as |ub|}}
{{#if model.allow_title}}
{{d-button
class='btn btn-small pad-left no-text'
action='toggleSetUserTitle'
icon='pencil'}}
{{/if}}
{{/each}}
{{/if}}
</div>
{{/if}}