fixed email subject line
This commit is contained in:
parent
09813acf30
commit
eec0af4211
2 changed files with 2 additions and 2 deletions
|
@ -411,7 +411,7 @@ def send_report_to_admin(request, report_pk, status):
|
|||
message = None
|
||||
if params['reference_number'] == '':
|
||||
message = EmailMultiAlternatives(
|
||||
"{}: {}".format(status, params['title']),
|
||||
"{} ({})".format(params['title'], status),
|
||||
msg_plain,
|
||||
from_email,
|
||||
[to_email],
|
||||
|
@ -419,7 +419,7 @@ def send_report_to_admin(request, report_pk, status):
|
|||
)
|
||||
else:
|
||||
message = EmailMultiAlternatives(
|
||||
"[{} - Request #{}] {}".format(status, params['reference_number'], params['title']),
|
||||
"[Reimbursinator #{}] {} ({})".format(params['reference_number'], params['title'], status),
|
||||
msg_plain,
|
||||
from_email,
|
||||
[to_email],
|
||||
|
|
BIN
back/db.sqlite3
BIN
back/db.sqlite3
Binary file not shown.
Loading…
Reference in a new issue