mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
cost
This commit is contained in:
@@ -56,7 +56,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" style="max-width: 200px;">
|
<img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image" style="max-width: 200px;">
|
||||||
</div>
|
</div>
|
||||||
<p class="card-cost" th:text="${recipe.cost}">Cost</p>
|
<span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a th:href="@{/recipes/{id}/edit(id=${recipe.id})}" class="edit-link">Edit</a>
|
<a th:href="@{/recipes/{id}/edit(id=${recipe.id})}" class="edit-link">Edit</a>
|
||||||
|
|||||||
@@ -56,7 +56,11 @@
|
|||||||
<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" style="max-width: 200px;">
|
<img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image" style="max-width: 200px;">
|
||||||
</div>
|
</div>
|
||||||
|
<<<<<<< HEAD
|
||||||
<p class="card-cost" th:text="${recipe.cost}">Cost</p>
|
<p class="card-cost" th:text="${recipe.cost}">Cost</p>
|
||||||
|
=======
|
||||||
|
<span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
|
||||||
|
>>>>>>> 231b1ed3607b784edde28c9424f1d2bd8d350d6d
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user