mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 14:08:33 +08:00
30 lines
883 B
Handlebars
30 lines
883 B
Handlebars
|
<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}}
|
||
|
<span>{{i18n admin.email.html}}</span> | <a href='#' {{action toggleProperty 'showHtml'}}>{{i18n admin.email.text}}</a>
|
||
|
{{else}}
|
||
|
<a href='#' {{action toggleProperty 'showHtml'}}>{{i18n admin.email.html}}</a> | <span>{{i18n admin.email.text}}</span>
|
||
|
{{/if}}
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{{#if loading}}
|
||
|
<div class='admin-loading'>{{i18n loading}}</div>
|
||
|
{{else}}
|
||
|
{{#if showHtml}}
|
||
|
{{{html_content}}}
|
||
|
{{else}}
|
||
|
<pre>{{{text_content}}}</pre>
|
||
|
{{/if}}
|
||
|
{{/if}}
|
||
|
|
||
|
|