Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F823547
address_list.tpl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Mar 9, 9:42 PM
Size
3 KB
Mime Type
text/html
Expires
Tue, Mar 11, 9:42 PM (1 d, 10 h)
Engine
blob
Format
Raw Data
Handle
583206
Attached To
rTOST Themes.OnlineStore
address_list.tpl
View Options
<
inp2:addr_InitList
list_name
=
"my_addresses_list"
types
=
"myaddresses"
per_page
=
"10"
/>
<
table
class
=
"block-no-border"
>
<
tr
>
<
td
class
=
"block-header"
>
<
inp2:m_Phrase
label
=
"lu_comm_MyAddresses"
/>
</
td
>
</
tr
>
</
table
>
<
table
>
<
tr
>
<
td
style
=
"text-align: center;"
>
<
inp2:m_include
template
=
"in-commerce/blocks/my_account/address_pagination"
list_name
=
"my_addresses_list"
data_exists
=
"1"
/>
</
td
>
</
tr
>
</
table
>
<
br
/>
<
inp2:m_DefineElement
name
=
"myaddress_item_tr"
>
<
tr
class
=
"cart-item"
>
<
td
>
<
strong
><
inp2:Field
field
=
"To"
/></
strong
><
br
/>
<
inp2:m_if
check
=
"Field"
name
=
"Company"
>
<
inp2:Field
field
=
"Company"
/><
br
/>
</
inp2:m_if
>
<
inp2:m_if
check
=
"FieldEquals"
field
=
"Address1"
value
=
""
inverse
=
"inverse"
>
<
inp2:Field
field
=
"Address1"
/><
br
/>
</
inp2:m_if
>
<
inp2:m_if
check
=
"FieldEquals"
field
=
"Address2"
value
=
""
inverse
=
"inverse"
>
<
inp2:Field
field
=
"Address2"
/><
br
/>
</
inp2:m_if
>
<
inp2:PrintLocation
/><
br
/>
</
td
>
<
td
>
<
inp2:m_if
check
=
"Field"
name
=
"Email"
>
<
inp2:Field
field
=
"Email"
/><
br
/>
</
inp2:m_if
>
<
inp2:m_if
check
=
"Field"
name
=
"Phone"
>
<
inp2:m_Phrase
name
=
"lu_Phone"
/>
:
<
inp2:Field
field
=
"Phone"
/><
br
/>
</
inp2:m_if
>
<
inp2:m_if
check
=
"Field"
name
=
"Fax"
>
<
inp2:m_Phrase
name
=
"lu_Fax"
/>
:
<
inp2:Field
field
=
"Fax"
/><
br
/>
</
inp2:m_if
>
</
td
>
<
td
>
<
inp2:m_if
check
=
"Field"
field
=
"LastUsedAsShipping"
value
=
"1"
><
inp2:m_Phrase
label
=
"lu_LastUsedAsShipping"
/><
br
/></
inp2:m_if
>
<
inp2:m_if
check
=
"Field"
field
=
"LastUsedAsBilling"
value
=
"1"
><
inp2:m_Phrase
label
=
"lu_LastUsedAsBilling"
/></
inp2:m_if
>
<
br
/>
</
td
>
<
td
>
<
inp2:m_if
check
=
"u.current_Field"
name
=
"cust_shipping_addr_block"
inverse
=
"1"
>
<
inp2:m_if
check
=
"IsProfileAddress"
>
<
a
href
=
"<inp2:m_Link template="
in-commerce
/
my_account
/
profile
"
/>
">
<
inp2:m_Phrase
label
=
"lu_Edit"
/></
a
>
<
inp2:m_else
/>
<
a
href
=
"<inp2:EditLink template="
in-commerce
/
my_account
/
address_edit
"
/>
">
<
inp2:m_Phrase
label
=
"lu_Edit"
/></
a
>
<
a
href
=
"javascript:if(confirm('<inp2:m_Phrase name="
lu_comm_DeleteAddress
"
escape
=
"1"
/>
?')) window.location.href = '
<
inp2:DeleteLink
escape
=
"1"
/>
';">
<
inp2:m_Phrase
label
=
"lu_Delete"
/></
a
>
</
inp2:m_if
>
</
inp2:m_if
>
<
br
/><
br
/>
</
td
>
</
tr
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"myaddress_empty"
>
<
td
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_DontHaveAddresses"
/></
strong
>
</
td
>
</
inp2:m_DefineElement
>
<
inp2:m_if
check
=
"ord_AllowAddAddress"
>
<
div
style
=
"margin: 10px; display: inline;"
>
<
a
href
=
"<inp2:addr_NewLink template="
in-commerce
/
my_account
/
address_edit
"
/>
">
<
inp2:m_Phrase
label
=
"lu_Comm_NewAddress"
/></
a
>
<
br
/><
br
/>
</
div
>
</
inp2:m_if
>
<
table
>
<
tr
class
=
"cart-header"
>
<
td
><
inp2:m_Phrase
label
=
"lu_Address"
/></
td
>
<
td
><
inp2:m_Phrase
label
=
"lu_ContactInfo"
/></
td
>
<
td
><
inp2:m_Phrase
label
=
"lu_AddressUsedAs"
/></
td
>
<
td
>
</
td
>
</
tr
>
<
inp2:addr_ListAddresses
list_name
=
"my_addresses_list"
columns
=
"1"
direction
=
"H"
render_as
=
"myaddress_item_tr"
empty_myaddresses_render_as
=
"myaddress_empty"
row_start_render_as
=
"html:"
row_end_render_as
=
"html:"
/>
</
table
>
Event Timeline
Log In to Comment