[Task]: Add traffic light to product page
This commit is contained in:
parent
8a0e336ed7
commit
0597a392f4
|
@ -32,7 +32,10 @@
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<h2 th:text="${product.name}">Product Name</h2>
|
<h2 th:text="${product.name}">Product Name</h2>
|
||||||
<p class="text-info text-uppercase" th:text="${product.price}">0,00 Euro</p>
|
<p class="text-info text-uppercase" th:text="${product.price}">0,00 Euro</p>
|
||||||
|
|
||||||
|
<<!-- Traffic light food labeling system -->
|
||||||
<img class="icon" src="/api/good/availablity/{{item.id}}"/>
|
<img class="icon" src="/api/good/availablity/{{item.id}}"/>
|
||||||
|
|
||||||
<p class="lead" th:text="${product.description}">Description.</p>
|
<p class="lead" th:text="${product.description}">Description.</p>
|
||||||
<div th:replace="fragments/reviews :: reviews"></div>
|
<div th:replace="fragments/reviews :: reviews"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue