diff --git a/app/templates/effects/detail.html b/app/templates/effects/detail.html index c94d914..572f586 100644 --- a/app/templates/effects/detail.html +++ b/app/templates/effects/detail.html @@ -137,12 +137,18 @@
+ {% if effect.cid.startswith('Qm') or effect.cid.startswith('bafy') %} + + View on IPFS + + {% endif %} - + {% if recipe.ipfs_cid %} + + View on IPFS + + {% elif recipe.recipe_id.startswith('Qm') or recipe.recipe_id.startswith('bafy') %} + + View on IPFS + + {% endif %}