Changeset 73f0dbc for src/main/resources/templates/myTickets.html
- Timestamp:
- 02/10/23 01:18:53 (21 months ago)
- Branches:
- master
- Children:
- 7926d68
- Parents:
- 01a1ca6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/resources/templates/myTickets.html
r01a1ca6 r73f0dbc 54 54 <form th:action="@{'/home/getSeats/{id}' (id=${ticket.id_ticket})}" 55 55 th:method="GET"> 56 <--button th:if="${ticket.projection.date_time_start != null and ticket.projection.date_time_start.isBefore(java.time.LocalDate.now())}" class="button" type="submit">Откажи</--button>56 <--button th:if="${ticket.projection.date_time_start != null and #dates.isBefore(java.time.LocalDateTime.of(ticket.projection.date_time_start, java.time.LocalTime.MIN).toInstant(java.time.ZoneOffset.UTC).toEpochMilli(), java.util.Date.from(java.time.LocalDate.now().atStartOfDay(java.time.ZoneId.systemDefault()).toInstant()).getTime())}" class="button" type="submit">Откажи</--button> 57 57 </form> 58 58
Note:
See TracChangeset
for help on using the changeset viewer.