From d0cf396f68a737897cece747d61a6ada42fb4ae2 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Wed, 18 Mar 2020 12:29:40 +0100 Subject: [PATCH] ingredient mobile friendly --- cookbook/templates/recipe_view.html | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/cookbook/templates/recipe_view.html b/cookbook/templates/recipe_view.html index 57e4163df..68a9ac15e 100644 --- a/cookbook/templates/recipe_view.html +++ b/cookbook/templates/recipe_view.html @@ -81,12 +81,14 @@ {% endif %} {% if recipe.working_time and recipe.working_time != 0 %} - {% trans 'Preparation time ca.' %} {{ recipe.working_time }} min + {% trans 'Preparation time ca.' %} {{ recipe.working_time }} min {% endif %} {% if recipe.waiting_time and recipe.waiting_time != 0 %} {% trans 'Waiting time ca.' %} {{ recipe.waiting_time }} min + class="badge badge-secondary"> {% trans 'Waiting time ca.' %} {{ recipe.waiting_time }} min {% endif %} {% if recipe.waiting_time and recipe.waiting_time != 0 or recipe.working_time and recipe.working_time != 0 %} @@ -115,10 +117,10 @@
- +
{% for i in ingredients %} - - + - - {% endfor %} + + +
+
@@ -134,7 +136,7 @@
+ {% if i.ingredient.recipe %} {% endif %} @@ -144,9 +146,9 @@ {% endif %} + {% if i.note %} -
-
+