2014-12-09 05:35:49 +08:00
|
|
|
<p>{{i18n 'admin.email.preview_digest_desc'}}</p>
|
2013-06-12 00:27:11 +08:00
|
|
|
|
2013-06-04 04:12:24 +08:00
|
|
|
<div class='admin-controls'>
|
|
|
|
<div class='span7 controls'>
|
2014-12-09 05:35:49 +08:00
|
|
|
<label for='last-seen'>{{i18n 'admin.email.last_seen_user'}}</label>
|
2013-06-04 04:12:24 +08:00
|
|
|
{{input type="date" value=lastSeen id="last-seen"}}
|
|
|
|
</div>
|
2014-06-05 17:57:56 +08:00
|
|
|
<div>
|
2014-12-09 05:35:49 +08:00
|
|
|
<button class='btn' {{action "refresh"}}>{{i18n 'admin.email.refresh'}}</button>
|
2013-06-04 04:12:24 +08:00
|
|
|
</div>
|
|
|
|
<div class="span7 toggle">
|
2014-12-09 05:35:49 +08:00
|
|
|
<label>{{i18n 'admin.email.format'}}</label>
|
2013-06-04 04:12:24 +08:00
|
|
|
{{#if showHtml}}
|
2014-12-09 05:35:49 +08:00
|
|
|
<span>{{i18n 'admin.email.html'}}</span> | <a href='#' {{action "toggleShowHtml"}}>{{i18n 'admin.email.text'}}</a>
|
2013-06-04 04:12:24 +08:00
|
|
|
{{else}}
|
2014-12-09 05:35:49 +08:00
|
|
|
<a href='#' {{action "toggleShowHtml"}}>{{i18n 'admin.email.html'}}</a> | <span>{{i18n 'admin.email.text'}}</span>
|
2013-06-04 04:12:24 +08:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-11-13 04:10:36 +08:00
|
|
|
{{#loading-spinner condition=loading}}
|
2013-06-04 04:12:24 +08:00
|
|
|
{{#if showHtml}}
|
|
|
|
{{{html_content}}}
|
|
|
|
{{else}}
|
|
|
|
<pre>{{{text_content}}}</pre>
|
|
|
|
{{/if}}
|
2014-11-13 04:10:36 +08:00
|
|
|
{{/loading-spinner}}
|