1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 11:52:29 +01:00

Merge pull request #871 from Filoz/patch-1

Add download button to attachment
This commit is contained in:
FreeScout 2020-11-16 16:04:42 +03:00 committed by GitHub
commit 93d640206f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -281,6 +281,7 @@
<li>
<a href="{{ $attachment->url() }}" class="break-words" target="_blank">{{ $attachment->file_name }}</a>
<span class="text-help">({{ $attachment->getSizeName() }})</span>
<a href="{{ $attachment->url() }}" class="btn btn-sm btn-default" download><i class="glyphicon glyphicon-download"></i></a>
</li>
@endforeach
</ul>

View File

@ -6,6 +6,7 @@
<li>
<a href="{{ $attachment->url() }}" class="break-words" target="_blank">{{ $attachment->file_name }}</a>
<span class="text-help">({{ $attachment->getSizeName() }})</span>
<a href="{{ $attachment->url() }}" class="btn btn-sm btn-default" download><i class="glyphicon glyphicon-download"></i></a>
</li>
@endforeach
</ul>