mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 14:04:10 +02:00
Fix Vo for delete
This commit is contained in:
parent
928fa9428a
commit
11b48eb030
1 changed files with 11 additions and 1 deletions
|
@ -176,7 +176,17 @@
|
||||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24">
|
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24">
|
||||||
<use xlink:href="{%static 'img/sprite.svg'%}#delete"></use>
|
<use xlink:href="{%static 'img/sprite.svg'%}#delete"></use>
|
||||||
</svg>
|
</svg>
|
||||||
Delete <span class="usa-sr-only">{{ application.requested_domain.name|default:"New domain request ("|add:application.created_at|add:" UTC)" }}</span>
|
{% with prefix="New domain request ("%}
|
||||||
|
{% with date=application.created_at|date:"DATETIME_FORMAT"%}
|
||||||
|
{% with name_default=prefix|add:date|add:" UTC)"%}
|
||||||
|
{% if application.requested_domain is not None %}
|
||||||
|
Delete <span class="usa-sr-only">{{ application.requested_domain.name }}</span>
|
||||||
|
{% else %}
|
||||||
|
Delete <span class="usa-sr-only">{{ name_default }}</span>
|
||||||
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
|
{% endwith %}
|
||||||
|
{% endwith %}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue