fix screenshots

This commit is contained in:
cornernote 2015-08-14 22:34:31 +09:30
parent 71a62f9ff7
commit 8c188b26f4

View File

@ -74,7 +74,7 @@ $this->params['breadcrumbs'][] = $this->title;
<div class="text-center">
<?php
if ($model->screenshots) {
$model->getScreenshotsHtml();
echo $model->getScreenshotsHtml();
} else {
echo Html::a(Html::img('@web/img/no-image.png', ['class' => 'thumbnail']), ['screenshots', 'name' => $model->name]);
}