mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Styling, and tweak to show logged in user even if first name doesn't exist
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44572 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a33b577aaf
commit
b6bff63b10
@ -270,16 +270,13 @@ body.stillLoading select {
|
|||||||
#bottom #logInStatus {
|
#bottom #logInStatus {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
#bottom #logInStatus a,
|
#bottom a {
|
||||||
#bottom #logInStatus a:hover {
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
#bottom #logInStatus a {
|
#bottom a:hover {
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
#bottom #logInStatus a:hover {
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
color: #ccc;
|
||||||
}
|
}
|
||||||
#bottom #logInStatus #LogoutLink {
|
#bottom #logInStatus #LogoutLink {
|
||||||
background: url(../images/logout.gif) no-repeat right top;
|
background: url(../images/logout.gif) no-repeat right top;
|
||||||
@ -309,10 +306,11 @@ body.stillLoading select {
|
|||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
#bottom .bottomTabs a.current {
|
#bottom .bottomTabs .current {
|
||||||
cursor: auto;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
#bottom .bottomTabs a:hover {
|
#bottom .bottomTabs a:hover {
|
||||||
|
color: #ccc;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<a href="http://www.silverstripe.com" title="<% _t('SSWEB','Silverstripe Website') %>">SilverStripe CMS</a> -
|
<a href="http://www.silverstripe.com" title="<% _t('SSWEB','Silverstripe Website') %>">SilverStripe CMS</a> -
|
||||||
<abbr style="border-style: none" title="<% _t('APPVERSIONTEXT1',"This is the") %> $ApplicationName <% _t('APPVERSIONTEXT2',"version that you are currently running, technically it's the CVS branch") %>">$CMSVersion</abbr>
|
<abbr style="border-style: none" title="<% _t('APPVERSIONTEXT1',"This is the") %> $ApplicationName <% _t('APPVERSIONTEXT2',"version that you are currently running, technically it's the CVS branch") %>">$CMSVersion</abbr>
|
||||||
<% control CurrentMember %>
|
<% control CurrentMember %>
|
||||||
<% _t('LOGGEDINAS','Logged in as') %> <strong>$FirstName $Surname</strong> | <a href="{$BaseHref}admin/myprofile" id="EditMemberProfile"><% _t('EDITPROFILE','Profile') %></a> | <a href="Security/logout" id="LogoutLink"><% _t('LOGOUT','log out') %></a>
|
<% _t('LOGGEDINAS','Logged in as') %> <strong><% if FirstName && Surname %>$FirstName $Surname<% else_if FirstName %>$FirstName<% else %>$Email<% end_if %></strong> | <a href="{$BaseHref}admin/myprofile" id="EditMemberProfile"><% _t('EDITPROFILE','Profile') %></a> | <a href="Security/logout" id="LogoutLink"><% _t('LOGOUT','log out') %></a>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user