Skip to content

Commit

Permalink
Update _view.php
Browse files Browse the repository at this point in the history
  • Loading branch information
glpzzz authored Oct 26, 2020
1 parent 4590ace commit bdd8346
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/backend/media/_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
?>

<div class="card mb-4">
<h2 class="card-header"><?= StringHelper::truncate(Html::encode($model->filename), 15) ?></h2>
<h2 class="card-header d-none"><?= StringHelper::truncate(Html::encode($model->filename), 15) ?></h2>
<?= Html::img($imageToDisplay, ['alt' => $model->filename, 'class' => 'img-fluid']) ?>
<div class="btn-group d-flex" role="group" aria-label="...">
<?= Html::a(Yii::t('website','Delete'), \daxslab\website\components\Lookup::getLink($model, 'delete'), [
Expand All @@ -17,6 +17,7 @@
]) ?>
</div>
<div class="card-footer">
<?= Html::a(Yii::t('website', 'Link'), $model->url) ?>,
<?= Yii::$app->formatter->asShortSize($model->size, 2) ?>
</div>
</div>

0 comments on commit bdd8346

Please sign in to comment.