From df3b4e48fe32a96f0e7e710b87f0c42306c894ea Mon Sep 17 00:00:00 2001
From: DeeMysterio
- {%= i+1 %}. {%= addr_list[i].address_type!="Other" ? __(addr_list[i].address_type) : addr_list[i].address_title %}
- {% if(addr_list[i].is_primary_address) { %}
- ({%= __("Primary") %}){% } %}
- {% if(addr_list[i].is_shipping_address) { %}
- ({%= __("Shipping") %}){% } %}
+
+ {%= i+1 %}. {%= addr_list[i].address_title %}{% if(addr_list[i].address_type!="Other") { %}
+ ({%= __(addr_list[i].address_type) %}){% } %}
+ {% if(addr_list[i].is_primary_address) { %}
+ ({%= __("Primary") %}){% } %}
+ {% if(addr_list[i].is_shipping_address) { %}
+ ({%= __("Shipping") %}){% } %}
-
- {%= __("Edit") %}
- {%= addr_list[i].display %}
{%= addr_list[i].display %}
+ {% } %} {% if(!addr_list.length) { %}{%= __("No address added yet.") %}
{% } %} - - + \ No newline at end of file