mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 11:16:07 +02:00
If not a domain manager and in non org model mode we should display certain text
This commit is contained in:
parent
63b3198373
commit
0e1d36444f
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue