Changeset f25e8dd in Git for target/classes/templates/discussionsList.html
- Timestamp:
- 02/05/22 22:48:19 (3 years ago)
- Branches:
- main
- Children:
- 2efe93e
- Parents:
- 5b447b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
target/classes/templates/discussionsList.html
r5b447b0 rf25e8dd 10 10 <thead> 11 11 <tr> 12 <th scope="col">Наменета</th>13 12 <th scope="col">Наслов</th> 14 13 <th scope="col">Опис</th> … … 29 28 <tr th:each="disc : ${discussions}" class="movie"> 30 29 <td th:text="${disc.getMovie() != null ? disc.getMovie().getTitle() : disc.getPerson().getName() + ' ' + disc.getPerson().getSurname()}"></td> 31 <td th:text="${disc.getTitle()}"></td> 30 <td> 31 <a th:text="${disc.getTitle()}" th:href="@{'/discussions/{id}' (id=${disc.getDiscussionId()})}"></a> 32 </td> 32 33 <td th:text="${disc.getText()}"></td> 33 34 <td th:text="${disc.getDate()}"></td> 34 35 <td th:text="${disc.getUser().getUsername()}"></td> 35 <td th:if="${disc.getUser().equals(user)}"><a class="btn btn- primary" th:href="@{'/discussions/add/{id}' (id=${disc.getDiscussionId()})}">Промени</a> </td>36 <td th:if="${disc.getUser().equals(user)}"><a class="btn btn- primarybutton-delete-discussion" th:discussion-id="${disc.getDiscussionId()}">Избриши</a> </td>36 <td th:if="${disc.getUser().equals(user)}"><a class="btn btn-warning" th:href="@{'/discussions/add/{id}' (id=${disc.getDiscussionId()})}">Измени</a> </td> 37 <td th:if="${disc.getUser().equals(user)}"><a class="btn btn-danger button-delete-discussion" th:discussion-id="${disc.getDiscussionId()}">Избриши</a> </td> 37 38 38 39 <th:block sec:authorize="isAuthenticated()"> 39 <td th:if="${!disc.getUser().equals(user)}"><a class="btn btn- primary" th:href="@{'/replies/add/{discussionId}' (discussionId=${disc.getDiscussionId()})}">Реплицирај</a> </td>40 <td th:if="${!disc.getUser().equals(user)}"><a class="btn btn-success" th:href="@{'/replies/add/{discussionId}' (discussionId=${disc.getDiscussionId()})}">Реплицирај</a> </td> 40 41 <td th:if="${!disc.getUser().equals(user)}"> 41 <a class="btn btn- primary">Ми се допаѓа</a>42 <a class="btn btn- primary">Не ми се допаѓа</a>42 <a class="btn btn-success">👍 </a> 43 <a class="btn btn-danger">👎</a> 43 44 </td> 44 45 </th:block>
Note:
See TracChangeset
for help on using the changeset viewer.