From e56495214879c158213c8e78179a6dc792a52e90 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 24 Aug 2021 12:05:25 +0200 Subject: [PATCH] Web check-in: Show ticket secret on result card --- .../static/pretixplugins/webcheckin/components/app.vue | 3 ++- .../webcheckin/static/pretixplugins/webcheckin/scss/main.scss | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/app.vue b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/app.vue index ec2f128360..428f12f5fa 100644 --- a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/app.vue +++ b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/components/app.vue @@ -31,7 +31,8 @@

{{ checkResult.position.order }}-{{ checkResult.position.positionid }} {{ checkResult.position.attendee_name }}

{{ checkResult.reason_explanation }}
- {{ checkResultItemvar }} + {{ checkResultItemvar }}
+ {{ checkResult.position.secret }}
{{ checkResult.position.seat.name }}
diff --git a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/scss/main.scss b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/scss/main.scss index 2c5c1bb1eb..c9b76e2985 100644 --- a/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/scss/main.scss +++ b/src/pretix/plugins/webcheckin/static/pretixplugins/webcheckin/scss/main.scss @@ -84,7 +84,9 @@ a.searchresult { background: $brand-warning; } } +} +a.searchresult, .check-result { .secret { word-break: break-word; color: $text-muted; @@ -150,4 +152,4 @@ a.searchresult { .modal-footer .btn-primary.pull-right { margin-left: 10px; -} \ No newline at end of file +}