{{i18n "admin.email.preview_digest_desc"}}

{{date-picker-past value=lastSeen id="last-seen"}} {{email-group-user-chooser value=username onChange=(action "updateUsername") options=(hash maximum=1 ) }} {{d-button class="btn-primary digest-refresh-button" action=(action "refresh") label="admin.email.refresh" }}
{{#if showHtml}} {{i18n "admin.email.html"}} | {{i18n "admin.email.text"}} {{else}} {{i18n "admin.email.html"}} | {{i18n "admin.email.text"}} {{/if}}
{{#conditional-loading-spinner condition=loading}}
{{#if showSendEmailForm}}
{{#if sendingEmail}} {{i18n "admin.email.sending_test"}} {{else}} {{text-field value=email placeholderKey="admin.email.test_email_address"}} {{d-button class="btn-default" action=(action "sendEmail") disabled=sendEmailDisabled label="admin.email.send_digest"}} {{#if sentEmail}} {{i18n "admin.email.sent_test"}} {{/if}} {{/if}}
{{/if}}
{{#if showHtml}} {{#if htmlEmpty}}

{{i18n "admin.email.no_result"}}

{{else}}