File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 88 <?php $thumb_src = $item -> thumb ; ? >
99 <?php $item_path = $item -> is_file ? $item -> url : $item -> path ; ? >
1010
11- <div class =" square clickable {{ $item -> is_file ? ' file' : ' folder' } } -item" data-id =" {{ $item_path } }" >
11+ <div class =" square clickable {{ $item -> is_file ? ' ' : ' folder-item' } }" data-id =" {{ $item_path } }"
12+ @if ($item -> is_file && $thumb_src ) onclick =" fileView('{{ $item_path } } ', '{{ $item -> updated } } ')"
13+ @elseif ($item -> is_file ) onclick =" download('{{ $item_name } } ')" @endif >
1214 @if ($thumb_src )
1315 <img src =" {{ $thumb_src } }" >
1416 @else
1820
1921 <div class =" caption text-center" >
2022 <div class =" btn-group" >
21- <button type =" button" data-id =" {{ $item_path } }" class =" item_name btn btn-default btn-xs {{ $item -> is_file ? ' file' : ' folder' } } -item" >
23+ <button type =" button" data-id =" {{ $item_path } }"
24+ class =" item_name btn btn-default btn-xs {{ $item -> is_file ? ' ' : ' folder-item' } }"
25+ @if ($item -> is_file && $thumb_src ) onclick =" fileView('{{ $item_path } } ', '{{ $item -> updated } } ')"
26+ @elseif ($item -> is_file ) onclick =" download('{{ $item_name } } ')" @endif >
2227 {{ $item_name } }
2328 </button >
2429 <button type =" button" class =" btn btn-default dropdown-toggle btn-xs" data-toggle =" dropdown" aria-expanded =" false" >
You can’t perform that action at this time.
0 commit comments