summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/dashboard/product/product_variant/modal_confirm_delete.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/dashboard/product/product_variant/modal_confirm_delete.html b/templates/dashboard/product/product_variant/modal_confirm_delete.html
index 66d9ef12..a4987789 100644
--- a/templates/dashboard/product/product_variant/modal_confirm_delete.html
+++ b/templates/dashboard/product/product_variant/modal_confirm_delete.html
@@ -8,11 +8,19 @@
{% 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" %}Delete variant {{ variant }}.{% endblocktrans %}
+{% 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 %}
-<strong>{% trans "This is the only variant of this product. If you remove it, the product will become unavailable." context "Dashboard confirmation modal" %}</strong>
+<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 %}