Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Revert "Improve short address snippet"
Marcin Gębalac2c633c3496b
diff --git a/saleor/userprofile/templates/userprofile/snippets/address-short.html b/saleor/userprofile/templates/userprofile/snippets/address-short.htmlindex ee2694c892..823b1b3938 100644--- a/saleor/userprofile/templates/userprofile/snippets/address-short.html+++ b/saleor/userprofile/templates/userprofile/snippets/address-short.html@@ -1,6 +1,10 @@<span class="address-details"- data-content="{{ address.street_address }}<br>+ data-content="{% if address.company_name %}{{ address.company_name }}<br>{% endif %}+ {{ 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 }}"- data-html="true" title="{{ address.name }}">{{ address }}</span>+ data-html="true" title="{{ address.first_name }} {{ address.last_name }}">{{ address }}</span>