Show the select badge button only once. (#5064)
This commit is contained in:
parent
77469cfb88
commit
e976b98efc
|
@ -13,14 +13,12 @@
|
||||||
<div class='grant-info-item'>
|
<div class='grant-info-item'>
|
||||||
{{i18n 'badges.allow_title'}}
|
{{i18n 'badges.allow_title'}}
|
||||||
{{#if userBadges}}
|
{{#if userBadges}}
|
||||||
{{#each userBadges as |ub|}}
|
|
||||||
{{#if model.allow_title}}
|
{{#if model.allow_title}}
|
||||||
{{d-button
|
{{d-button
|
||||||
class='btn btn-small pad-left no-text'
|
class='btn btn-small pad-left no-text'
|
||||||
action='toggleSetUserTitle'
|
action='toggleSetUserTitle'
|
||||||
icon='pencil'}}
|
icon='pencil'}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue