patch translate et retrait article non enchérie

This commit is contained in:
jleroy
2024-05-03 08:20:34 +02:00
parent 22ba905312
commit 4243b1ebdf
5 changed files with 38 additions and 29 deletions

View File

@@ -12,8 +12,8 @@
<h4 th:text="'Article - offre en cours'"></h4>
</div>
<div class="card-header" th:unless="${#dates.format(article.dateFinEnch, 'yyyy-MM-dd')} > ${#dates.format(#dates.createNow(), 'yyyy-MM-dd')}">
<h4 th:if="${maxEncherePseudo} != null" th:text="'Article - offre remporté par ' + (${#authentication.getName() == maxEncherePseudo ? 'vous' : maxEncherePseudo})"></h4>
<h4 th:unless="${maxEncherePseudo} != null" th:text="'Article - Personne n\'a fait d\'offre'"></h4>
<h4 th:if="${maxEncherePseudo} != null" th:text="#{article.details.winBy} + ' ' + (${#authentication.getName() == maxEncherePseudo ? #{article.details.winByYou} : maxEncherePseudo})"></h4>
<h4 th:unless="${maxEncherePseudo} != null" th:text="#{article.details.noWin}"></h4>
</div>
<div class="card-body">
<div class="row">