fix: rename Gna! in emails
parent
98973301c3
commit
51e7ea4d5e
|
@ -45,9 +45,9 @@ def send_password_changed_email(request):
|
||||||
sender = settings.DEFAULT_FROM_EMAIL
|
sender = settings.DEFAULT_FROM_EMAIL
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Password changed",
|
subject="[Gna!] Password changed",
|
||||||
message=body,
|
message=body,
|
||||||
from_email=f"No reply Hostea<{sender}>",
|
from_email=f"No reply Gna!<{sender}>",
|
||||||
recipient_list=[email],
|
recipient_list=[email],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -72,9 +72,9 @@ def send_password_reset_email(request, challenge):
|
||||||
sender = settings.DEFAULT_FROM_EMAIL
|
sender = settings.DEFAULT_FROM_EMAIL
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Password reset link",
|
subject="[Gna!] Password reset link",
|
||||||
message=body,
|
message=body,
|
||||||
from_email=f"No reply Hostea<{sender}>",
|
from_email=f"No reply Gna!<{sender}>",
|
||||||
recipient_list=[email],
|
recipient_list=[email],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -99,9 +99,9 @@ def send_verification_email(request, challenge):
|
||||||
sender = settings.DEFAULT_FROM_EMAIL
|
sender = settings.DEFAULT_FROM_EMAIL
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Please confirm your email address",
|
subject="[Gna!] Please confirm your email address",
|
||||||
message=body,
|
message=body,
|
||||||
from_email=f"No reply Hostea<{sender}>",
|
from_email=f"No reply Gna!<{sender}>",
|
||||||
recipient_list=[email],
|
recipient_list=[email],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
Hello {{ username }}!
|
Hello {{ username }}!
|
||||||
|
|
||||||
|
|
||||||
This is a receipt for your latest Hostea payment.
|
This is a receipt for your latest Gna! payment.
|
||||||
|
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
|
||||||
Hostea Receipt - {{payment.date.month}}/{{payment.date.day}}/{{payment.date.year}}
|
Gna! Receipt - {{payment.date.month}}/{{payment.date.day}}/{{payment.date.year}}
|
||||||
|
|
||||||
- Instance Name: {{ payment.instance_name }}
|
- Instance Name: {{ payment.instance_name }}
|
||||||
- Configuration: {{payment.instance_configuration_id.name}}
|
- Configuration: {{payment.instance_configuration_id.name}}
|
||||||
|
@ -19,4 +19,4 @@ To view the receipt online, please see the following link:
|
||||||
We appreciate your business!
|
We appreciate your business!
|
||||||
|
|
||||||
Cheers,
|
Cheers,
|
||||||
Hostea team
|
Gna! team
|
||||||
|
|
|
@ -128,9 +128,9 @@ def payment_success(request, payment_public_id):
|
||||||
sender = settings.DEFAULT_FROM_EMAIL
|
sender = settings.DEFAULT_FROM_EMAIL
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Payment receipt your Hostea VM",
|
subject="[Gna!] Payment receipt your Hostea VM",
|
||||||
message=body,
|
message=body,
|
||||||
from_email=f"No reply Hostea<{sender}>", # TODO read from settings.py
|
from_email=f"No reply Gna!<{sender}>", # TODO read from settings.py
|
||||||
recipient_list=[email],
|
recipient_list=[email],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -71,9 +71,9 @@ class Worker(Thread):
|
||||||
sender = settings.DEFAULT_FROM_EMAIL
|
sender = settings.DEFAULT_FROM_EMAIL
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Your Hostea instance is now online!",
|
subject="[Gna!] Your Gna! instance is now online!",
|
||||||
message=body,
|
message=body,
|
||||||
from_email=f"No reply Hostea<{sender}>", # TODO read from settings.py
|
from_email=f"No reply Gna!<{sender}>", # TODO read from settings.py
|
||||||
recipient_list=[email],
|
recipient_list=[email],
|
||||||
)
|
)
|
||||||
job.delete()
|
job.delete()
|
||||||
|
|
|
@ -69,9 +69,9 @@ def create_instance(request, instance_name: str):
|
||||||
sender = settings.DEFAULT_FROM_EMAIL
|
sender = settings.DEFAULT_FROM_EMAIL
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Gitea admin credentials",
|
subject="[Gna!] Gitea admin credentials",
|
||||||
message=body,
|
message=body,
|
||||||
from_email=f"No reply Hostea<{sender}>", # TODO read from settings.py
|
from_email=f"No reply Gna!<{sender}>", # TODO read from settings.py
|
||||||
recipient_list=[request.user.email],
|
recipient_list=[request.user.email],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue