openstamanager/modules/stato_email/edit.php

43 lines
940 B
PHP
Raw Normal View History

2019-08-29 10:25:14 +02:00
<?php
include_once __DIR__.'/../../core.php';
echo '
<!-- DATI -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">'.tr('Informazioni').'</h3>
</div>
<div class="panel-body">
2019-08-29 10:25:14 +02:00
<div class="row">
<div class="col-md-4">
<h4>'.tr('Template').'</h4>
'.$mail->template->name.'
2019-08-29 10:25:14 +02:00
</div>
<div class="col-md-4">
<h4>'.tr('Data di invio').'</h4>
'.timestampFormat($mail->sent_at).'
2019-08-29 10:25:14 +02:00
</div>
<div class="col-md-4">
<h4>'.tr('Ultimo tentativo').'</h4>
'.timestampFormat($mail->failed_at).'
2019-08-29 10:25:14 +02:00
</div>
</div>
</div>
</div>
<h4>'.tr('Oggetto').'</h4>
<div class="well">
'.$mail->subject.'
</div>
<h4>'.tr('Contenuto').'</h4>
<div class="well">
'.$mail->content.'
</div>';