mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
dollar sign fix
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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;">
|
||||||
|
|||||||
Reference in New Issue
Block a user