genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

[Task]: Add traffic light to product page

This commit is contained in:
mlabusch 2017-05-03 08:41:49 +02:00
parent 8a0e336ed7
commit 0597a392f4
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@
<div class="col-md-8">
<h2 th:text="${product.name}">Product Name</h2>
<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}}"/>
<p class="lead" th:text="${product.description}">Description.</p>
<div th:replace="fragments/reviews :: reviews"></div>
</div>