Changeset 8f1b7e9 in Git for target/classes/templates/discussionsList.html
- Timestamp:
- 02/10/22 13:28:00 (3 years ago)
- Branches:
- main
- Children:
- 980eeda
- Parents:
- 6f91f99
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
target/classes/templates/discussionsList.html
r6f91f99 r8f1b7e9 31 31 <a th:text="${disc.getTitle()}" th:href="@{'/discussions/{id}' (id=${disc.getDiscussionId()})}"></a> 32 32 </td> 33 <td th: each="like : ${likes}" th:if="${like.getDiscussionId().equals(disc.getDiscussionId())}" th:text="${like.getLikes()}"class="likes_count">33 <td th:text="${disc.getLikes() != null ? disc.getLikes() : 0}" class="likes_count"> 34 34 </td> 35 35 <td th:text="${disc.getDate()}"></td> … … 41 41 <td th:if="${!disc.getUser().equals(user)}"><a class="btn btn-success" th:href="@{'/replies/add/{discussionId}' (discussionId=${disc.getDiscussionId()})}">Реплицирај</a> </td> 42 42 <td th:if="${!disc.getUser().equals(user)}"> 43 <a class='btn btn-success button-like-discussion-alt' th:if="${!likedDiscussions.contains(disc)}" th:discussion-id="${disc .getDiscussionId()}" th:user-id="${user.getUserId()}" >❤</a>44 <a class='btn btn-danger button-unlike-discussion-alt' th:if="${likedDiscussions.contains(disc)}" th:discussion-id="${disc .getDiscussionId()}" th:user-id="${user.getUserId()}" >💔</a>43 <a class='btn btn-success button-like-discussion-alt' th:if="${!likedDiscussions.contains(disc)}" th:discussion-id="${disc?.getDiscussionId()}" th:user-id="${user.getUserId()}" >❤</a> 44 <a class='btn btn-danger button-unlike-discussion-alt' th:if="${likedDiscussions.contains(disc)}" th:discussion-id="${disc?.getDiscussionId()}" th:user-id="${user.getUserId()}" >💔</a> 45 45 </td> 46 46 </th:block>
Note:
See TracChangeset
for help on using the changeset viewer.