Changeset d4b888e for src/main/resources/templates/repairsForUser.html
- Timestamp:
- 01/06/23 15:26:00 (23 months ago)
- Branches:
- main
- Children:
- 9dcbf44
- Parents:
- f484b14
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/repairsForUser.html
rf484b14 rd4b888e 4 4 <thead> 5 5 <tr> 6 <th>Број на поправка</th> 6 7 <th>Датум на нарачка</th> 7 <th>Нарачан дел</th>8 8 <th>Број на нарачка</th> 9 9 <th>Име на сервис</th> 10 <th>Додај критика</th> 10 11 </tr> 11 12 </thead> 12 13 <tbody> 13 14 <tr th:each="repair : ${userRepairs}"> 15 <td th:text="${repair.getRepairid()}"></td> 14 16 <td th:text="${repair.getOrderdate}"></td> 15 <td th:text="${repair.getPartname()}"></td>16 17 <td th:text="${repair.getOrderid()}"></td> 17 18 <td th:text="${repair.getRsname()}"></td> 19 <td> 20 <div th:if="${!hasReview.get(repair.getRepairid())}"> 21 <form th:action="@{'/repairs/addReview/{id}' (id=${repair.getRepairid()}) }"> 22 <button type="submit">Додај критика</button> 23 </form> 24 </div> 25 <div th:if="${hasReview.get(repair.getRepairid())}"> 26 Веќе има критика 27 </div> 28 </td> 18 29 </tr> 19 30 </tbody>
Note:
See TracChangeset
for help on using the changeset viewer.