Skip to content

Commit

Permalink
Merge pull request #2428 from cisagov/rh/2389-remove-withdraw
Browse files Browse the repository at this point in the history
ISSUE #2389: Hide the other sections when in rejected state
  • Loading branch information
therealslimhsiehdy authored Jul 12, 2024
2 parents a3e4952 + 1146d97 commit b331f61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/registrar/templates/domain_request_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@ <h1>Domain request for {{ DomainRequest.requested_domain.name }}</h1>
</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">
Expand Down

0 comments on commit b331f61

Please sign in to comment.