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:
commit
93d640206f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user