mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
show requested domain and alternate domains on manage screen; formatting conditional based on existence of alternative domains; check added for alternative domains in test_views
This commit is contained in:
parent
f5300053dc
commit
1a81d75170
2 changed files with 5 additions and 16 deletions
|
@ -84,7 +84,11 @@
|
|||
{% endif %}
|
||||
|
||||
{% if domainapplication.requested_domain %}
|
||||
{% include "includes/summary_item.html" with title='.gov domain' value=domainapplication requested_domain='true' heading_level=heading_level %}
|
||||
{% include "includes/summary_item.html" with title='.gov domain' value=domainapplication.requested_domain heading_level=heading_level %}
|
||||
{% endif %}
|
||||
|
||||
{% if domainapplication.alternative_domains.all %}
|
||||
{% include "includes/summary_item.html" with title='Alternative domains' value=domainapplication.alternative_domains.all list='true' heading_level=heading_level %}
|
||||
{% endif %}
|
||||
|
||||
{% if domainapplication.purpose %}
|
||||
|
|
|
@ -43,21 +43,6 @@
|
|||
{% else %}
|
||||
{% include "includes/contact.html" with contact=value %}
|
||||
{% endif %}
|
||||
{% elif requested_domain %}
|
||||
{% if value.alternative_domains.all %}
|
||||
<ul class="usa-list usa-list--unstyled margin-bottom-105">
|
||||
<li>{{ value.requested_domain.name|default:"Incomplete" }}</li>
|
||||
</ul>
|
||||
<ul class="usa-list usa-list--unstyled">
|
||||
{% for domain in value.alternative_domains.all %}
|
||||
<li>{{ domain.website }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p class="margin-top-0 margin-bottom-0">
|
||||
{{ value.requested_domain }}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% elif list %}
|
||||
{% if value|length == 1 %}
|
||||
{% if users %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue