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

Improve status update message #527

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chameleon/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class PIEligibilityAdmin(ModelAdmin):
def _notify_user(self, pi_request, host):
subject = f"Decision of your PI Eligibility request for {pi_request.requestor}"
body = f"""
<p>Your PI Eligibility status has been updated to {pi_request.status},
due to the following reason:</p>
<p>Your PI Eligibility status has been updated to {pi_request.status}
with the following message:</p>
<p>{pi_request.review_summary}</p>
<br/>
<p><i>This is an automatic email, please <b>DO NOT</b> reply!
Expand Down
4 changes: 2 additions & 2 deletions util/project_allocation_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def _send_allocation_decision_notification(
subject = f"Decision of your allocation request for project {charge_code}"
body = f"""
<p>Dear {user.first_name} {user.last_name},</p>
<p>Your allocation request for project {charge_code} has been {status},
due to the following reason:</p>
<p>Your allocation request for project {charge_code} has been {status}
with the following message:</p>
<p>{decision_summary}</p>
<br/>
<p><i>This is an automatic email, please <b>DO NOT</b> reply!
Expand Down
Loading