-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a small tip button on the leaderboard that opens the QR code for the users BCH address #1819 #1836
Conversation
…CH address and remove the PayPal form. OWASP-BLT#1820
Co-authored-by: DonnieBLT <128622481+DonnieBLT@users.noreply.github.com>
…the users BCH address OWASP-BLT#1819
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
<div> | ||
<button type="button" id="openModal" class="btn btn-danger w-full" style="color: black;">Send a Tip</button> | ||
<dialog id="dialog"> | ||
<img id="qr-image" src="{% url 'generate_bch_qr' %}" alt="QR Code"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized you're generating the qr code based on the logged in user. So you'd always be generating your own QR code. You need to pass in the username and lookup the user's BCH address that way for both sections.
Please prepare the code in your own branch and open the pr when complete |
#1819