mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
PR suggestions
This commit is contained in:
parent
515c3711b3
commit
b3abe0b031
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
||||||
<span class="text-bold text-primary-darker">
|
<span class="text-bold text-primary-darker">
|
||||||
Status:
|
Status:
|
||||||
</span>
|
</span>
|
||||||
|
<span class="text-primary-darker">
|
||||||
{# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #}
|
{# UNKNOWN domains would not have an expiration date and thus would show 'Expired' #}
|
||||||
{% if domain.is_expired and domain.state != domain.State.UNKNOWN %}
|
{% if domain.is_expired and domain.state != domain.State.UNKNOWN %}
|
||||||
Expired
|
Expired
|
||||||
|
@ -25,8 +26,9 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ domain.state|title }}
|
{{ domain.state|title }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</span>
|
||||||
{% if domain.get_state_help_text %}
|
{% if domain.get_state_help_text %}
|
||||||
<div class="padding-top-1 font-ui-xs">
|
<div class="padding-top-1 text-primary-darker">
|
||||||
{{ domain.get_state_help_text }}
|
{{ domain.get_state_help_text }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -62,6 +62,7 @@
|
||||||
title="{{domain.get_state_help_text}}"
|
title="{{domain.get_state_help_text}}"
|
||||||
focusable="true"
|
focusable="true"
|
||||||
aria-label="Status Information"
|
aria-label="Status Information"
|
||||||
|
labelledby="Status Information"
|
||||||
>
|
>
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use>
|
<use xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue