Skip to content

Commit

Permalink
Fix typo in Twig variable name and recompile
Browse files Browse the repository at this point in the history
  • Loading branch information
bocharsky-bw committed Dec 11, 2017
1 parent d7a98d5 commit 7898918
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _tuts/steps.json
Expand Up @@ -206,5 +206,5 @@
"description": null
}
],
"sha": "1c1a6cb49a5acd37ab36bdfe06f78aa347332497"
"sha": "d7a98d5bf8c665ab7494f20885a4c2500dffe637"
}
4 changes: 2 additions & 2 deletions _tuts/tests-if-complex-test-and-not-solution.diff
@@ -1,13 +1,13 @@
diff --git a/_featuredProduct.twig b/_featuredProduct.twig
index 5b5f23d..13ae408 100644
index 5b5f23d..853dbc4 100644
--- a/_featuredProduct.twig
+++ b/_featuredProduct.twig
@@ -3,7 +3,9 @@
with cane, monocle and an elegant pocket watch!

<div class="featured-quantity">
- {{ quantityRemaining }}
+ {% if quantityRemaining is defined and quantityRemaning is not odd %}
+ {% if quantityRemaining is defined and quantityRemaining is not odd %}
+ {{ quantityRemaining }}
+ {% endif %}
</div>
Expand Down

0 comments on commit 7898918

Please sign in to comment.