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:
Sean Harvey 2007-11-11 02:43:23 +00:00
parent a33b577aaf
commit b6bff63b10
2 changed files with 7 additions and 9 deletions

View File

@ -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;
} }

View File

@ -47,7 +47,7 @@
<a href="http://www.silverstripe.com" title="<% _t('SSWEB','Silverstripe Website') %>">SilverStripe CMS</a>&nbsp;-&nbsp; <a href="http://www.silverstripe.com" title="<% _t('SSWEB','Silverstripe Website') %>">SilverStripe CMS</a>&nbsp;-&nbsp;
<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> &nbsp; &nbsp; &nbsp; <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> &nbsp; &nbsp; &nbsp;
<% 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>