Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul th:each="pastGame : ${pastGames}">
- <li th:style="
- ${(#strings.equals(pastGame.plUUIDs[0], session.loginUUID) && pastGame.scores[0] > pastGame.scores[1])
- ? 'color:green' : 'color:red'}
- " th:text="'code: ' + ${pastGame.roomUUID}"
- th:style=""
- th:attr="onclick=|window.location.assign('/past-game/${pastGame.roomUUID}')|"></li>
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement