From 926437da13c2a793169b38dc3ff5d7757825e1c6 Mon Sep 17 00:00:00 2001 From: dni Date: Thu, 7 May 2026 10:26:21 +0200 Subject: [PATCH] feat: add paid/registered badge to ticket page some visual verification on the ticket page that it is paid / checked in. --- static/js/ticket.js | 4 ++-- static/js/ticket.vue | 20 ++++++++++++++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/static/js/ticket.js b/static/js/ticket.js index 3085f47..82fbd6d 100644 --- a/static/js/ticket.js +++ b/static/js/ticket.js @@ -3,7 +3,7 @@ window.PageEventsTicket = { data() { return { ticketId: null, - ticketName: null + ticket: null } }, methods: { @@ -18,7 +18,7 @@ window.PageEventsTicket = { 'GET', `/events/api/v1/tickets/${this.ticketId}` ) - this.ticketName = data.ticket_name + this.ticket = data } catch (error) { LNbits.utils.notifyApiError(error) } diff --git a/static/js/ticket.vue b/static/js/ticket.vue index 7fdecce..3c932e1 100644 --- a/static/js/ticket.vue +++ b/static/js/ticket.vue @@ -5,20 +5,32 @@

Ticket

+

Bookmark, print or screenshot this page,
and present it for registration!
-
+
+ + +

- - Print + + Print +