Skip to content
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
1 change: 1 addition & 0 deletions doc/release/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
* Successful Search: If the search is successful, the results screen displays a list of production locations. Each item includes the following information about the production location: name, OS ID, address, and country name. Users can either select a specific production location or press the "I don’t see my Location" button, which triggers a confirmation dialog window.
* Confirmation Dialog Window: In this window, users can confirm that no correct location was found using the provided search parameters. They can either proceed to create a new production location or return to the search.
* Unsuccessful Search: If the search is unsuccessful, an explanation is provided along with two options: return to the search or add a new production location.
* [OSDEV-1579](https://opensupplyhub.atlassian.net/browse/OSDEV-1579) - Updated the API limit automated email to remove an outdated link referring to OAR and improve the languate for clarity. With this update the contributor will be informed of the correct process to follow if they have reached their API calls limit.

### Release instructions:
* Ensure that the following commands are included in the `post_deployment` command:
Expand Down
15 changes: 5 additions & 10 deletions src/django/api/templates/mail/api_limit_body.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,18 @@
<html lang="en">
<head>
<title>
Open Supply Hub contributor API limit notice
Open Supply Hub API access limit reached
</title>
</head>
<body>
<p>
Hello,
</p>
<p>
We’re writing to notify you that you have reached your access limit for
the Open Supply Hub (OS Hub) API and your use of the API has now been blocked. To purchase more
queries, please complete
<a
href="https://docs.google.com/forms/d/e/1FAIpQLSdJax3sVHw1IeDkBs0tmfQonWaX8SiR9UYlqXUfk0rLH73Y3w/viewform"
>this short form</a
>
letting us know which new package you would like and a member of the OS Hub
Team will be in touch to arrange payment and access.
You have reached your access limit for the Open Supply Hub (OS Hub) API, and your access has been temporarily blocked.
</p>
<p>
To purchase additional queries, please contact our support team directly at <a href="support@opensupplyhub.org">support@opensupplyhub.org</a>. We will assist you in selecting a package and arranging payment promptly.
</p>
<p>
Best Regards,
Expand Down
9 changes: 4 additions & 5 deletions src/django/api/templates/mail/api_limit_body.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{% block content %}
Hello,

We’re writing to notify you that you have reached your access limit for the Open Supply Hub
(OS Hub) API and your use of the API has now been blocked. To purchase more queries,
please complete this short form (https://docs.google.com/forms/d/e/1FAIpQLSdJax3sVHw1IeDkBs0tmfQonWaX8SiR9UYlqXUfk0rLH73Y3w/viewform)
letting us know which new package you would like and a member of the OS Hub Team
will be in touch to arrange payment and access.
You have reached your access limit for the Open Supply Hub (OS Hub) API, and your access has been temporarily blocked.

To purchase additional queries, please contact our support team directly at support@opensupplyhub.org.
We will assist you in selecting a package and arranging payment promptly.

Best Regards,

Expand Down
2 changes: 1 addition & 1 deletion src/django/api/templates/mail/api_limit_subject.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Open Supply Hub API limit notice
Open Supply Hub API access limit reached