Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Rephrase delete product confirmation modal
Jakub Draganekad48ea543047
diff --git a/templates/dashboard/product/modal_confirm_delete.html b/templates/dashboard/product/modal_confirm_delete.htmlindex 650d2c7002..93cca19f6c 100644--- a/templates/dashboard/product/modal_confirm_delete.html+++ b/templates/dashboard/product/modal_confirm_delete.html@@ -2,22 +2,17 @@{% load i18n %}{% load prices_i18n %}-{% load staticfiles %}-{% load product_first_image from product_images %}{% block action_url %}{% url 'dashboard:product-delete' pk=product.pk %}{% endblock %}+{% block title %}+{% blocktrans trimmed context "Modal delete product text" %}+Delete product <strong>{{ product }}</strong>?+{% endblocktrans %}+{% endblock %}+{% block content %}-<div class="row">- <div class="col s12 center-align">- <img src="{% product_first_image product size="255x255" method="crop" %}"- srcset="{% product_first_image product size="255x255" method="crop" %} 1x, {% product_first_image product size="510x510" method="crop" %} 2x"- alt="" class="responsive-img">- </div>-</div>-<p>- {% blocktrans trimmed context "Modal delete product text" %}- If you remove <strong>{{ product }}</strong> you will lose all data related to this product.- {% endblocktrans %}-</p>+{% blocktrans trimmed context "Modal delete product text" %}+Are you sure you want to delete product {{ product }}?"+{% endblocktrans %}{% endblock content %}