diff --git a/cookbook/templates/recipe_view.html b/cookbook/templates/recipe_view.html index a52670ffb..24e4ba5f5 100644 --- a/cookbook/templates/recipe_view.html +++ b/cookbook/templates/recipe_view.html @@ -206,7 +206,6 @@ {% endif %} - {% if recipe.storage %}
{% if recipe.internal %} @@ -216,18 +215,22 @@
{% else %} -
- + {% if '.pdf' in recipe.file_path %} +
+ - -
+ {% endif %} + {% if '.jpg' in recipe.file_path or '.png' in recipe.file_path or '.jpeg' in recipe.file_path %} +
+ +
+ {% endif %} -
+
{% trans 'External recipe' %}