unify badge count info
This commit is contained in:
parent
e51259ee7b
commit
2c2a043525
|
@ -13,22 +13,12 @@
|
|||
|
||||
<div class='badges-listing'>
|
||||
<div class='row'>
|
||||
{{#unless user}}
|
||||
<div class='grant-count'>{{i18n 'badges.granted' count=grantCount}}</div>
|
||||
{{/unless}}
|
||||
<div class='info'>{{i18n 'badges.allow_title'}} {{{view.allowTitle}}}<br>{{i18n 'badges.multiple_grant'}} {{{view.multipleGrant}}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if user}}
|
||||
<div class='badge-user-info'>
|
||||
<div class='earned'>
|
||||
{{i18n 'badges.earned_n_times' count=grantCount}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if userBadges}}
|
||||
<div class="user-badges">
|
||||
{{#each userBadges as |ub|}}
|
||||
|
|
Loading…
Reference in New Issue