Skip to content

Commit

Permalink
fix: Update language for disable_expiry_messaging_for_learner_credit …
Browse files Browse the repository at this point in the history
…field (#2110)
  • Loading branch information
brobro10000 authored May 20, 2024
1 parent 66b16d0 commit f734040
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Unreleased
----------
* nothing unreleased

[4.19.1]
--------
* fix: Update language for disable_expiry_messaging_for_learner_credit field

[4.19.0]
--------
* feat: Introduce disable_expiry field on the enterprise customer model
Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Your project description goes here.
"""

__version__ = "4.19.0"
__version__ = "4.19.1"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 4.2.13 on 2024-05-20 18:02

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('enterprise', '0208_enterprisecustomer_disable_expiry_messaging_for_learner_credit_and_more'),
]

operations = [
migrations.AlterField(
model_name='enterprisecustomer',
name='disable_expiry_messaging_for_learner_credit',
field=models.BooleanField(default=False, help_text='If checked, learners and admins will not receive notifications leading up to the expiration date for learner credit plans. Notifications signaling the expiration (and loss of usability) itself will still appear.', verbose_name='Disable expiration messaging for learner credit'),
),
migrations.AlterField(
model_name='historicalenterprisecustomer',
name='disable_expiry_messaging_for_learner_credit',
field=models.BooleanField(default=False, help_text='If checked, learners and admins will not receive notifications leading up to the expiration date for learner credit plans. Notifications signaling the expiration (and loss of usability) itself will still appear.', verbose_name='Disable expiration messaging for learner credit'),
),
]
5 changes: 3 additions & 2 deletions enterprise/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,9 @@ class Meta:
disable_expiry_messaging_for_learner_credit = models.BooleanField(
verbose_name="Disable expiration messaging for learner credit",
default=False,
help_text=_("If checked, learners and admins will not receive expiration-related email and "
"other notifications regarding learner credit plans.")
help_text=_("If checked, learners and admins will not receive notifications leading up to the expiration "
"date for learner credit plans. Notifications signaling the expiration (and loss of usability) "
"itself will still appear.")
)

enable_portal_code_management_screen = models.BooleanField(
Expand Down

0 comments on commit f734040

Please sign in to comment.