ensuring abs_path

This commit is contained in:
georg.sinn-schirwitz
2025-08-30 13:00:17 +02:00
parent e34e46e19d
commit f899439f6a
3 changed files with 48 additions and 1 deletions

View File

@@ -23,5 +23,13 @@ styles %}{% endblock %} {% block content %}
>{{ job.title }}</a
>
</p>
{% if job.file_path_abs or job.file_path %}
<p>
<strong>Cached copy:</strong>
<a href="{{ url_for('serve_cached', job_id=job.id) }}" target="_blank"
>View cached copy</a
>
</p>
{% endif %}
</div>
{% endblock %}