mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
fixed pr comments
This commit is contained in:
parent
2539d659ae
commit
6a44fe97aa
2 changed files with 2 additions and 2 deletions
|
@ -1172,7 +1172,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
"""Return the display status of the domain."""
|
||||
if self.is_expired() and (self.state != self.State.UNKNOWN):
|
||||
return "Expired"
|
||||
elif flag_is_active(request, "domain_renewal") and self.is_expiring():
|
||||
elif self.is_expiring():
|
||||
return "Expiring soon"
|
||||
elif self.state == self.State.UNKNOWN or self.state == self.State.DNS_NEEDED:
|
||||
return "DNS needed"
|
||||
|
|
|
@ -366,7 +366,7 @@ class DomainRenewalView(DomainBaseView):
|
|||
return HttpResponseRedirect(reverse("domain", kwargs={"pk": pk}))
|
||||
|
||||
# if not valid, render the template with error messages
|
||||
# passing editable,å and is_editable for re-render
|
||||
# passing editable and is_editable for re-render
|
||||
return render(
|
||||
request,
|
||||
"domain_renewal.html",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue