Skip to content

Commit

Permalink
logo and finish
Browse files Browse the repository at this point in the history
  • Loading branch information
TomConner committed Nov 23, 2023
1 parent 0b0abc3 commit 720c084
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions generator/content/register/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ <h2>Payment Options</h2>
<p>
<strong>Pay by Venmo</strong>
</p>
<p>Please pay:<br/>
<span id="acct" style="font-size: 1.1em; font-weight: bold;">@Pembroke-Troop105</span><br/>
What's this for?<br/>
<span id="memo" style="font-size: 1.1em; font-weight: bold;"></span> (or your email or name/address)</p>
<p>Please pay: <span id="acct" style="font-weight: bold;">@Pembroke-Troop105</span><br/>
What's this for <span id="venmo-memo" style="font-size: 1.1em; font-weight: bold;"></span><br/>
(or your email or name/address)</p>
<script>
document.addEventListener("DOMContentLoaded", function () {
const lookup = window.localStorage.getItem("lookup");
Expand All @@ -64,7 +63,7 @@ <h2>Payment Options</h2>
name = address.name;
if (name) {
name = name.trim();
document.getElementById("memo").innerText = `${name} ${lookup}`;
document.getElementById("venmo-memo").innerText = `${name} ${lookup}`;
}
}
});
Expand Down
4 changes: 2 additions & 2 deletions generator/content/register/stripe-payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ function loadPaymentChoices() {

document.getElementById("button-pay-venmo").onclick = (event) => {
event.preventDefault();
window.location = "/venmoinstructions";
publishMessage({"action":"navigate", "location":"/venmoinstructions"}, window.location.origin);
}
document.getElementById("button-pay-on-tree").onclick = (event) => {
event.preventDefault();
window.location = "/registered";
publishMessage({"action":"navigate", "location":"/registered"}, window.location.origin);
}

tablink_pay_stripe.addEventListener("click", (event) => {
Expand Down

0 comments on commit 720c084

Please sign in to comment.