Commit c3ce904a by Carsten Brandt

fixed detailview attributes

fixes #2765
parent 9bc18fe5
......@@ -13,16 +13,16 @@ echo DetailView::widget([
'to',
'charset',
[
'name' => 'time',
'attribute' => 'time',
'value' => $timeFormatter->asDateTime($model['time'], 'short'),
],
'subject',
[
'name' => 'body',
'attribute' => 'body',
'label' => 'Text body',
],
[
'name' => 'isSuccessful',
'attribute' => 'isSuccessful',
'label' => 'Successfully sent',
'value' => $model['isSuccessful'] ? 'Yes' : 'No'
],
......@@ -30,7 +30,7 @@ echo DetailView::widget([
'bcc',
'cc',
[
'name' => 'file',
'attribute' => 'file',
'format' => 'html',
'value' => Html::a('Download eml', ['download-mail', 'file' => $model['file']]),
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment