@@ -397,6 +403,7 @@
foods_loading: false,
units: [],
units_loading: false,
+ message: '',
},
directives: {
tabindex: {
diff --git a/cookbook/templates/recipe_view.html b/cookbook/templates/recipe_view.html
index a54b46275..2a0bddbe7 100644
--- a/cookbook/templates/recipe_view.html
+++ b/cookbook/templates/recipe_view.html
@@ -215,7 +215,19 @@
{% if recipe.steps.all|length > 1 %}
- {% trans 'Step' %} {{ forloop.counter }}{% if s.name %} - {{ s.name }}{% endif %}
+
+ {% if s.type == 'TEXT' %}
+
+ {% elif s.type == 'TIME' %}
+
+ {% endif %}
+ {% if s.name %}{{ s.name }}{% else %}{% trans 'Step' %}
+ {{ forloop.counter }}{% endif %}
+ {% if s.type == 'TIME' %}
+ - {{ s.time }} {% trans 'Minutes' %}
+ {% endif %}
+
+
{% endif %}
@@ -246,7 +258,6 @@
width="100%"
height="700px"
style="border: none;">
-
{% endif %}
{% if '.jpg' in recipe.file_path or '.png' in recipe.file_path or '.jpeg' in recipe.file_path %}