From 2399b058553b58fc4e7dca80bb95b5989d0e3e8f Mon Sep 17 00:00:00 2001 From: Tiago vasconcelos Date: Thu, 3 Mar 2022 23:05:34 +0000 Subject: [PATCH] open ticket in dialog for large text --- .../lnticket/templates/lnticket/index.html | 52 ++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/lnticket/templates/lnticket/index.html b/lnbits/extensions/lnticket/templates/lnticket/index.html index 91536161..6572d98a 100644 --- a/lnbits/extensions/lnticket/templates/lnticket/index.html +++ b/lnbits/extensions/lnticket/templates/lnticket/index.html @@ -117,9 +117,10 @@ {% raw %} @@ -136,9 +137,19 @@ :href="'mailto:' + props.row.email" > + + Click to show ticket + - {{ col.value }} + {{ col.label == "Ticket" ? col.value.length > 20 ? `${col.value.substring(0, 20)}...` : col.value : col.value }} @@ -249,6 +260,29 @@ + + + + {% raw %} + +

+ {{this.ticketDialog.data.name}} sent a ticket +

+
+ {{this.ticketDialog.data.email}} +
+ {{this.ticketDialog.data.date}} +
+ + +

{{this.ticketDialog.data.content}}

+
+ {% endraw %} + + + +
+
{% endblock %} {% block scripts %} {{ window_vars(user) }}