manage.get.gov/src/registrar/templates/includes/domain_dates.html
2025-01-30 10:24:00 -08:00

12 lines
479 B
HTML

{% if domain.expiration_date or domain.created_at %}
<p>
{% if domain.expiration_date %}
<strong class="text-primary-dark">Date of expiration:</strong>
{{ domain.expiration_date|date }}
{% if domain.is_expired %} <span class="text-error"><strong>(expired)</strong></span>{% endif %}
<br/>
{% endif %}
{% if domain.created_at %}
<strong class="text-primary-dark">Date created:</strong> {{ domain.created_at|date }}{% endif %}
</p>
{% endif %}