2013-06-12 00:27:11 +08:00
|
|
|
<p>{{i18n admin.email.preview_digest_desc}}</p>
|
|
|
|
|
2013-06-04 04:12:24 +08:00
|
|
|
<div class='admin-controls'>
|
|
|
|
<div class='span7 controls'>
|
|
|
|
<label for='last-seen'>{{i18n admin.email.last_seen_user}}</label>
|
|
|
|
{{input type="date" value=lastSeen id="last-seen"}}
|
|
|
|
</div>
|
|
|
|
<div class='span5'>
|
|
|
|
<button class='btn' {{action refresh}}>{{i18n admin.email.refresh}}</button>
|
|
|
|
</div>
|
|
|
|
<div class="span7 toggle">
|
|
|
|
<label>{{i18n admin.email.format}}</label>
|
|
|
|
{{#if showHtml}}
|
2013-09-17 02:08:55 +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}}
|
2013-09-17 02:08:55 +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>
|
|
|
|
|
|
|
|
{{#if loading}}
|
|
|
|
<div class='admin-loading'>{{i18n loading}}</div>
|
|
|
|
{{else}}
|
|
|
|
{{#if showHtml}}
|
|
|
|
{{{html_content}}}
|
|
|
|
{{else}}
|
|
|
|
<pre>{{{text_content}}}</pre>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|