summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJakub Draganek <jakub.draganek@gmail.com>2017-09-26 12:58:03 +0200
committerJakub Draganek <jakub.draganek@gmail.com>2017-09-26 12:58:03 +0200
commit6e64aedd35e51284d9f35266eddd707553fd883c (patch)
treed7c8563fe25eedf572764156bb222d3bdaa57130 /templates
parent59f9c7e6e60a4d81a5360f5d96cfb07e8a4699c3 (diff)
downloadsaleor-frontend-6e64aedd35e51284d9f35266eddd707553fd883c.tar.gz
saleor-frontend-6e64aedd35e51284d9f35266eddd707553fd883c.tar.bz2
saleor-frontend-6e64aedd35e51284d9f35266eddd707553fd883c.zip
Rephrase stock location delete confirmation modal
Diffstat (limited to 'templates')
-rw-r--r--templates/dashboard/product/stock_location/modal_confirm_delete.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/dashboard/product/stock_location/modal_confirm_delete.html b/templates/dashboard/product/stock_location/modal_confirm_delete.html
index beadcbd4..23506da3 100644
--- a/templates/dashboard/product/stock_location/modal_confirm_delete.html
+++ b/templates/dashboard/product/stock_location/modal_confirm_delete.html
@@ -8,17 +8,25 @@
{% block title %}
{% blocktrans trimmed context "Modal delete stock location text" %}
- You are about to delete a stock location <strong>{{ location }}</strong>.
+Delete stock location <strong>{{ location }}</strong>?
{% endblocktrans %}
{% endblock title %}
{% block content %}
+<p>
+{% blocktrans trimmed context "Modal delete stock location text" %}
+ Are you sure you want to delete stock location {{ location }}?
+{% endblocktrans %}
+</p>
{% if stock_count %}
+<p>
{% blocktrans trimmed count counter=stock_count context "Modal delete stock location text" %}
There is one stock associated with this stock location that will be deleted.
{% plural %}
There are {{ counter }} stocks associated with this stock location that will be deleted.
{% endblocktrans %}
+</p>
{% endif %}
-{% endblock %}
+
+{% endblock content %}