1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 03:43:33 +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>
@ -311,4 +312,4 @@
</ul>
</div>
</div>
@endif
@endif

View File

@ -6,8 +6,9 @@
<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>
</div>
@endif
@endif