From 807579ec5dc5dbed139364bd6d544f79d36c7438 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 8 Aug 2019 21:12:33 +0200 Subject: [PATCH] qrcode: move caption before qrcode This allows reading the qr code description on small screens (like from the laptop at the infodesk) without scrolling down all the time ;-) --- src/utils/templatetags/qrcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/templatetags/qrcode.py b/src/utils/templatetags/qrcode.py index 7d1395e1..c181ed99 100644 --- a/src/utils/templatetags/qrcode.py +++ b/src/utils/templatetags/qrcode.py @@ -17,7 +17,7 @@ def qr_code(value): return mark_safe( "
" - '' "
{}
" + '' "
".format(data.decode(), value) )