Merge pull request #2428 from cisagov/rh/2389-remove-withdraw

ISSUE #2389: Hide the other sections when in rejected state
This commit is contained in:
Rebecca H 2024-07-12 11:05:31 -07:00 committed by GitHub
commit b331f61d0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,10 +42,13 @@
</div>
<br>
<p><b class="review__step__name">Last updated:</b> {{DomainRequest.updated_at|date:"F j, Y"}}</p>
{% if DomainRequest.status != 'rejected' %}
<p>{% include "includes/domain_request.html" %}</p>
<p><a href="{% url 'domain-request-withdraw-confirmation' pk=DomainRequest.id %}" class="usa-button usa-button--outline withdraw_outline">
Withdraw request</a>
</p>
{% endif %}
</div>
<div class="grid-col desktop:grid-offset-2 maxw-tablet">