forked from beba/foerderbarometer
fixed template name
This commit is contained in:
parent
864df9613a
commit
a750f0d7d2
|
|
@ -57,7 +57,7 @@ def send_base_decision_mail(obj: Project, scope: str, subject: str, recipient: s
|
|||
decision_label = 'bewilligt' if obj.granted else 'abgelehnt'
|
||||
subject = subject.format(name=obj.name, decision=decision_label)
|
||||
|
||||
return send_email(f'approval_{scope}_{decision}', context, subject, recipient)
|
||||
return send_email(f'approval_{decision}_{scope}', context, subject, recipient)
|
||||
|
||||
|
||||
def send_applicant_decision_mail(obj: Project):
|
||||
|
|
|
|||
Loading…
Reference in New Issue