Skip to content

Commit

Permalink
feat: Updates messaging on disable expiry for learner credit (#2167)
Browse files Browse the repository at this point in the history
  • Loading branch information
brobro10000 authored Jul 10, 2024
1 parent 0758ddc commit cc873d6
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.21.4]
---------
* fix: Updates messaging on disable expiry for learner credit

[4.21.3]
---------
* chore: rename PAs django group name
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.21.3"
__version__ = "4.21.4"
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 4.2.13 on 2024-07-10 18:28

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('enterprise', '0216_enterprisegroupmembership_errored_at_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. This includes removing the expiration date from the subsidy box for upcoming expirations. The subsidy summary box will not display for expired plans. Other 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. This includes removing the expiration date from the subsidy box for upcoming expirations. The subsidy summary box will not display for expired plans. Other 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 @@ -316,8 +316,9 @@ class Meta:
verbose_name="Disable expiration messaging for learner credit",
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.")
"date for learner credit plans. This includes removing the expiration date from the subsidy "
"box for upcoming expirations. The subsidy summary box will not display for expired plans. "
"Other 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 cc873d6

Please sign in to comment.