{# Reusable SimpleX link box: a "Link" and a "QR" toggle button, both hidden by default. linkbtns(id) — just the two toggle buttons (for table action cells) linkpanels(link,id) — the hidden link + QR containers (place where they can span) linkbox(link,id) — buttons + panels together (for block contexts) `id` must be unique on the page. JS lives in base.html (sxToggleLink/sxToggleQr/sxCopy). #} {% macro linkbtns(id) %} {% endmacro %} {% macro linkpanels(link, id) %} {% endmacro %} {% macro linkbox(link, id) %}
{{ linkbtns(id) }}
{{ linkpanels(link, id) }} {% endmacro %}