mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 13:06:30 +02:00
CSS change
This commit is contained in:
parent
4437b315b3
commit
c8c5fc8134
2 changed files with 18 additions and 20 deletions
|
@ -139,7 +139,7 @@ abbr[title] {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (tablet) {
|
@include at-media(tablet) {
|
||||||
.usa-tooltip__body {
|
.usa-tooltip__body {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
|
|
|
@ -48,25 +48,23 @@
|
||||||
</th>
|
</th>
|
||||||
<td data-sort-value="{{ domain.expiration_date|date:"U" }}" data-label="Expires">{{ domain.expiration_date|date }}</td>
|
<td data-sort-value="{{ domain.expiration_date|date:"U" }}" data-label="Expires">{{ domain.expiration_date|date }}</td>
|
||||||
<td data-label="Status">
|
<td data-label="Status">
|
||||||
<span>
|
{# 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
|
{% elif domain.state == domain.State.UNKNOWN or domain.state == domain.State.DNS_NEEDED %}
|
||||||
{% elif domain.state == domain.State.UNKNOWN or domain.state == domain.State.DNS_NEEDED %}
|
DNS needed
|
||||||
DNS needed
|
{% else %}
|
||||||
{% else %}
|
{{ domain.state|capfirst }}
|
||||||
{{ domain.state|capfirst }}
|
{% endif %}
|
||||||
{% endif %}
|
<svg
|
||||||
<svg
|
class="usa-icon usa-tooltip text-middle margin-bottom-05 text-accent-cool no-click-outline-and-cursor-help"
|
||||||
class="usa-icon usa-tooltip text-middle margin-bottom-05 text-accent-cool no-click-outline-and-cursor-help"
|
role="img"
|
||||||
role="img"
|
data-position="top"
|
||||||
data-position="top"
|
title="{{domain.get_state_help_text}}"
|
||||||
title="{{domain.get_state_help_text}}"
|
focusable="true"
|
||||||
focusable="true"
|
>
|
||||||
>
|
<use xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use>
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#info_outline"></use>
|
</svg>
|
||||||
</svg>
|
|
||||||
</span>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{% url "domain" pk=domain.pk %}">
|
<a href="{% url "domain" pk=domain.pk %}">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue