From a1e6bd5441605cdbbdd9923bc682ff7e0d647eaa Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Fri, 28 Feb 2020 22:12:18 +0100 Subject: [PATCH] fixed text outside of colum --- cookbook/filters.py | 2 +- cookbook/templates/recipe_view.html | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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' %} + {% else %}