Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Delete duplicated 'Add' buttons from voucher and sale lists
michalc6e52de2542e
diff --git a/templates/dashboard/discount/sale/list.html b/templates/dashboard/discount/sale/list.htmlindex 2a906d4532..b3a3c1b3c0 100644--- a/templates/dashboard/discount/sale/list.html+++ b/templates/dashboard/discount/sale/list.html@@ -35,13 +35,6 @@<div class="row"><div class="col s12 l9"><div class="card">- {% if perms.sale.edit_sale %}- <div class="data-table-header-action">- <a href="{% url 'dashboard:sale-add' %}" class="btn btn-data-table btn-flat" title="{% trans "Add sale" context "Sale (discount) list add button text" %}">- {% trans "Add" context "Dashboard add action" %}- </a>- </div>- {% endif %}<div class="data-table-container"><table class="bordered highlight responsive data-table"><thead>diff --git a/templates/dashboard/discount/voucher/list.html b/templates/dashboard/discount/voucher/list.htmlindex 0907099a94..ae0b77948e 100644--- a/templates/dashboard/discount/voucher/list.html+++ b/templates/dashboard/discount/voucher/list.html@@ -36,13 +36,6 @@<div class="row"><div class="col s12 l9"><div class="card">- {% if perms.voucher.edit_voucher %}- <div class="data-table-header-action">- <a href="{% url 'dashboard:voucher-add' %}" class="btn btn-data-table btn-flat" title="{% trans "Add voucher" context "Voucher list add button text" %}">- {% trans "Add" context "Dashboard add action" %}- </a>- </div>- {% endif %}<div class="data-table-container"><table class="bordered highlight responsive data-table">{% if vouchers %}