Skip to content

Commit a0c5aca

Browse files
authored
Merge pull request #50 from amphetkid/master
Update file-list.blade.php to support php 7.4
2 parents ece28e3 + 11ce68b commit a0c5aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/views/backend/file-list.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class="preview_link not_image icon" title="{{$file->filename}}">
141141
<a href="{{$helper->imageUrl($file, 'original','original') }}" target="_blank"
142142
title="{{$file->filename}}" class="preview_link not_image">{{strtoupper($file->suffix)}}
143143
{{$helper->t('file')}}<i class="fas fa-external-link-alt ml-1 small text-secondary"></i></a>
144-
{{($file->filesize/1024 > 1000) ? round($file->filesize/1024/1024,2) . ' MB' : ($file->filesize/1024 > 10) ? round($file->filesize/1024) . ' KB' : round($file->filesize/1024, 1) . ' KB' }}
144+
{{($file->filesize/1024 > 1000) ? round($file->filesize/1024/1024,2) . ' MB' : (($file->filesize/1024 > 10) ? round($file->filesize/1024) . ' KB' : round($file->filesize/1024, 1) . ' KB') }}
145145

146146
<a href="#" onclick="return confirmDelete({{$file->id}})" class="del">D<i
147147
class="far fa-trash-alt ml-1 small text-secondary"></i></a>

0 commit comments

Comments
 (0)