{{i18n "admin.badges.preview.sql_error_header"}}
{{@model.badge.errors}}{{else}}
{{#if @model.badge.grant_count}} {{html-safe (i18n "admin.badges.preview.grant_count" count=@model.badge.grant_count ) }} {{else}} {{html-safe (i18n "admin.badges.preview.no_grant_count")}} {{/if}}
{{#if this.countWarning}}{{d-icon "triangle-exclamation"}} {{i18n "admin.badges.preview.bad_count_warning.header"}}
{{i18n "admin.badges.preview.bad_count_warning.text"}}
{{i18n "admin.badges.preview.sample"}}