mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-25 11:14:02 +02:00
attach lnurl to view
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<img src="" style="width: 100%" id="animations" class="fixed-bottom-left" />
|
||||
<qrcode
|
||||
style="width: 20%; z-index: 9999"
|
||||
:value="{{copilot.lnurl}}"
|
||||
:value="{{ lnurl }}"
|
||||
class="rounded-borders fixed-top-right"
|
||||
></qrcode>
|
||||
<q-btn
|
||||
|
@@ -47,4 +47,5 @@ async def panel(copilot_id):
|
||||
copilot = await get_copilot(copilot_id) or abort(
|
||||
HTTPStatus.NOT_FOUND, "Copilot link does not exist."
|
||||
)
|
||||
return await render_template("copilot/panel.html", copilot=copilot)
|
||||
print(copilot.lnurl)
|
||||
return await render_template("copilot/panel.html", copilot=copilot, lnurl=copilot.lnurl)
|
Reference in New Issue
Block a user