mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Add download helper for dev process.
This commit is contained in:
@ -72,7 +72,7 @@
|
||||
</div>
|
||||
<p>
|
||||
{% for file in files %}
|
||||
<a href="file://{{ files[file]['path'] }}" class="waves-effect waves-light btn-small">
|
||||
<a href="{{ url_for('main.job_download', job_id=job.id, file=files[file]['path']) }}" class="waves-effect waves-light btn-small">
|
||||
<i class="material-icons left">file_download</i>{{ file }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
@ -84,7 +84,7 @@
|
||||
<p>
|
||||
{% for file in files %}
|
||||
{% for result in files[file]['results'] %}
|
||||
<a href="file://{{ files[file]['results'][result]['path'] }}" class="waves-effect waves-light btn-small">
|
||||
<a href="{{ url_for('main.job_download', job_id=job.id, file=files[file]['results'][result]['path']) }}" class="waves-effect waves-light btn-small">
|
||||
<i class="material-icons left">file_download</i>{{ result }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user