summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJakub Draganek <jakub.draganek@gmail.com>2017-09-26 12:37:18 +0200
committerJakub Draganek <jakub.draganek@gmail.com>2017-09-26 12:37:18 +0200
commitb027e45cb3b2cfe7240884a4b73cd28f74639dab (patch)
treee33535c5aec4cfecc4b77cc44552b6337d3aeb62 /templates
parent730bdadd8b6cdbcb352fcf440fae731c2fb95164 (diff)
downloadsaleor-frontend-b027e45cb3b2cfe7240884a4b73cd28f74639dab.tar.gz
saleor-frontend-b027e45cb3b2cfe7240884a4b73cd28f74639dab.tar.bz2
saleor-frontend-b027e45cb3b2cfe7240884a4b73cd28f74639dab.zip
Rephrase variant delete confirmation modal
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 %}