{{iconOrImage data}} {{data.name}}

{{#if this.readOnly}} {{this.model.name}} {{d-icon "pencil"}} {{else}} {{/if}} {{#each this.badgeTypes as |badgeType|}} {{badgeType.name}} {{/each}} {{i18n "admin.badges.select_an_icon"}} {{i18n "admin.badges.upload_an_image"}} {{#if this.readOnly}} {{this.model.description}} {{d-icon "pencil"}} {{else}} {{/if}} {{#if this.readOnly}} {{this.model.long_description}} {{d-icon "pencil"}} {{else}} {{/if}} {{#if this.siteSettings.enable_badge_sql}} {{#if (this.hasQuery data.query)}} {{#each this.badgeTriggers as |badgeType|}} {{badgeType.name}} {{/each}} {{/if}} {{/if}} {{#each this.badgeGroupings as |grouping|}} {{grouping.name}} {{/each}} Add new group {{#if (this.postHeaderDescription data)}} {{i18n "admin.badges.show_in_post_header_disabled"}} {{/if}} {{#unless this.readOnly}} {{i18n "admin.badges.delete"}} {{/unless}} {{#if this.grant_count}}
{{html-safe (i18n "badges.awarded" count=this.displayCount number=(number this.displayCount) ) }}
{{/if}}