Skip to content

Commit

Permalink
Modified rate limit message migration to use new pop-up message
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuastegmaier committed Mar 10, 2025
1 parent 1c96992 commit 3ed19bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configuration/migrations/0002_populate_configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def populate_configuration(apps, schema_editor):
{
"key": "review_rate_limit_popup_message",
"data_type": "html",
"value": "You cannot yet accept this page.<br />\r\nVolunteers can only accept {% configuration_value 'review_rate_limit' %} pages per minute. Please read all transcriptions completely to ensure they are whole and accurate.<br />\r\n<a href=\"{% url 'how-to-review' %}\">See review instructions.</a>",
"value": "<p>Volunteers can only accept {% configuration_value 'review_rate_limit' %} pages per minute.</p>\r\n<p>Please read all transcriptions completely to ensure they are whole and accurate. <a href=\"{% url 'how-to-review' %}\">See review instructions.</a></p>",
"description": "Message shown in the pop-up when a user exceeds the review rate limit",
},
{
Expand All @@ -29,7 +29,7 @@ def populate_configuration(apps, schema_editor):
{
"key": "review_rate_limit_banner_message",
"data_type": "html",
"value": "You cannot yet accept this page. Volunteers can only accept {% configuration_value 'review_rate_limit' %} pages per minute. See <a href=\"{% url 'how-to-review' %}\">review instructions</a>.",
"value": "Volunteers can only accept {% configuration_value 'review_rate_limit' %} pages per minute. See <a href=\"{% url 'how-to-review' %}\">review instructions</a>.",
"description": "Message to display on the banner when a user exceeds the review rate limit",
},
]
Expand Down

0 comments on commit 3ed19bd

Please sign in to comment.