code from amapei
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<th>::_("Date")::</th>
|
||||
<th>::_("Subject")::</th>
|
||||
<th>::_("Status")::</th>
|
||||
</tr>
|
||||
|
||||
::foreach m emails::
|
||||
|
||||
::if m.failure!=null::
|
||||
::set class = "danger"::
|
||||
::else::
|
||||
::set class = "success"::
|
||||
::end::
|
||||
|
||||
<tr class="::class::">
|
||||
<td>::hDate(m.date)::</td>
|
||||
<td>::m.subject::</td>
|
||||
<td>
|
||||
::if m.failure!=null::
|
||||
<span class="glyphicon glyphicon-exclamation-sign"></span> ::m.failure::
|
||||
::else::
|
||||
<span class="glyphicon glyphicon-ok"></span> ::m.success::
|
||||
::end::
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
::end::</table>
|
||||
Reference in New Issue
Block a user