Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Feb 19, 2025
1 parent 7f41806 commit 8bade90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/backend/cloud/storage_file.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<a href="{{BackendURL}}/cloud/storage_file?id={{$id}}&path={{$pathPrefix}}{{$v.Name}}&engine={{$engine}}">{{$v.Name}}</a>
{{- else -}}
{{- $fileType := FileTypeByName $v.Name -}}
<i class="fa fa-{{FileTypeIcon $fileType}}"></i>
<i class="fa fa-{{FileTypeIcon $fileType}}"></i>&nbsp;
{{- if eq $fileType `image` -}}
<a class="pull-right" href="{{BackendURL}}/cloud/storage_file?id={{$id}}&do=download&inline=1&path={{$pathPrefix}}{{$v.Name}}&engine={{$engine}}" target="_blank"><img src="{{BackendURL}}/cloud/storage_file?id={{$id}}&do=download&inline=1&path={{$pathPrefix}}{{$v.Name}}&engine={{$engine}}" style="max-width:100px;max-height:30px;" class="previewable" /></a>
{{- end -}}
Expand Down

0 comments on commit 8bade90

Please # to comment.