Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Rephrase product image delete confirmation modal

Jakub Draganek507a05080870
diff --git a/templates/dashboard/product/product_image/modal_confirm_delete.html b/templates/dashboard/product/product_image/modal_confirm_delete.html
index bc5f4d64c6..ede0cdfee5 100644
--- a/templates/dashboard/product/product_image/modal_confirm_delete.html
+++ b/templates/dashboard/product/product_image/modal_confirm_delete.html
@@ -1,19 +1,19 @@
{% extends "dashboard/base_modal_confirm_delete.html" %}
{% load i18n %}
-{% load product_first_image from product_images %}
{% block action_url %}
{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}
{% endblock %}
+{% block title %}
+ {% blocktrans trimmed context "Modal delete image text" %}
+ Delete product image?
+ {% endblocktrans %}
+{% endblock %}
+
{% block content %}
-<div class="center-align">
- <img class="responsive-img" src="{{ image.image.crop.255x255 }}" srcset="{{ image.image.crop.255x255 }} 1x, {{ image.image.crop.510x510 }} 2x" alt="">
-</div>
-<p>
{% blocktrans trimmed context "Modal delete image text" %}
- You are about to delete this image.
+ Are you sure you want to delete product image?
{% endblocktrans %}
-</p>
{% endblock content %}