{% extends "dashboard/base_modal_confirm_delete.html" %}

{% load i18n %}
{% load prices_i18n %}
{% load staticfiles %}

{% block action_url %}
{% url "dashboard:variant-delete" product_pk=product.pk variant_pk=variant.pk %}
{% endblock %}

{% block content %}
<p>
{% blocktrans context "Dashboard confirmation modal" %}Delete variant {{ variant }}.{% endblocktrans %}
</p>
{% if is_only_variant %}
<strong>{% trans "This is the only variant of this product. If you remove it, the product will become unavailable." context "Dashboard confirmation modal" %}</strong>
{% endif %}
{% endblock content %}

{% extends "dashboard/base_modal_confirm_delete.html" %}

{% load i18n %}
{% load prices_i18n %}
{% load staticfiles %}

{% block action_url %}
{% url "dashboard:variant-delete" product_pk=product.pk variant_pk=variant.pk %}
{% endblock %}

{% block title %}
{% blocktrans context "Dashboard confirmation modal" %}Delete variant {{ variant }}?{% endblocktrans %}
{% endblock %}

{% block content %}
<p>
{% blocktrans context "Dashboard confirmation modal" %}
Are you sure you want to delete variant <strong>{{ variant }}</strong> of product {{ product }}?
{% endblocktrans %}
</p>
{% if is_only_variant %}
<p>
{% trans "This is the only variant of this product. If you remove it, the product will become unavailable." context "Dashboard confirmation modal" %}
</p>
{% endif %}
{% endblock content %}

Rephrase variant delete confirmation modal
Rephrase variant delete confirmation modal
