pagination

This commit is contained in:
mepiphana2023
2024-05-02 16:55:29 +02:00
parent 8eedcc35db
commit d341873c84
3 changed files with 13 additions and 4 deletions

View File

@@ -127,6 +127,10 @@ article.details.button.bid = Bid
article.details.address.unknown = Unknown address article.details.address.unknown = Unknown address
article.details.validation.amount.required = Bid amount is required. article.details.validation.amount.required = Bid amount is required.
article.details.retrait = Pickup done article.details.retrait = Pickup done
article.details.pseudo = Username
article.details.mountench = Bidding Amount
article.details.ench = Bidders
article.details.lastof = Last Bid
edit.article.title = Edit my article edit.article.title = Edit my article
edit.article.update = Edit edit.article.update = Edit

View File

@@ -129,6 +129,11 @@ article.details.button.bid = Ench\u00E9rir
article.details.address.unknown = Adresse inconnue article.details.address.unknown = Adresse inconnue
article.details.validation.amount.required = Le montant de l'ench\u00E8re est requis. article.details.validation.amount.required = Le montant de l'ench\u00E8re est requis.
article.details.retrait = Retrait effectu\u00E9 article.details.retrait = Retrait effectu\u00E9
article.details.pseudo = Pseudo
article.details.mountench = Montant Ench\u00E8re
article.details.ench = Ench\u00E9risseurs
article.details.lastof = Derni\u00E9re offre
edit.article.title = Modifier mon article edit.article.title = Modifier mon article

View File

@@ -44,7 +44,7 @@
<span th:text="${article.prixInitial}"></span> <span th:text="${article.prixInitial}"></span>
</div> </div>
<div class="mt-2 d-flex flex-row align-items-center justify-content-between"> <div class="mt-2 d-flex flex-row align-items-center justify-content-between">
<strong><label class="col-form-label">Dernière offre</label></strong> <strong><label class="col-form-label" th:text="#{article.details.lastof}"></label></strong>
<span th:text="${maxEnchere} ? ${maxEnchere} : 'Aucune offre en cours'"></span> <span th:text="${maxEnchere} ? ${maxEnchere} : 'Aucune offre en cours'"></span>
</div> </div>
@@ -79,12 +79,12 @@
</div> </div>
<hr class="mt-2" th:if="${isArticleCurrentUser}"> <hr class="mt-2" th:if="${isArticleCurrentUser}">
<div class="mt-2" th:if="${isArticleCurrentUser}"> <div class="mt-2" th:if="${isArticleCurrentUser}">
<h5>Enchérisseurs</h5> <h5 th:text="#{article.details.ench}"></h5>
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th>Pseudo</th> <th th:text="#{article.details.pseudo}"></th>
<th>Montant Enchère</th> <!-- Nouvelle colonne pour afficher le montant de l'enchère --> <th th:text="#{article.details.mountench}">Montant Enchère</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>