-
Notifications
You must be signed in to change notification settings - Fork 9
Osdev 1376 closure report. updating auto email response to remove the word 'rejected' #460
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
Closed
FrancescaOSH
wants to merge
7
commits into
main
from
OSDEV-1376-Closure-Report.-Updating-auto-email-response-to-remove-the-word-'rejected'
+15
−11
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4544062
Update report_result_body.txt
FrancescaOSH 5c58e6e
Update report_result_body.html
FrancescaOSH bc40639
Update RELEASE-NOTES.md
FrancescaOSH 5affd4f
Merge branch 'main' into OSDEV-1376-Closure-Report.-Updating-auto-ema…
FrancescaOSH e466cc5
Merge branch 'main' into OSDEV-1376-Closure-Report.-Updating-auto-ema…
roman-stolar 9aab1ac
Update RELEASE-NOTES.md
FrancescaOSH 1dbecc8
Update RELEASE-NOTES.md
roman-stolar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,11 +7,14 @@ | |
| </head> | ||
| <body> | ||
| <p> | ||
| Hi there, | ||
| Hello, | ||
| </p> | ||
| <p> | ||
| Thanks for reporting {{ facility_name }} facility as {{ closure_state|lower }}. | ||
| {% if is_closure and is_rejected %}We have rejected this report and the facility's profile in OS Hub has not been changed.{% endif %}{% if is_closure and is_confirmed %}The facility profile in Open Supply Hub has now been updated and the facility is marked as closed.{% endif %}{% if is_reopening and is_rejected %}We have rejected this report and the facility's profile in OS Hub has not been changed.{% endif %}{% if is_reopening and is_confirmed %}The facility profile in Open Supply Hub has now been updated and the facility is no longer marked as closed.{% endif %} | ||
| Thank you for reporting the facility {{ facility_name }} as {{ closure_state|lower }}. | ||
| {% if is_closure and is_rejected %}We did not approve this report and the facility's profile on OS Hub has not been changed. For more details, view our <a href="https://info.opensupplyhub.org/governance-policies">Facility Closure Policy</a>.{% endif %} | ||
| {% if is_closure and is_confirmed %}The facility profile on OS Hub has now been updated and the facility is marked as closed.{% endif %} | ||
| {% if is_reopening and is_rejected %}We did not approve this report and the facility's profile on OS Hub has not been changed.{% endif %} | ||
| {% if is_reopening and is_confirmed %}The facility profile on OS Hub has now been updated and the facility is no longer marked as closed.{% endif %} | ||
| </p> | ||
| {% if status_change_reason|length %} | ||
| <p> | ||
|
|
@@ -20,17 +23,17 @@ | |
| {% endif %} | ||
| {% if is_rejected %} | ||
| <p> | ||
| If you have additional evidence that can be used to verify the facility has {{ closure_state|lower }}, this can be shared with: [email protected] | ||
| If you have additional evidence that can be used to verify that the facility is {{ closure_state|lower }}, email the relevant documents to: [email protected] | ||
| </p> | ||
| {% endif %} | ||
| {% if is_closure and is_confirmed %} | ||
| <p> | ||
| Should you receive reports that the facility is re-opened in the future, you can share this update with the OS Hub Team. | ||
| Should you receive reports that the facility is re-opened in the future, please send us an report clicking the “Report” button (flag icon) on the facility profile and choosing “Report as Reopened” | ||
| </p> | ||
| {% endif %} | ||
|
|
||
| <p> | ||
| Best wishes, | ||
| Best Regards, | ||
| </p> | ||
| {% include "mail/signature_block.html" %} | ||
| </body> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| {% block content %} | ||
| Hi there, | ||
| Hello, | ||
|
|
||
| Thanks for reporting {{ facility_name }} facility as {{ closure_state|lower }}. | ||
| Thank you for reporting the facility {{ facility_name }} as {{ closure_state|lower }} on Open Supply Hub (OS Hub). | ||
|
|
||
| {% if is_closure and is_rejected %}We have rejected this report and the facility's profile in OS Hub has not been changed.{% endif %}{% if is_closure and is_confirmed %}The facility profile in the Open Supply Hub has now been updated and the facility is marked as closed.{% endif %}{% if is_reopening and is_rejected %}We have rejected this report and the facility's profile in OS Hub has not been changed.{% endif %}{% if is_reopening and is_confirmed %}The facility profile in the Open Supply Hub has now been updated and the facility is no longer marked as closed.{% endif %} | ||
| {% if is_closure and is_rejected %}We did not approve this report and the facility's profile in OS Hub has not been changed. For more details, view our Facility Closure Policy: https://info.opensupplyhub.org/governance-policies.{% endif %}{% if is_closure and is_confirmed %}The facility profile on OS Hub has now been updated and the facility is marked as closed.{% endif %}{% if is_reopening and is_rejected %}We did not approve this report and the facility's profile on OS Hub has not been changed.{% endif %}{% if is_reopening and is_confirmed %}The facility profile on OS Hub has now been updated and the facility is no longer marked as closed.{% endif %} | ||
|
|
||
| {% if status_change_reason|length %}OS Hub Team review notes: {{ status_change_reason }}{% endif %} | ||
|
|
||
| {% if is_rejected %}If you have additional evidence that can be used to verify the facility has {{ closure_state|lower }}, this can be shared with: [email protected]{% endif %}{% if is_closure and is_confirmed %}Should you receive reports that the facility is re-opened in the future, you can share this update with the OS Hub Team.{% endif %} | ||
| {% if is_rejected %}If you have additional evidence that can be used to verify that the facility is {{ closure_state|lower }}, email the relevant documents to: [email protected]{% endif %}{% if is_closure and is_confirmed %}Should you receive reports that the facility is re-opened in the future, please send us an report clicking the “Report” button (flag icon) on the facility profile and choosing “Report as Reopened”.{% endif %} | ||
|
|
||
| Best wishes, | ||
| Best Regards, | ||
|
|
||
| {% include "mail/signature_block.txt" %} | ||
| {% endblock content %} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.