import { $gettext } from "./gettext.js"; import Dialog from "./dialog.js"; const QRCode = { defaultOptions: { title: false, }, show(text, options = {}) { options = Object.assign({}, QRCode.defaultOptions, options); // Prepare content const content = $('
'); $('').attr('src', STUDIP.ASSETS_URL + 'images/logos/logoklein.png').appendTo(content); if (options.title) { $('

').text(options.title).appendTo(content); } const code = $('