diff --git a/cookbook/filters.py b/cookbook/filters.py index 9e196005f..af093e3c5 100644 --- a/cookbook/filters.py +++ b/cookbook/filters.py @@ -43,4 +43,4 @@ class RecipeFilter(django_filters.FilterSet): class Meta: model = Recipe - fields = ['name', 'keywords', 'ingredients'] + fields = ['name', 'keywords', 'ingredients', 'internal'] diff --git a/cookbook/templates/recipe_view.html b/cookbook/templates/recipe_view.html index cbff76720..3fca0f352 100644 --- a/cookbook/templates/recipe_view.html +++ b/cookbook/templates/recipe_view.html @@ -168,8 +168,10 @@ {% if recipe.storage %}
{% if recipe.internal %} - {% trans 'View external recipe' %} +
+ {% trans 'View external recipe' %} +
{% else %}