source: src/main/resources/templates/repairsForUser.html@ 9dcbf44

main
Last change on this file since 9dcbf44 was d4b888e, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Added full functionality for adding review

  • Property mode set to 100644
File size: 928 bytes
RevLine 
[60de3eb]1<div>
[feffc2f]2<h1>Мои поправки</h1>
3<table>
4 <thead>
5 <tr>
[d4b888e]6 <th>Број на поправка</th>
[feffc2f]7 <th>Датум на нарачка</th>
[7d43957]8 <th>Број на нарачка</th>
[feffc2f]9 <th>Име на сервис</th>
[d4b888e]10 <th>Додај критика</th>
[feffc2f]11 </tr>
12 </thead>
13 <tbody>
14 <tr th:each="repair : ${userRepairs}">
[d4b888e]15 <td th:text="${repair.getRepairid()}"></td>
[feffc2f]16 <td th:text="${repair.getOrderdate}"></td>
[7d43957]17 <td th:text="${repair.getOrderid()}"></td>
[feffc2f]18 <td th:text="${repair.getRsname()}"></td>
[d4b888e]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>
[feffc2f]29 </tr>
30 </tbody>
31</table>
[60de3eb]32</div>
Note: See TracBrowser for help on using the repository browser.