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:
commit
dbee7dd69e
2 changed files with 7 additions and 8 deletions
2
docs/theme/mkdocs/base.html
vendored
2
docs/theme/mkdocs/base.html
vendored
|
@ -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();
|
||||
|
|
13
docs/theme/mkdocs/header.html
vendored
13
docs/theme/mkdocs/header.html
vendored
|
@ -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&r=g&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>
|
||||
|
|
Loading…
Reference in a new issue