Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix tables
Patryk Zawadzki6d9391821d2b
diff --git a/saleor/static/scss/dashboard/components/_data-table.scss b/saleor/static/scss/dashboard/components/_data-table.scssindex bee92e2c23..e708fdc1b5 100644--- a/saleor/static/scss/dashboard/components/_data-table.scss+++ b/saleor/static/scss/dashboard/components/_data-table.scss@@ -63,6 +63,7 @@}th, td {+ font-size: 13px;height: 48px;overflow: hidden;padding: 0 28px;@@ -90,7 +91,7 @@th {color: map_get($grey, darken-1);font-weight: normal;- font-size: 85%;+ font-size: 12px;height: 56px;}diff --git a/templates/dashboard/customer/list.html b/templates/dashboard/customer/list.htmlindex 4b4a09d8a8..607b99c21d 100644--- a/templates/dashboard/customer/list.html+++ b/templates/dashboard/customer/list.html@@ -56,7 +56,7 @@{% if customers %}<div class="data-table-container">- <table class="bordered hoverable responsive data-table">+ <table class="bordered highlight responsive data-table"><thead><tr><th>{% trans "Email" context "Customers table header" %}</th>diff --git a/templates/dashboard/includes/_orders_table.html b/templates/dashboard/includes/_orders_table.htmlindex d2864fd00f..a762628e6d 100644--- a/templates/dashboard/includes/_orders_table.html+++ b/templates/dashboard/includes/_orders_table.html@@ -3,7 +3,7 @@{% load status %}<div class="data-table-container">- <table class="bordered hoverable responsive data-table">+ <table class="bordered highlight responsive data-table"><thead><tr><th>#</th>diff --git a/templates/dashboard/index.html b/templates/dashboard/index.htmlindex 14de168fd4..c8677c46a9 100644--- a/templates/dashboard/index.html+++ b/templates/dashboard/index.html@@ -17,7 +17,7 @@<table class="bordered responsive data-table"><thead><tr>- <th>#</th>+ <th>{% trans "Order" context "Preauthorized payments table header" %}</th><th>{% trans "Date" context "Preauthorized payments table header" %}</th><th>{% trans "Customer" context "Preauthorized payments table header" %}</th><th class="right-align">{% trans "Amount" context "Preauthorized payments table header" %}</th>diff --git a/templates/dashboard/payments/list.html b/templates/dashboard/payments/list.htmlindex 9d33e95dc4..649461d8cc 100644--- a/templates/dashboard/payments/list.html+++ b/templates/dashboard/payments/list.html@@ -21,14 +21,15 @@{% if payments %}<div class="card"><div class="data-table-container">- <table class="bordered hoverable responsive data-table">+ <table class="bordered highlight responsive data-table"><thead><tr>- <th></th>+ <th>#</th>+ <th>{% trans "Order" context "Payments table header" %}</th>+ <th class="wide">{% trans "Status" context "Payments table header" %}</th><th>{% trans "Date" context "Payments table header" %}</th>- <th>{% trans "Payment" context "Payments table header" %}</th>+ <th>{% trans "Gateway" context "Payments table header" %}</th><th class="right-align">{% trans "Amount" context "Payments table header" %}</th>- <th class="wide">{% trans "Status" context "Payments table header" %}</th></tr></thead><tbody>@@ -39,19 +40,21 @@#{{ payment_id }}{% endblocktrans %}</a></td>- <td>{{ payment.created }}</td><td>- {% blocktrans trimmed with payment_variant=payment.variant context "Payments table item data" %}- Gateway {{ payment_variant }}- {% endblocktrans %} ·<a href="{% url 'dashboard:order-details' order_pk=payment.order.pk %}">{% blocktrans trimmed with order=payment.order context "Payments table item data" %}Order {{ order }}{% endblocktrans %}</a></td>- <td class="right-align">{% gross payment.get_total_price html=True %}</td><td>{% render_status payment.status payment.get_status_display %}</td>+ <td>{{ payment.created }}</td>+ <td>+ {% blocktrans trimmed with payment_variant=payment.variant context "Payments table item data" %}+ Gateway {{ payment_variant }}+ {% endblocktrans %}+ </td>+ <td class="right-align">{% gross payment.get_total_price html=True %}</td></tr>{% endfor %}</tbody>