mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
48 lines
1.8 KiB
Scheme
48 lines
1.8 KiB
Scheme
|
<div class="accountnav">
|
||
|
<div class="nav">
|
||
|
<h2><%t SilverShop\Page\AccountPage.Title 'My Account' %></h2>
|
||
|
<ul class="nav nav-list">
|
||
|
<li>
|
||
|
<a href="{$Link}">
|
||
|
<i class="icon icon-list fa fa-list"></i><%t SilverShop\Page\AccountPage.PastOrders 'Past Orders' %>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="{$Link('editprofile')}">
|
||
|
<i class="icon icon-user fa fa-user"></i><%t SilverShop\Page\AccountPage.EditProfile 'Edit Profile' %>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="{$Link('addressbook')}">
|
||
|
<i class="icon icon-book fa fa-book"></i><%t SilverShop\Page\AccountPage.AddressBook 'Address Book' %>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="Security/logout">
|
||
|
<i class="icon icon-off fa fa-sign-out"></i><%t SilverShop\Page\AccountPage.LogOut 'Log Out' %>
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="memberdetails">
|
||
|
<% with $CurrentMember %>
|
||
|
<dl>
|
||
|
<dt><%t SilverShop\Page\AccountPage.MemberName 'Name' %></dt>
|
||
|
<dd>$Name</dd>
|
||
|
|
||
|
<dt><%t SilverShop\Page\AccountPage.MemberEmail 'Email' %></dt>
|
||
|
<dd>$Email</dd>
|
||
|
|
||
|
<dt><%t SilverShop\Page\AccountPage.MemberSince 'Member Since' %></dt>
|
||
|
<dd>$Created.Nice</dd>
|
||
|
|
||
|
<dt><%t SilverShop\Page\AccountPage.MemberLastVisit 'Last Visit' %></dt>
|
||
|
<dd>$LastVisited.Nice</dd>
|
||
|
|
||
|
<dt> <%t SilverShop\Page\AccountPage.NumberOfOrders 'Number of orders' %></dt>
|
||
|
<dd><% if $PastOrders %>{$PastOrders.Count}<% else %>0<% end_if %></dd>
|
||
|
</dl>
|
||
|
<% end_with %>
|
||
|
</div>
|
||
|
</div>
|