Skip to content
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 email template page #120

Merged
merged 10 commits into from
Dec 7, 2023
Merged

Conversation

FX-Wood
Copy link
Contributor

@FX-Wood FX-Wood commented Oct 19, 2023

Solves #112 item 3

This PR allows us to generate email templates for an event page.

Some email clients allow pasting rendered html content from the clipboard, so it's good to have the rendered version of the email on the page. See the below screenshot for an example of what the page looks like. Organizers can copypaste the email contents by starting their selection just below the "copy html" button or use the button to grab the raw html.

image

app/pages/events/$id.mjs Outdated Show resolved Hide resolved
app/pages/events/$id.mjs Outdated Show resolved Hide resolved
@crtr0
Copy link
Member

crtr0 commented Oct 30, 2023

"Copy to HTML" button isn't working

This code <a href="https://getpolaris.ai"><img width="200" alt="undefined logo" src="https://seattlejs.com/_public/images/sponsors/polaris.png" title="undefined logo"></a> should have the sponsor name instead of "undefined".

This code <p>Special thanks to our friends at <a href="URL">undefined</a> for sponsoring snacks for this month's event! 😎</p> should link to the sponsor's website and have their name instead of undefined.

This code <li>📍 LOCATION</li> should have "The Collective" for LOCATION.

This code img width="200" alt="undefined" src="https://seattlejs.com/_public/images/speakers/mike-ryan.jpg" title="Mike Ryan"></p> should have "photo of Mike Ryan" instead of "undefined" for alt.

@FX-Wood
Copy link
Contributor Author

FX-Wood commented Nov 8, 2023

"Copy to HTML" button isn't working

This code <a href="https://getpolaris.ai"><img width="200" alt="undefined logo" src="https://seattlejs.com/_public/images/sponsors/polaris.png" title="undefined logo"></a> should have the sponsor name instead of "undefined".

This code <p>Special thanks to our friends at <a href="URL">undefined</a> for sponsoring snacks for this month's event! 😎</p> should link to the sponsor's website and have their name instead of undefined.

This code <li>📍 LOCATION</li> should have "The Collective" for LOCATION.

This code img width="200" alt="undefined" src="https://seattlejs.com/_public/images/speakers/mike-ryan.jpg" title="Mike Ryan"></p> should have "photo of Mike Ryan" instead of "undefined" for alt.

These are fixed!

@crtr0 crtr0 merged commit 2ac8564 into seattlejs:main Dec 7, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants