From 6e64aedd35e51284d9f35266eddd707553fd883c Mon Sep 17 00:00:00 2001 From: Jakub Draganek Date: Tue, 26 Sep 2017 12:58:03 +0200 Subject: Rephrase stock location delete confirmation modal --- .../product/stock_location/modal_confirm_delete.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'templates') 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 {{ location }}. +Delete stock location {{ location }}? {% endblocktrans %} {% endblock title %} {% block content %} +

+{% blocktrans trimmed context "Modal delete stock location text" %} + Are you sure you want to delete stock location {{ location }}? +{% endblocktrans %} +

{% if stock_count %} +

{% 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 %} +

{% endif %} -{% endblock %} + +{% endblock content %} -- cgit v1.2.3