mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 21:44:08 +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;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dhs-red-50 {
|
.red-incomplete-text {
|
||||||
color: $dhs-red-50;
|
color: $dhs-red-50;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
</address>
|
</address>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if custom_text_for_value_none %}
|
{% 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 %}
|
{% else %}
|
||||||
None
|
None
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
{% endblock status_blurb %}
|
{% endblock status_blurb %}
|
||||||
|
|
||||||
{% block modify_request %}
|
{% 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">
|
<p><a href="{% url 'domain-request-withdraw-confirmation' pk=DomainRequest.id %}" class="usa-button usa-button--outline withdraw_outline">
|
||||||
Withdraw request</a>
|
Withdraw request</a>
|
||||||
</p>
|
</p>
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
{% block request_summary %}
|
{% block request_summary %}
|
||||||
{% with heading_level='h3' %}
|
{% with heading_level='h3' %}
|
||||||
{% with org_type=DomainRequest.get_generic_org_type_display %}
|
{% 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 %}
|
{% endwith %}
|
||||||
|
|
||||||
{% if DomainRequest.show_tribal_government %}
|
{% if DomainRequest.show_tribal_government %}
|
||||||
|
|
|
@ -29,7 +29,9 @@
|
||||||
</address>
|
</address>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if custom_text_for_value_none %}
|
{% 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 %}
|
{% else %}
|
||||||
None
|
None
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -43,12 +43,12 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</dl>
|
</dl>
|
||||||
{% elif custom_text_for_value_none %}
|
{% elif custom_text_for_value_none %}
|
||||||
<p class="dhs-red-50">
|
<p class="red-incomplete-text">
|
||||||
{{ custom_text_for_value_none }}
|
{{ custom_text_for_value_none }}
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>
|
<p>
|
||||||
None
|
None
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -101,10 +101,9 @@
|
||||||
{{ value }}
|
{{ value }}
|
||||||
</p>
|
</p>
|
||||||
{% elif custom_text_for_value_none %}
|
{% elif custom_text_for_value_none %}
|
||||||
<p class="margin-top-0 margin-bottom-0 dhs-red-50">
|
<p class="margin-top-0 margin-bottom-0 red-incomplete-text">
|
||||||
{{ value }}
|
{{ custom_text_for_value_none }}
|
||||||
</p>
|
</p>
|
||||||
{{ custom_text_for_value_none }}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
None
|
None
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue