mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 02:01:24 +02:00
Standardise template locations Move CMSSettingsController class to SiteConfig module Fix CMSMenu behaviour for namespaced admin sections Split classes into one per file Manual fixes and cleanup
12 lines
438 B
Scheme
12 lines
438 B
Scheme
<div class="cms-login-status">
|
|
<a href="$LogoutURL" class="logout-link font-icon-logout" title="<%t LeftAndMain_Menu_ss.LOGOUT 'Log out' %>"></a>
|
|
<% with $CurrentMember %>
|
|
<span>
|
|
<%t LeftAndMain_Menu_ss.Hello 'Hi' %>
|
|
<a href="{$AdminURL}myprofile" class="profile-link">
|
|
<% if $FirstName && $Surname %>$FirstName $Surname<% else_if $FirstName %>$FirstName<% else %>$Email<% end_if %>
|
|
</a>
|
|
</span>
|
|
<% end_with %>
|
|
</div>
|