You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
1.1 KiB

::use 'admin/design.mtt'::
<div class="span12">
<div class="article">
<h1>Emails</h1>
<p>::_("Emails are temporarily stored in a buffer, waiting to be sent by the cron")::</p>
<p>
<h3>::num:: unsent emails</h3>
</p>
::set url = "/admin/emails"::
$$browse(::browser::,::url::)
<table class="table table-bordered table-striped table-condensed table-hover">
<tr>
<th>id</th>
<th>date</th>
<th>tries</th>
<th>title</th>
<th>html</th>
<th>status</th>
</tr>
<tr ::repeat e browser.current()::>
<td>::e.id::</td>
<td>::e.cdate::</td>
::if(e.tries==0)::
<td class="warning">::e.tries::</td>
::else::
<td class="danger">::e.tries::</td>
::end::
<td>::e.title::</td>
<td>
::if e.htmlBody != null::
<a href="#" onclick="$(this).next().toggle(); return false;">[show]</a>
<div style="display:none;">
::raw e.htmlBody::
</div>
::end::
</td>
<td>::e.rawStatus::</td>
</tr>
</table>
$$browse(::browser::,::url::)
</div>
</div>
::end::