{% load i18n %}
{% load icons %}

<p>
{% blocktrans %}This action cannot be undone. This will permanently delete the {{ object }} project and all related content.{% endblocktrans %}
{% trans "This includes, but is not limited to, translation memory, glossaries, or user permissions." %}
</p>

{% with components=object.component_set.order %}
{% if components %}
<p>{% trans "The following translation components will be removed:" %}</p>
<ul>
    {% for component in object.component_set.order %}
        <li><a href="{{ component.get_absolute_url }}">{{ component }}</a></li>
    {% endfor %}
</ul>
{% endif %}
{% endwith %}

<div class="form-group">
    <label class="control-label">{% trans "Project to remove" %}</label>
    <div class="list-group">
        <div class="list-group-item">
        <div class="list-group-item-text">
            <button type="button" class="btn btn-link btn-xs pull-right flip" data-clipboard-text="{{ object.full_slug }}" title="{% trans "Copy to clipboard" %}">{% icon "copy.svg" %}</button>

            {{ object.full_slug }}
        </div>
        </div>
    </div>
</div>
