Skip to content

Commit de76365

Browse files
author
Jordan Hewitt
authored
Merge pull request #2 from src-r-r/jordan_2022WW22_migrate-to-medium
Jordan 2022 ww22 migrate to medium
2 parents 5347f9f + 5f0984a commit de76365

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,17 @@ services:
113113
5. Push your fix to your branch.
114114
6. Create a pull request, detailing your fixes.
115115

116+
# Other Ways to Contribute
117+
118+
- Donate money to the projecct <https://ko-fi.com/summary/c05d8728-c615-45f7-9f5d-5fe3b57895c9>.
119+
Donors will be listed in the README. Minumum donation $1, **SUGGESTED: $10 OR MORE**
120+
- [Hire me!](https://damngood.tech) I'm a senior developer with over 10 years experience.
121+
Currently open to clients tackling the impossible!
122+
116123
# Customizations
117124

118125
If you'd like customizations for your organization, I'd love to help you out.
119-
Please pick a time to chat at https://damngood.tech/schedule/60min/.
126+
Please pick a time to chat at <https://damngood.tech/schedule/60min/>.
120127

121128
# Testing
122129

src/email.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ def get_format_kwargs(self):
5757
"organizer_cn": cfg.organizer_cn,
5858
"organizer_email": cfg.organizer_email,
5959
"organizer_role": cfg.organizer_role,
60-
"organizer_timezone": cfg.my_timezone,
60+
"organizer_timezone": str(cfg.my_timezone),
6161
"participant_timezone": str(self.start.tzinfo),
6262
"participant_cn": self.participant_name,
6363
"participant_email": self.participant_email,
64+
"from_email": cfg.email_from,
6465
"human_start": self.start.format(cfg.ics_dt_format_start),
6566
"raw_start": self.start,
6667
"dtstart": self.start.to("UTC").format(ARROW_ICS_FORMAT),
@@ -195,7 +196,7 @@ def get_email_content_template(self):
195196
return TPL_EML_PARTICIPANT
196197

197198
def get_email_to(self):
198-
return cfg.organizer_email
199+
return self.participant_email
199200

200201
def get_subject_template(self):
201-
return cfg.email_organizer_subject
202+
return cfg.email_participant_subject

src/templates/email/organizer.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Timezone: {{ organizer_timezone }}
66

77
The meeting is at the following URL:
88

9-
{{ meeting_link }}
9+
{{ meeting_link }}
1010

1111
{% if notes %}
1212
---

src/templates/email/participant.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Timezone: {{ participant_timezone }}
66

77
The meeting is at the following URL:
88

9-
{{ meeting_link }}
9+
{{ meeting_link }}
1010

1111
---
1212

src/templates/iit/index/confirmation.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ <h1 class="title">An invitation is on its way!</h1>
77
{% block main %}
88
<div class="container">
99
<div class="alert alert-success">
10-
<p>An email has been sent to <strong> {{ request.form.email }}</strong> from <strong>{{ cfg.organizer_email }}</strong>.</p>
10+
<p>An email has been sent to <strong> {{ request.form.email }}</strong> from <strong>{{ cfg.email_from }}</strong>.</p>
1111
<p>Please check the spam folder if you don't receive it within the next few minutes.</p>
12+
<p>If it's not in the spam folder, please send an email to <strong>{{ cfg.organizer_email }}</strong> to verify the meeting.</p>
13+
<p>The fine print: Ink-In Time is still in beta so you may encounter issues</p>
1214
</div>
1315
</div>
1416

0 commit comments

Comments
 (0)