{{#if errors}}

{{i18n admin.badges.preview.sql_error_header}}

{{errors}}
{{else}}

{{{i18n admin.badges.preview.grant_count count=count}}}

{{#if count_warning}}

{{i18n admin.badges.preview.bad_count_warning.header}}

{{i18n admin.badges.preview.bad_count_warning.text}}

{{/if}} {{#if sample}}

{{i18n admin.badges.preview.sample}}

{{/if}} {{#if has_query_plan}}
{{{query_plan_html}}}
{{/if}} {{/if}}