send email; manage notis and email logs

This commit is contained in:
Tóth Richárd
2018-10-23 21:56:06 +02:00
parent 85180a91b6
commit 7a24fdee51
14 changed files with 217 additions and 98 deletions

View File

@@ -24,7 +24,7 @@
{/if}
<div style="overflow-x:auto;">
<table class="log">
<table class="email log">
<tr>
<th class="left">#ID</th>
<th class="left">Címzett</th>
@@ -34,7 +34,7 @@
<th class="left">Hibaüzenet</th>
</tr>
{foreach $el_array as $log}
<tr class="email-log{if $log->get_el_exception()} delete{else} tick{/if}">
<tr class="email-log{if $log->get_el_exception()} delete{else} tick{/if}" data-log-id="{$log->get_el_id()}">
<td>#{$log->get_el_id()}</td>
<td>{$log->get_el_to_name()}<br>&lt;{$log->get_el_to_email()}&gt;</td>
<td>{$log->get_el_sent_date()}</td>
@@ -67,3 +67,9 @@
{/if}
</div>
</div>
<script type="text/javascript">
$('table.email.log tr.email-log').click(function() {
window.location.href = '/admin/email/'+$(this).data('log-id');
});
</script>