Fix RSVP grammar and make status text styling consistent
This commit is contained in:
@@ -153,7 +153,7 @@
|
|||||||
<wa-button size="small" variant="neutral" data-value="8">8</wa-button>
|
<wa-button size="small" variant="neutral" data-value="8">8</wa-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="donation-section">
|
<div class="donation-section">
|
||||||
<div id="donation-status" style="display: none; margin-bottom: 1rem;"></div>
|
<div id="donation-status" style="display: none; font-weight: bold; margin-bottom: 1rem;"></div>
|
||||||
<div id="donation-header">Would you like to make a donation?</div>
|
<div id="donation-header">Would you like to make a donation?</div>
|
||||||
<div class="button-group donation-group" id="donation-group">
|
<div class="button-group donation-group" id="donation-group">
|
||||||
<wa-button variant="neutral" class="selected" data-value="25">$25</wa-button>
|
<wa-button variant="neutral" class="selected" data-value="25">$25</wa-button>
|
||||||
@@ -227,7 +227,7 @@
|
|||||||
|
|
||||||
if (hasRSVP) {
|
if (hasRSVP) {
|
||||||
const word = data.numPeople === 1 ? 'person' : 'people';
|
const word = data.numPeople === 1 ? 'person' : 'people';
|
||||||
document.getElementById('rsvp-header').textContent = `You're RSVPed for ${data.numPeople} ${word}.`;
|
document.getElementById('rsvp-header').textContent = `You've RSVPed for ${data.numPeople} ${word}.`;
|
||||||
} else {
|
} else {
|
||||||
document.getElementById('rsvp-header').textContent = 'RSVP now!';
|
document.getElementById('rsvp-header').textContent = 'RSVP now!';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user