mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
incomplete logic
This commit is contained in:
parent
2e53ba8c51
commit
732c982caa
5 changed files with 14 additions and 10 deletions
|
@ -226,6 +226,7 @@ abbr[title] {
|
|||
word-break: break-word;
|
||||
}
|
||||
|
||||
.dhs-red-50 {
|
||||
.red-incomplete-text {
|
||||
color: $dhs-red-50;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
</address>
|
||||
{% else %}
|
||||
{% if custom_text_for_value_none %}
|
||||
{{ custom_text_for_value_none }}
|
||||
<p class="margin-top-0 margin-bottom-0 red-incomplete-text">
|
||||
{{ custom_text_for_value_none }}
|
||||
</p>
|
||||
{% else %}
|
||||
None
|
||||
{% endif %}
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
{% endblock status_blurb %}
|
||||
|
||||
{% block modify_request %}
|
||||
{% if DomainRequest.status != 'withdrawn' or DomainRequest.status != 'rejected' %}
|
||||
{% if DomainRequest.status != "started" and DomainRequest.status != 'withdrawn' and DomainRequest.status != 'rejected' %}
|
||||
<p><a href="{% url 'domain-request-withdraw-confirmation' pk=DomainRequest.id %}" class="usa-button usa-button--outline withdraw_outline">
|
||||
Withdraw request</a>
|
||||
</p>
|
||||
|
@ -147,7 +147,7 @@
|
|||
{% block request_summary %}
|
||||
{% with heading_level='h3' %}
|
||||
{% with org_type=DomainRequest.get_generic_org_type_display %}
|
||||
{% include "includes/summary_item.html" with title='Type of organization' value=org_type heading_level=heading_level %}
|
||||
{% include "includes/summary_item.html" with title='Type of organization' value=org_type heading_level=heading_level custom_text_for_value_none="Incomplete" %}
|
||||
{% endwith %}
|
||||
|
||||
{% if DomainRequest.show_tribal_government %}
|
||||
|
|
|
@ -29,7 +29,9 @@
|
|||
</address>
|
||||
{% else %}
|
||||
{% if custom_text_for_value_none %}
|
||||
{{ custom_text_for_value_none }}
|
||||
<p class="margin-top-0 margin-bottom-0 red-incomplete-text">
|
||||
{{ custom_text_for_value_none }}
|
||||
</p>
|
||||
{% else %}
|
||||
None
|
||||
{% endif %}
|
||||
|
|
|
@ -43,12 +43,12 @@
|
|||
{% endfor %}
|
||||
</dl>
|
||||
{% elif custom_text_for_value_none %}
|
||||
<p class="dhs-red-50">
|
||||
<p class="red-incomplete-text">
|
||||
{{ custom_text_for_value_none }}
|
||||
</p>
|
||||
{% else %}
|
||||
<p>
|
||||
None
|
||||
None
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@ -101,10 +101,9 @@
|
|||
{{ value }}
|
||||
</p>
|
||||
{% elif custom_text_for_value_none %}
|
||||
<p class="margin-top-0 margin-bottom-0 dhs-red-50">
|
||||
{{ value }}
|
||||
<p class="margin-top-0 margin-bottom-0 red-incomplete-text">
|
||||
{{ custom_text_for_value_none }}
|
||||
</p>
|
||||
{{ custom_text_for_value_none }}
|
||||
{% else %}
|
||||
None
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue