Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't require active status to display renewal link #342

Merged
merged 4 commits into from
Aug 19, 2019

Conversation

irisfaraway
Copy link
Member

We want to display the renew link when the registration is still in the renewal wndow. But we've spotted that the check to display the links requires the registration to still be active. However, some expired registrations could still be in the renewal window. In this case, the link would no longer display even when it should.

This PR fixes this issue.

We want to display the renew link when the registration is still in the renewal wndow. But we've spotted that the check to display the links requires the registration to still be active. However, some expired registrations could still be in the renewal window. In this case, the link would no longer display even when it should.

This PR fixes this issue.
@irisfaraway irisfaraway added the bug Something isn't working label Aug 19, 2019
@irisfaraway irisfaraway self-assigned this Aug 19, 2019
Decided not to use the registraton.state method here as that will return 'revoked' if anything is revoked. But we still want to be able to renew the non-revoked ones.
@irisfaraway irisfaraway marked this pull request as ready for review August 19, 2019 10:05
@irisfaraway irisfaraway merged commit 9b17360 into master Aug 19, 2019
@irisfaraway irisfaraway deleted the fix/renew-links branch August 19, 2019 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants