mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 00:42:16 +02:00
Fix merge conflict
This commit is contained in:
parent
82c88b2876
commit
a51c80f333
2 changed files with 23 additions and 27 deletions
|
@ -69,16 +69,9 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
|||
{% if field.field.name == "creator" %}
|
||||
<div class="flex-container">
|
||||
<label aria-label="Creator contact details"></label>
|
||||
{% include "django/admin/includes/contact_detail_list.html" with user=original_object.creator no_title_top_padding=field.is_readonly %}
|
||||
</div>
|
||||
<div class="flex-container">
|
||||
<label aria-label="User summary details"></label>
|
||||
{% include "django/admin/includes/user_detail_list.html" with user=original_object.creator no_title_top_padding=field.is_readonly %}
|
||||
</div>
|
||||
<div class="flex-container">
|
||||
<label aria-label="User summary details"></label>
|
||||
{% include "django/admin/includes/user_detail_list.html" with user=original_object.creator no_title_top_padding=field.is_readonly %}
|
||||
{% include "django/admin/includes/contact_detail_list.html" with user=original_object.creator no_title_top_padding=field.is_readonly %}
|
||||
</div>
|
||||
{% include "django/admin/includes/user_detail_list.html" with user=original_object.creator no_title_top_padding=field.is_readonly %}
|
||||
{% elif field.field.name == "submitter" %}
|
||||
<div class="flex-container">
|
||||
<label aria-label="Submitter contact details"></label>
|
||||
|
|
|
@ -5,24 +5,27 @@
|
|||
{% with rejected_requests_count=user.get_rejected_requests_count %}
|
||||
{% with ineligible_requests_count=user.get_ineligible_requests_count %}
|
||||
{% if approved_domains_count|add:active_requests_count|add:rejected_requests_count|add:ineligible_requests_count > 0 %}
|
||||
<ul class="dja-status-list">
|
||||
{% if approved_domains_count > 0 %}
|
||||
{# Approved domains #}
|
||||
<li>Approved domains: {{ approved_domains_count }}</li>
|
||||
{% endif %}
|
||||
{% if active_requests_count > 0 %}
|
||||
{# Active requests #}
|
||||
<li>Active requests: {{ active_requests_count }}</li>
|
||||
{% endif %}
|
||||
{% if rejected_requests_count > 0 %}
|
||||
{# Rejected requests #}
|
||||
<li>Rejected requests: {{ rejected_requests_count }}</li>
|
||||
{% endif %}
|
||||
{% if ineligible_requests_count > 0 %}
|
||||
{# Ineligible requests #}
|
||||
<li>Ineligible requests: {{ ineligible_requests_count }}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<div class="flex-container">
|
||||
<label aria-label="User summary details"></label>
|
||||
<ul class="dja-status-list">
|
||||
{% if approved_domains_count > 0 %}
|
||||
{# Approved domains #}
|
||||
<li>Approved domains: {{ approved_domains_count }}</li>
|
||||
{% endif %}
|
||||
{% if active_requests_count > 0 %}
|
||||
{# Active requests #}
|
||||
<li>Active requests: {{ active_requests_count }}</li>
|
||||
{% endif %}
|
||||
{% if rejected_requests_count > 0 %}
|
||||
{# Rejected requests #}
|
||||
<li>Rejected requests: {{ rejected_requests_count }}</li>
|
||||
{% endif %}
|
||||
{% if ineligible_requests_count > 0 %}
|
||||
{# Ineligible requests #}
|
||||
<li>Ineligible requests: {{ ineligible_requests_count }}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue