Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge branch 'master' into feature/dashboard-style-guide
Krzysztof Białogłowiczbabec7769bd0
diff --cc templates/dashboard/category/detail.htmlindex 76ddb99f3b,81a76024fc..01a63b7d15--- a/templates/dashboard/category/detail.html+++ b/templates/dashboard/category/detail.html@@@ -84,12 -84,12 +84,13 @@@</a>{% endif %}{% if category.pk %}- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Category form primary action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Category form primary action" %}+ {% trans "Create" context "Dashboard create action" %}++</button>{% endif %}</div>diff --cc templates/dashboard/discount/sale_form.htmlindex f4b2a5e5ae,999b4be12a..cbc29ba917--- a/templates/dashboard/discount/sale_form.html+++ b/templates/dashboard/discount/sale_form.html@@@ -95,17 -95,17 +95,17 @@@<div class="card-action right-align">{% if sale.pk %}<a href="{% url 'dashboard:sale-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Sale (discount) secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Sale (discount) primary action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:sale-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Sake (discount) secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Sale (discount) primary action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/discount/voucher_form.htmlindex 4e6be77203,8c63e300c5..eda8999eaf--- a/templates/dashboard/discount/voucher_form.html+++ b/templates/dashboard/discount/voucher_form.html@@@ -124,17 -124,17 +124,17 @@@<div class="card-action right-align">{% if voucher.pk %}<a href="{% url 'dashboard:voucher-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Voucher form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Voucher form primary action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:voucher-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Voucher form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Voucher form primary action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/order/address_form.htmlindex e9999c9737,82ce1c501e..7d34f16efc--- a/templates/dashboard/order/address_form.html+++ b/templates/dashboard/order/address_form.html@@@ -58,10 -58,10 +58,10 @@@</div><div class="card-action right-align"><a href="{% url "dashboard:order-details" order_pk=order.pk %}" class="btn btn-flat">- {% trans "Cancel" context "Address form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Address primary action" %}+ {% trans "Update" context "Dashboard update action" %}</button></div></form>diff --cc templates/dashboard/order/detail.htmlindex 206a64b490,72800e5d61..5f555c356a--- a/templates/dashboard/order/detail.html+++ b/templates/dashboard/order/detail.html@@@ -210,8 -210,8 +210,8 @@@{% include 'dashboard/includes/_address.html' with address=address only %}</div><div class="card-action">- <a class="btn-flat" href="{% url "dashboard:address-edit" order_pk=order.pk address_type="shipping" %}">+ <a class="btn btn-flat" href="{% url "dashboard:address-edit" order_pk=order.pk address_type="shipping" %}">- {% trans "Edit" context "Shipping address card action" %}+ {% trans "Edit" context "Dashboard edit action" %}</a></div></div>@@@ -228,8 -228,8 +228,8 @@@{% endwith %}</div><div class="card-action">- <a href="{% url "dashboard:address-edit" order_pk=order.pk address_type="billing" %}" class=" btn-flat">+ <a href="{% url "dashboard:address-edit" order_pk=order.pk address_type="billing" %}" class="btn btn-flat">- {% trans "Edit" context "Billing address card action" %}</a>+ {% trans "Edit" context "Dashboard edit action" %}</a></div></div></div>diff --cc templates/dashboard/product/attributes/form.htmlindex 23f411f8e6,87f8d91aeb..70473dd92b--- a/templates/dashboard/product/attributes/form.html+++ b/templates/dashboard/product/attributes/form.html@@@ -112,17 -112,17 +112,17 @@@<div class="card-action right-align">{% if attribute.pk %}<a href="{% url 'dashboard:product-attributes' %}" class="btn btn-flat">- {% trans "Cancel" context "Attribute secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Attribute values formset action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-attributes' %}" class="btn btn-flat">- {% trans "Cancel" context "Attribute secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Attribute values formset action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/product/class_list.htmlindex 7b4e8c51b0,e004ad0d96..184184b7cf--- a/templates/dashboard/product/class_list.html+++ b/templates/dashboard/product/class_list.html@@@ -79,7 -79,8 +79,7 @@@<div class="row"><div class="col s12"><button class="btn" type="submit">- {% trans "Create new" context "Modal add product type action" %}- <i class="material-icons left">create</i>- {% trans "Create new" context "Dashboard create new action" %}++ {% trans "Create new" context "Dashboard create new action" %}</button></div></div>diff --cc templates/dashboard/product/list.htmlindex 377fc4719f,fbb69fe458..d2a401ebbf--- a/templates/dashboard/product/list.html+++ b/templates/dashboard/product/list.html@@@ -80,7 -80,8 +80,7 @@@<div class="row"><div class="col s12"><button class="btn" type="submit">- {% trans "Create new" context "Product list choose product type for new product action" %}- <i class="material-icons left">create</i>+ {% trans "Create new" context "Dashboard create new action" %}</button></div></div>diff --cc templates/dashboard/product/product_class_form.htmlindex ba81d39d19,4e452f7da5..b6a3cce968--- a/templates/dashboard/product/product_class_form.html+++ b/templates/dashboard/product/product_class_form.html@@@ -95,17 -95,17 +95,17 @@@<div class="card-action right-align">{% if product_class.pk %}<a href="{% url 'dashboard:product-class-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Product class secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Product class primary action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-class-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Product class secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Product class primary action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/product/product_form.htmlindex cdd6ebb014,6b0efd7f5f..49758db160--- a/templates/dashboard/product/product_form.html+++ b/templates/dashboard/product/product_form.html@@@ -160,17 -160,17 +160,17 @@@<div class="card-action right-align">{% if product.pk %}<a href="{% url 'dashboard:product-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Product form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Product form details tab action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Product form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Product form details tab action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>@@@ -400,11 -400,12 +400,11 @@@</div><div class="sortable__drag-area"></div><div class="card-action">- <a href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=image.pk %}">+ <a class="btn btn-flat" href="{% url 'dashboard:product-image-update' product_pk=product.pk img_pk=image.pk %}">- {% trans "Edit" context "Image card action" %}+ {% trans "Edit" context "Dashboard edit action" %}</a>- <a href="#base-modal" class="modal-trigger-custom"- data-href="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}">+ <a href="#base-modal" class="btn btn-flat modal-trigger-custom" data-href="{% url 'dashboard:product-image-delete' product_pk=product.pk img_pk=image.pk %}">- {% trans "Delete" context "Image card action" %}+ {% trans "Delete" context "Dashboard delete action" %}</a></div></div>diff --cc templates/dashboard/product/product_image_form.htmlindex bf04ae72e3,07cfbfb3c7..0424a7bc7b--- a/templates/dashboard/product/product_image_form.html+++ b/templates/dashboard/product/product_image_form.html@@@ -89,17 -89,17 +89,17 @@@<div class="card-action right-align">{% if product_image.pk %}<a href="{% url "dashboard:product-update" pk=product.pk %}#images" class="btn btn-flat">- {% trans "Cancel" context "Image form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Image form primary action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url "dashboard:product-update" pk=product.pk %}#images" class="btn btn-flat">- {% trans "Cancel" context "Image form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Image form secondary action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/product/stock_form.htmlindex 261f94429f,050c082e2a..4a7cd53b78--- a/templates/dashboard/product/stock_form.html+++ b/templates/dashboard/product/stock_form.html@@@ -95,17 -95,17 +95,17 @@@<div class="card-action right-align">{% if stock.pk %}<a href="{% url "dashboard:product-update" pk=product.pk %}#stock" class="btn btn-flat">- {% trans "Cancel" context "Stock form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Stock form action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url "dashboard:product-update" pk=product.pk %}#stock" class="btn btn-flat">- {% trans "Cancel" context "Stock form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Stock form action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/product/stock_locations/form.htmlindex 10a5234ba0,18800ebd3d..999ef7bc61--- a/templates/dashboard/product/stock_locations/form.html+++ b/templates/dashboard/product/stock_locations/form.html@@@ -71,17 -71,17 +71,17 @@@<div class="card-action right-align">{% if location.pk %}<a href="{% url 'dashboard:product-stock-location-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Product stock location secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Stock location detail action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:product-stock-location-list' %}" class="btn btn-flat">- {% trans "Cancel" context "Product stock location secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Stock location detail action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/product/variant_form.htmlindex a27582d617,ffeb640796..ec3b182aef--- a/templates/dashboard/product/variant_form.html+++ b/templates/dashboard/product/variant_form.html@@@ -97,17 -97,17 +97,17 @@@<div class="card-action right-align">{% if variant.pk %}<a href="{% url "dashboard:product-update" pk=product.pk %}#variants" class="btn btn-flat">- {% trans "Cancel" context "Variant form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Variant form action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url "dashboard:product-update" pk=product.pk %}#variants" class="btn btn-flat">- {% trans "Cancel" context "Variant form secondary action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Variant form action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/shipping/method_form.htmlindex 659cdb7c62,54e83722ad..dc1290c899--- a/templates/dashboard/shipping/method_form.html+++ b/templates/dashboard/shipping/method_form.html@@@ -126,17 -126,17 +126,17 @@@<div class="card-action right-align">{% if shipping_method.pk %}<a href="{% url 'dashboard:shipping-methods' %}" class="btn btn-flat">- {% trans "Cancel" context "Shipping method form action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Shipping method form action" %}+ {% trans "Update" context "Dashboard update action" %}</button>{% else %}<a href="{% url 'dashboard:shipping-methods' %}" class="btn btn-flat">- {% trans "Cancel" context "Shipping method form action" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Create" context "Shipping method form action" %}+ {% trans "Create" context "Dashboard create action" %}</button>{% endif %}</div>diff --cc templates/dashboard/sites/detail.htmlindex b6fd1c8888,8323060abb..eb44f16853--- a/templates/dashboard/sites/detail.html+++ b/templates/dashboard/sites/detail.html@@@ -45,10 -45,10 +45,10 @@@</div><div class="card-action right-align"><a class="btn btn-flat" href="{% url "dashboard:index" %}" traget="_blank">- {% trans "Cancel" %}+ {% trans "Cancel" context "Dashboard cancel action" %}</a>- <button type="submit" class="btn btn-flat primary">+ <button type="submit" class="btn waves-effect waves-light">- {% trans "Update" context "Site settings action" %}+ {% trans "Update" context "Dashboard update action" %}</button></div></form>