diff --git a/app/templates/runs/_run_card.html b/app/templates/runs/_run_card.html index f44a884..88a42a2 100644 --- a/app/templates/runs/_run_card.html +++ b/app/templates/runs/_run_card.html @@ -64,14 +64,14 @@ {# Arrow #} -> - {# Output preview #} + {# Output preview - prefer IPFS URLs when available #} {% if run.output_cid %}
Out: {% if run.output_media_type and run.output_media_type.startswith('image/') %} - + {% elif run.output_media_type and run.output_media_type.startswith('video/') %} - + {% else %}
?
{% endif %} diff --git a/app/templates/runs/detail.html b/app/templates/runs/detail.html index e0cbb72..3458584 100644 --- a/app/templates/runs/detail.html +++ b/app/templates/runs/detail.html @@ -572,18 +572,18 @@

Output

- {# Inline media preview #} + {# Inline media preview - prefer IPFS URLs when available #}
{% if output_media_type and output_media_type.startswith('image/') %} - Output {% elif output_media_type and output_media_type.startswith('video/') %} - {% elif output_media_type and output_media_type.startswith('audio/') %} - + {% else %}
?
@@ -596,11 +596,11 @@ {{ run.output_cid }} - {% if run.output_ipfs_cid %} - - IPFS: {{ run.output_ipfs_cid[:16] }}... + IPFS: {{ run.ipfs_cid[:16] }}... {% endif %}