dollar sign fix

This commit is contained in:
moon.gibson
2026-04-21 19:28:24 -06:00
parent d0910dabe8
commit 2afab06410
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
<div th:if="${recipe.images != null and !#lists.isEmpty(recipe.images)}"> <div th:if="${recipe.images != null and !#lists.isEmpty(recipe.images)}">
<img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image"> <img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image">
</div> </div>
<p th:text="${recipe.cost}">Cost</p> <span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
</div> </div>
</a> </a>
</div> </div>
+1 -1
View File
@@ -50,7 +50,7 @@
<div th:if="${recipe.images != null and !#lists.isEmpty(recipe.images)}"> <div th:if="${recipe.images != null and !#lists.isEmpty(recipe.images)}">
<img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image"> <img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image">
</div> </div>
<p th:text="${recipe.cost}">Cost</p> <span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
</div> </div>
</a> </a>
</div> </div>
@@ -72,7 +72,7 @@
<p><strong>Prep Time:</strong> <span th:text="${recipe.prepTimeMinutes}">0</span> minutes</p> <p><strong>Prep Time:</strong> <span th:text="${recipe.prepTimeMinutes}">0</span> minutes</p>
<p><strong>Cook Time:</strong> <span th:text="${recipe.cookTimeMinutes}">0</span> minutes</p> <p><strong>Cook Time:</strong> <span th:text="${recipe.cookTimeMinutes}">0</span> minutes</p>
<p><strong>Servings:</strong> <span th:text="${recipe.servings}">0</span></p> <p><strong>Servings:</strong> <span th:text="${recipe.servings}">0</span></p>
<p><strong>Cost:</strong> <span th:text="${recipe.cost}">0</span></p> <p><strong>Cost:</strong> <span th:text="${#strings.repeat('$', recipe.cost)}">$</span></p>
</div> </div>
<div style="margin-bottom: 30px;"> <div style="margin-bottom: 30px;">