echo screenshot

This commit is contained in:
cornernote 2015-08-10 16:47:47 +09:30
parent 9d4745c637
commit 867c6d66a8

View File

@ -26,7 +26,7 @@ use yii\widgets\DetailView;
<div class="col-sm-2">
<?php
if ($model->screenshots) {
Html::a(Html::img($model->screenshots[0], [
echo Html::a(Html::img($model->screenshots[0], [
'class' => 'thumbnail',
'style' => 'max-width:100%',
]), ['view', 'name' => $model->name]);