1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #6372 from ostezer/docs-fix-logged-in-hdr

Docs: Fixed logged-in header username label target
This commit is contained in:
O.S. Tezer 2014-06-12 01:17:38 -07:00
commit dbee7dd69e
2 changed files with 7 additions and 8 deletions

View file

@ -132,7 +132,7 @@ piCId = '1482';
if (userName) {
$('.topmostnav_loggedout').hide();
$('.topmostnav_loggedin').show();
$('.navbar #usernav .nav li a').text(userName);
$('#logged-in-header-username').text(userName);
} else {
$('.topmostnav_loggedout').show();
$('.topmostnav_loggedin').hide();

View file

@ -31,16 +31,15 @@
<div id="usernav" class="pull-right">
<ul class="nav user">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<a id="logged-in-header-username" class="dropdown-toggle" data-toggle="dropdown" href="#">
<img class="profile" src="https://secure.gravatar.com/avatar/26dc2b32b9e753823aef55e89687a9fc.jpg?s=30&amp;r=g&amp;d=mm" alt="profile picture">ostezer
</a>
<ul class="dropdown-menu pull-right">
<li><a href="http://www.docker.com/account/">View Profile</a></li>
<li><a href="http://www.docker.com/account/settings/">Settings</a></li>
<li><a href="http://www.docker.com/repos/">My Repositories</a></li>
<li><a href="http://www.docker.com/plans/billing-info">Billing</a></li>
<li><a href="http://www.docker.com/account/logout/?next=/">Log out</a></li>
<li><a href="https://hub.docker.com/">View Profile</a></li>
<li><a href="https://hub.docker.com/account/settings/">Settings</a></li>
<li><a href="https://hub.docker.com/repos/">My Repositories</a></li>
<li><a href="https://hub.docker.com/plans/billing-info">Billing</a></li>
<li><a href="https://hub.docker.com/account/logout/?next=/">Log out</a></li>
</ul>
</li>
</ul>