Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unused imports of prices_i18n
Anna Siwik7e31a05abaa1
diff --git a/templates/dashboard/customer/detail.html b/templates/dashboard/customer/detail.htmlindex b0fa0d8a7e..c5f1f8eb4a 100644--- a/templates/dashboard/customer/detail.html+++ b/templates/dashboard/customer/detail.html@@ -2,7 +2,6 @@{% load i18n %}{% load materializecss %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load staticfiles %}{% load status %}diff --git a/templates/dashboard/customer/list.html b/templates/dashboard/customer/list.htmlindex b41c284281..79a9aa7966 100644--- a/templates/dashboard/customer/list.html+++ b/templates/dashboard/customer/list.html@@ -1,6 +1,5 @@{% extends "dashboard/base.html" %}{% load i18n %}-{% load prices_i18n %}{% load materializecss %}{% load staticfiles %}{% load utils %}diff --git a/templates/dashboard/discount/sale/list.html b/templates/dashboard/discount/sale/list.htmlindex c0f8deb751..657f6b8190 100644--- a/templates/dashboard/discount/sale/list.html+++ b/templates/dashboard/discount/sale/list.html@@ -1,10 +1,9 @@{% extends "dashboard/base.html" %}{% load i18n %}-{% load prices_i18n %}-{% load staticfiles %}{% load materializecss %}-{% load utils %}{% load static %}+{% load staticfiles %}+{% load utils %}{% block title %}{% trans "Sales" %} - {{ block.super }}diff --git a/templates/dashboard/discount/voucher/list.html b/templates/dashboard/discount/voucher/list.htmlindex e50f8c3055..5c2d8dcb98 100644--- a/templates/dashboard/discount/voucher/list.html+++ b/templates/dashboard/discount/voucher/list.html@@ -1,10 +1,9 @@{% extends "dashboard/base.html" %}{% load i18n %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load materializecss %}-{% load utils %}{% load static %}+{% load utils %}{% block title %}{% trans "Vouchers" context "Dashboard vouchers list" %} - {{ block.super }}diff --git a/templates/dashboard/index.html b/templates/dashboard/index.htmlindex e0f58d96d6..5ce1593a3c 100644--- a/templates/dashboard/index.html+++ b/templates/dashboard/index.html@@ -1,7 +1,6 @@{% extends "dashboard/base.html" %}{% load i18n %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load status %}{% block title %}diff --git a/templates/dashboard/order/fulfillment.html b/templates/dashboard/order/fulfillment.htmlindex 83ad85e7ee..6b302a3914 100644--- a/templates/dashboard/order/fulfillment.html+++ b/templates/dashboard/order/fulfillment.html@@ -1,12 +1,11 @@{% extends "dashboard/base.html" %}{% load babel %}-{% load prices_i18n %}+{% load dashboard %}{% load i18n %}{% load i18n_address_tags %}{% load materializecss %}-{% load status %}{% load staticfiles %}-{% load dashboard %}+{% load status %}{% block title %}{% trans "Fulfill" context "Dashboard order fulfillment" %} {{ order }} - {% trans "Orders" context "Dashboard orders list" %} - {{ block.super }}diff --git a/templates/dashboard/order/modal/cancel_line.html b/templates/dashboard/order/modal/cancel_line.htmlindex f43115cf3a..f2758a38ea 100644--- a/templates/dashboard/order/modal/cancel_line.html+++ b/templates/dashboard/order/modal/cancel_line.html@@ -2,7 +2,6 @@{% load i18n %}{% load materializecss %}-{% load prices_i18n %}{% load price from taxed_prices %}{% block action_url %}diff --git a/templates/dashboard/order/modal/capture.html b/templates/dashboard/order/modal/capture.htmlindex dc28ecd153..ea38f8903a 100644--- a/templates/dashboard/order/modal/capture.html+++ b/templates/dashboard/order/modal/capture.html@@ -4,7 +4,6 @@{% load i18n %}{% load materializecss %}{% load price from taxed_prices %}-{% load prices_i18n %}{% block action_url %}{% url 'dashboard:capture-payment' order_pk=order.pk payment_pk=payment.pk %}diff --git a/templates/dashboard/order/modal/mark_as_paid.html b/templates/dashboard/order/modal/mark_as_paid.htmlindex e8ab5f4731..dc2048f5f9 100644--- a/templates/dashboard/order/modal/mark_as_paid.html+++ b/templates/dashboard/order/modal/mark_as_paid.html@@ -3,7 +3,6 @@{% load i18n %}{% load materializecss %}{% load price from taxed_prices %}-{% load prices_i18n %}{% block action_url %}{% url 'dashboard:order-mark-as-paid' order_pk=order.pk %}diff --git a/templates/dashboard/order/modal/refund.html b/templates/dashboard/order/modal/refund.htmlindex 8fa0964cf7..78568e7b5c 100644--- a/templates/dashboard/order/modal/refund.html+++ b/templates/dashboard/order/modal/refund.html@@ -4,7 +4,6 @@{% load i18n %}{% load materializecss %}{% load price from taxed_prices %}-{% load prices_i18n %}{% block action_url %}diff --git a/templates/dashboard/order/pdf/invoice.html b/templates/dashboard/order/pdf/invoice.htmlindex 850b8ef98a..834fbd3cb8 100644--- a/templates/dashboard/order/pdf/invoice.html+++ b/templates/dashboard/order/pdf/invoice.html@@ -1,6 +1,5 @@{% load i18n static %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load discount_as_negative from voucher %}{% load render_bundle from webpack_loader %}diff --git a/templates/dashboard/order/pdf/packing_slip.html b/templates/dashboard/order/pdf/packing_slip.htmlindex 11aedcacab..0f32b9b42f 100644--- a/templates/dashboard/order/pdf/packing_slip.html+++ b/templates/dashboard/order/pdf/packing_slip.html@@ -1,7 +1,6 @@{% load i18n static %}-{% load prices_i18n %}-{% load shop %}{% load render_bundle from webpack_loader %}+{% load shop %}<html><head>diff --git a/templates/dashboard/product/detail.html b/templates/dashboard/product/detail.htmlindex ec353ee9a5..11ca0fd5ba 100644--- a/templates/dashboard/product/detail.html+++ b/templates/dashboard/product/detail.html@@ -1,10 +1,9 @@{% extends "dashboard/base.html" %}{% load i18n %}-{% load prices_i18n %}+{% load price from taxed_prices %}{% load staticfiles %}{% load status %}-{% load price from taxed_prices %}{% load utils %}{% block title %}{{ product }} - {{ block.super }}{% endblock %}@@ -150,92 +149,92 @@{% endif %}</div><div class="col s12 l4">- <div class="row no-margin">- <div class="col s12">- <div class="card">- <div class="data-table-header">- <div class="data-table-title">- <h5>- {% trans "Pricing" context "Product pricing card header" %}- </h5>- <h6>- {% if product.charge_taxes %}- {% blocktrans trimmed with tax_rate=product.tax_rate context "Product pricing card header subtitle" %}- Taxes are charged ({{ tax_rate }} tax rate)- {% endblocktrans %}- {% else %}- {% trans "Taxes are not charged" context "Product pricing card header subtitle" %}- {% endif %}- </h6>+ <div class="row no-margin">+ <div class="col s12">+ <div class="card">+ <div class="data-table-header">+ <div class="data-table-title">+ <h5>+ {% trans "Pricing" context "Product pricing card header" %}+ </h5>+ <h6>+ {% if product.charge_taxes %}+ {% blocktrans trimmed with tax_rate=product.tax_rate context "Product pricing card header subtitle" %}+ Taxes are charged ({{ tax_rate }} tax rate)+ {% endblocktrans %}+ {% else %}+ {% trans "Taxes are not charged" context "Product pricing card header subtitle" %}+ {% endif %}+ </h6>+ </div></div>- </div>- <div class="data-table-container">- <table class="data-table bordered highlight">- <tbody>- <tr>- <td>- {% if include_taxes_in_prices %}- {% trans "Gross sale price" context "Product field" %}- {% else %}- {% trans "Net sale price" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% price sale_price display_gross=include_taxes_in_prices %}- </td>- </tr>- {% if discounted_price != sale_price %}+ <div class="data-table-container">+ <table class="data-table bordered highlight">+ <tbody><tr><td>{% if include_taxes_in_prices %}- {% trans "Gross discounted price" context "Product field" %}+ {% trans "Gross sale price" context "Product field" %}{% else %}- {% trans "Net discounted price" context "Product field" %}+ {% trans "Net sale price" context "Product field" %}{% endif %}</td><td class="right-align">- {% price discounted_price display_gross=include_taxes_in_prices %}+ {% price sale_price display_gross=include_taxes_in_prices %}</td></tr>- {% endif %}- <tr>- <td>- {% if include_taxes_in_prices %}- {% trans "Gross purchase cost" context "Product field" %}- {% else %}- {% trans "Net purchase cost" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% price purchase_cost %}- </td>- </tr>- <tr>- <td>- {% if include_taxes_in_prices %}- {% trans "Gross margin" context "Product field" %}- {% else %}- {% trans "Net margin" context "Product field" %}- {% endif %}- </td>- <td class="right-align">- {% if margin %}- {% if margin.0 == margin.1 %}- {{ margin.0 }}%+ {% if discounted_price != sale_price %}+ <tr>+ <td>+ {% if include_taxes_in_prices %}+ {% trans "Gross discounted price" context "Product field" %}+ {% else %}+ {% trans "Net discounted price" context "Product field" %}+ {% endif %}+ </td>+ <td class="right-align">+ {% price discounted_price display_gross=include_taxes_in_prices %}+ </td>+ </tr>+ {% endif %}+ <tr>+ <td>+ {% if include_taxes_in_prices %}+ {% trans "Gross purchase cost" context "Product field" %}{% else %}- {{ margin.0 }}% - {{ margin.1 }}%+ {% trans "Net purchase cost" context "Product field" %}{% endif %}- {% else %}- -- {% endif %}- </td>- </tr>- </tbody>- </table>+ </td>+ <td class="right-align">+ {% price purchase_cost %}+ </td>+ </tr>+ <tr>+ <td>+ {% if include_taxes_in_prices %}+ {% trans "Gross margin" context "Product field" %}+ {% else %}+ {% trans "Net margin" context "Product field" %}+ {% endif %}+ </td>+ <td class="right-align">+ {% if margin %}+ {% if margin.0 == margin.1 %}+ {{ margin.0 }}%+ {% else %}+ {{ margin.0 }}% - {{ margin.1 }}%+ {% endif %}+ {% else %}+ -+ {% endif %}+ </td>+ </tr>+ </tbody>+ </table>+ </div></div></div></div>- </div></div><div class="col s12 l4"><div id="images">diff --git a/templates/dashboard/product/form.html b/templates/dashboard/product/form.htmlindex 84e918c112..48f4067921 100644--- a/templates/dashboard/product/form.html+++ b/templates/dashboard/product/form.html@@ -1,5 +1,4 @@{% extends "dashboard/base.html" %}-{% load prices_i18n %}{% load i18n %}{% load materializecss %}{% load staticfiles %}diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.htmlindex 4f4cce833d..1f393cb322 100644--- a/templates/dashboard/product/list.html+++ b/templates/dashboard/product/list.html@@ -2,7 +2,6 @@{% load i18n %}{% load materializecss %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load product_first_image from product_images %}{% load staticfiles %}{% load utils %}diff --git a/templates/dashboard/product/modal/confirm_delete.html b/templates/dashboard/product/modal/confirm_delete.htmlindex 6aca87d0b2..05a7f66d2d 100644--- a/templates/dashboard/product/modal/confirm_delete.html+++ b/templates/dashboard/product/modal/confirm_delete.html@@ -1,7 +1,6 @@{% extends "dashboard/base_modal.html" %}{% load i18n %}-{% load prices_i18n %}{% block form_class %}{% endblock %}diff --git a/templates/dashboard/product/product_type/form.html b/templates/dashboard/product/product_type/form.htmlindex a218452e77..b1b331a23a 100644--- a/templates/dashboard/product/product_type/form.html+++ b/templates/dashboard/product/product_type/form.html@@ -1,5 +1,4 @@{% extends "dashboard/base.html" %}-{% load prices_i18n %}{% load i18n %}{% load materializecss %}{% load staticfiles %}diff --git a/templates/dashboard/product/product_type/list.html b/templates/dashboard/product/product_type/list.htmlindex 36f494e46b..bfd762c329 100644--- a/templates/dashboard/product/product_type/list.html+++ b/templates/dashboard/product/product_type/list.html@@ -1,6 +1,5 @@{% extends "dashboard/base.html" %}{% load i18n %}-{% load prices_i18n %}{% load materializecss %}{% load staticfiles %}{% load utils %}diff --git a/templates/dashboard/product/product_type/modal/confirm_delete.html b/templates/dashboard/product/product_type/modal/confirm_delete.htmlindex 1c59f2c904..542afd3dc2 100644--- a/templates/dashboard/product/product_type/modal/confirm_delete.html+++ b/templates/dashboard/product/product_type/modal/confirm_delete.html@@ -1,7 +1,6 @@{% extends "dashboard/base_modal.html" %}{% load i18n %}-{% load prices_i18n %}{% load staticfiles %}{% block form_class %}{% endblock %}diff --git a/templates/dashboard/product/product_variant/detail.html b/templates/dashboard/product/product_variant/detail.htmlindex 0047f10527..da184d33c6 100644--- a/templates/dashboard/product/product_variant/detail.html+++ b/templates/dashboard/product/product_variant/detail.html@@ -2,7 +2,6 @@{% load i18n %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load staticfiles %}{% load status %}diff --git a/templates/dashboard/product/product_variant/modal/confirm_delete.html b/templates/dashboard/product/product_variant/modal/confirm_delete.htmlindex d2eff9198c..6a570b972a 100644--- a/templates/dashboard/product/product_variant/modal/confirm_delete.html+++ b/templates/dashboard/product/product_variant/modal/confirm_delete.html@@ -1,7 +1,6 @@{% extends "dashboard/base_modal.html" %}{% load i18n %}-{% load prices_i18n %}{% load staticfiles %}{% block form_class %}{% endblock %}diff --git a/templates/dashboard/search/results.html b/templates/dashboard/search/results.htmlindex a3a2790331..2545205352 100644--- a/templates/dashboard/search/results.html+++ b/templates/dashboard/search/results.html@@ -2,7 +2,6 @@{% load i18n %}{% load materializecss %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load product_first_image from product_images %}{% load staticfiles %}diff --git a/templates/dashboard/shipping/detail.html b/templates/dashboard/shipping/detail.htmlindex 8354739576..87dcce1186 100644--- a/templates/dashboard/shipping/detail.html+++ b/templates/dashboard/shipping/detail.html@@ -2,11 +2,10 @@{% load i18n %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load staticfiles %}{% block title %}- {{ shipping_method }} - {{ block.super }}+ {{ shipping_method }} - {{ block.super }}{% endblock %}{% block body_class %}body-shipping-methods{% endblock %}diff --git a/templates/dashboard/shipping/list.html b/templates/dashboard/shipping/list.htmlindex 0dc3ef71e1..596250909e 100644--- a/templates/dashboard/shipping/list.html+++ b/templates/dashboard/shipping/list.html@@ -1,10 +1,9 @@{% extends "dashboard/base.html" %}{% load i18n %}-{% load prices_i18n %}-{% load status %}-{% load utils %}{% load static %}+{% load status %}{% load taxed_prices %}+{% load utils %}{% block title %}{% trans "Shipping methods" context "Dashboard shipping methods list" %} - {{ block.super }}diff --git a/templates/dashboard/shipping/modal/confirm_delete.html b/templates/dashboard/shipping/modal/confirm_delete.htmlindex 7af61889ad..e73c8e1d4e 100644--- a/templates/dashboard/shipping/modal/confirm_delete.html+++ b/templates/dashboard/shipping/modal/confirm_delete.html@@ -1,7 +1,6 @@{% extends "dashboard/base_modal.html" %}{% load i18n %}-{% load prices_i18n %}{% load staticfiles %}{% block form_class %}{% endblock %}diff --git a/templates/dashboard/sites/detail.html b/templates/dashboard/sites/detail.htmlindex f7bb0d5f9d..b24b580623 100644--- a/templates/dashboard/sites/detail.html+++ b/templates/dashboard/sites/detail.html@@ -1,11 +1,10 @@{% extends 'dashboard/base.html' %}{% load i18n %}-{% load prices_i18n %}{% load staticfiles %}{% block title %}- {{ site }} - {{ block.super }}+ {{ site }} - {{ block.super }}{% endblock %}{% block menu_settings_class %}active{% endblock %}diff --git a/templates/dashboard/staff/list.html b/templates/dashboard/staff/list.htmlindex 3d32aa7800..7297f4c8c7 100644--- a/templates/dashboard/staff/list.html+++ b/templates/dashboard/staff/list.html@@ -1,6 +1,5 @@{% extends "dashboard/base.html" %}{% load i18n %}-{% load prices_i18n %}{% load materializecss %}{% load staticfiles %}{% load utils %}diff --git a/templates/product/details.html b/templates/product/details.htmlindex 7966dfc103..9718ae13a0 100644--- a/templates/product/details.html+++ b/templates/product/details.html@@ -7,7 +7,6 @@{% load i18n %}{% load markdown from markdown %}{% load placeholder %}-{% load prices_i18n %}{% load staticfiles %}{% load taxed_prices %}diff --git a/templates/product/product_list_base.html b/templates/product/product_list_base.htmlindex 8501e206ff..5d5db26873 100644--- a/templates/product/product_list_base.html+++ b/templates/product/product_list_base.html@@ -1,11 +1,10 @@{% extends "base.html" %}{% load bootstrap_pagination from bootstrap4 %}+{% load build_absolute_uri from urls %}+{% load get_object_properties from attributes %}{% load i18n %}{% load shop %}{% load staticfiles %}-{% load prices_i18n %}-{% load build_absolute_uri from urls %}-{% load get_object_properties from attributes %}{% block footer_scripts %}{{ block.super }}diff --git a/templates/templated_email/source/order/confirm_order.email b/templates/templated_email/source/order/confirm_order.emailindex 13fa46256e..12dcae3ca5 100644--- a/templates/templated_email/source/order/confirm_order.email+++ b/templates/templated_email/source/order/confirm_order.email@@ -1,6 +1,5 @@{% load i18n %}{% load price from taxed_prices %}-{% load prices_i18n %}{% load voucher %}{% block subject %}diff --git a/templates/templated_email/source/order/partials/_order_lines.mjml b/templates/templated_email/source/order/partials/_order_lines.mjmlindex a1ab4f5ce7..3151535827 100644--- a/templates/templated_email/source/order/partials/_order_lines.mjml+++ b/templates/templated_email/source/order/partials/_order_lines.mjml@@ -2,7 +2,6 @@<mj-column><mj-text>{% load price from taxed_prices %}- {% load prices_i18n %}{% load voucher %}</mj-text></mj-column>