end article start edit article
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
</div>
|
||||
<div class="mt-2 d-flex flex-row align-items-end justify-content-between">
|
||||
<strong><label class="col-form-label">Dernière offre</label></strong>
|
||||
<span th:text="${maxEnchere}"></span>
|
||||
<span th:text="${maxEnchere} ? ${maxEnchere} : 'Aucune offre en cours'"></span>
|
||||
</div>
|
||||
<div class="mt-2 d-flex flex-row align-items-end justify-content-between">
|
||||
<strong><label class="col-form-label">Date fin enchère</label></strong>
|
||||
@@ -63,7 +63,7 @@
|
||||
</form>
|
||||
<div class="mt-5">
|
||||
<a class="btn btn-secondary" href="/accueil" th:text="'Retour'"></a>
|
||||
<!-- <a th:if="${#strings.equals(${username.pseudo}, ${article.getPseudoUtilisateur()})}" class="btn btn-secondary" href="/accueil" th:text="'Modifier'"></a>-->
|
||||
<a th:if="${#strings.equals(user.getPseudo(), article.pseudoUtilisateur)}" class="btn btn-secondary" href="/article/edit" th:text="'Modifier'"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
10
src/main/resources/templates/editArticle.html
Normal file
10
src/main/resources/templates/editArticle.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -24,7 +24,7 @@
|
||||
<img href="/accueil" src="/img/logo.png" width="70" height="70" alt="Logo">
|
||||
<label href="/accueil" class="text-light"><strong>ENI-Encheres</strong></label>
|
||||
</a>
|
||||
<div th:if="${#authentication.principal != 'anonymousUser'}" class="text-light text-center d-flex justify-content-center align-items-center" th:text="#{home.credit} + ${user}"></div>
|
||||
<div th:if="${#authentication.principal != 'anonymousUser'}" class="text-light text-center d-flex justify-content-center align-items-center" th:text="#{home.credit} + ${user.getCredit()}"></div>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user