Addressing feature request for Content-Disposition
All checks were successful
Build and Publish Docker Image / build (push) Successful in 41s
All checks were successful
Build and Publish Docker Image / build (push) Successful in 41s
This commit is contained in:
parent
75e301b0b2
commit
bdcc6c531b
4 changed files with 67 additions and 8 deletions
|
@ -64,15 +64,14 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="attached-files content-box">
|
||||
<h2>Attached Files</h2>
|
||||
<div class="files-section">
|
||||
<h2>Files</h2>
|
||||
{% if asset.files %}
|
||||
<ul class="files-list">
|
||||
{% for file in asset.files %}
|
||||
<li class="file-item">
|
||||
<a
|
||||
href="{{ file.file_url }}"
|
||||
target="_blank"
|
||||
href="{{ url_for('download_file', file_id=file.id) }}"
|
||||
class="file-link"
|
||||
>
|
||||
<i class="fas fa-file"></i>
|
||||
|
|
|
@ -109,8 +109,7 @@
|
|||
{% for file in asset.files %}
|
||||
<li class="file-item">
|
||||
<a
|
||||
href="{{ file.file_url }}"
|
||||
target="_blank"
|
||||
href="{{ url_for('download_file', file_id=file.id) }}"
|
||||
class="file-link"
|
||||
>
|
||||
<i class="fas fa-file"></i>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue