Skip to content

Commit

Permalink
Update _image_multi.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AIC-BV authored Oct 12, 2023
1 parent 65226f0 commit 40254b8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ class="field-fileupload style-image-multi is-sortable is-multi <?= count($fileLi
<?php foreach ($fileList as $file): ?>
<div class="upload-object is-success" data-id="<?= $file->id ?>" data-path="<?= $file->pathUrl ?>">
<div class="icon-container image">
<?php if ($file->extension !== "pdf"): ?>
<img src="<?= $file->thumbUrl ?>" alt=""/>
<?php else: ?>
<?php if ($file->extension === "pdf"): ?>
<i class="icon-file-pdf"></i>
<?php else: ?>
<img src="<?= $file->thumbUrl ?>" alt=""/>
<?php endif ?>
</div>
<div class="info">
Expand Down

0 comments on commit 40254b8

Please sign in to comment.