Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Improve checkout templates and styles
Michał Ociepkac9957b57d0f7
diff --git a/saleor/static/less/style.less b/saleor/static/less/style.lessindex 935ff3435b..f7552f5232 100644--- a/saleor/static/less/style.less+++ b/saleor/static/less/style.less@@ -42,3 +42,7 @@}}}++.form-group.required .control-label:after{+ content: '*';+}diff --git a/saleor/userprofile/templates/userprofile/snippets/address-details.html b/saleor/userprofile/templates/userprofile/snippets/address-details.htmlindex e4383b8cb7..9ad232653a 100644--- a/saleor/userprofile/templates/userprofile/snippets/address-details.html+++ b/saleor/userprofile/templates/userprofile/snippets/address-details.html@@ -1,8 +1,5 @@-<strong>{{ address.first_name }} {{ address.last_name }}</strong><br>-{{ address.street_address_1 }}<br>-{% if address.street_address_2 %}- {{ address.street_address_2 }}<br>-{% endif %}+<strong>{{ address }}</strong><br>+{{ address.street_address }}<br>{{ address.postal_code }} {{ address.city }}<br>-{% if address.country_area %}{{ address.country_area }}, {% endif %}{{ address.get_country_display }}<br>+{{ address.get_country_display }}<br>{{ address.phone }}