Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Revert "Improve checkout templates and styles"

Marcin Gębalaf1597137d73f
diff --git a/saleor/static/less/style.less b/saleor/static/less/style.less
index f7552f5232..935ff3435b 100644
--- a/saleor/static/less/style.less
+++ b/saleor/static/less/style.less
@@ -42,7 +42,3 @@
}
}
}
-
-.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.html
index 9ad232653a..e4383b8cb7 100644
--- a/saleor/userprofile/templates/userprofile/snippets/address-details.html
+++ b/saleor/userprofile/templates/userprofile/snippets/address-details.html
@@ -1,5 +1,8 @@
-<strong>{{ address }}</strong><br>
-{{ address.street_address }}<br>
+<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 %}
{{ address.postal_code }} {{ address.city }}<br>
-{{ address.get_country_display }}<br>
+{% if address.country_area %}{{ address.country_area }}, {% endif %}{{ address.get_country_display }}<br>
{{ address.phone }}