If not a domain manager and in non org model mode we should display certain text

This commit is contained in:
Rebecca Hsieh 2025-01-09 13:24:43 -08:00
parent 63b3198373
commit 0e1d36444f
No known key found for this signature in database

View file

@ -1585,6 +1585,8 @@ class Domain(TimeStampedModel, DomainHelper):
help_text = ( help_text = (
"This domain has expired, but it is still online. " "To renew this domain, contact help@get.gov." "This domain has expired, but it is still online. " "To renew this domain, contact help@get.gov."
) )
elif flag_is_active(self, "domain_renewal") and self.is_expiring():
help_text = "This domain will expire soon. Contact one of the listed domain managers to renew the domain."
else: else:
help_text = Domain.State.get_help_text(self.state) help_text = Domain.State.get_help_text(self.state)