From 4ccd91f0d8052ada203e2551b11121613d54f44a Mon Sep 17 00:00:00 2001 From: "O.S. Tezer" Date: Wed, 11 Jun 2014 18:03:34 -0700 Subject: [PATCH] Docs: Fixed logged-in header username label target Docker-DCO-1.1-Signed-off-by: O.S. Tezer (github: ostezer) --- docs/theme/mkdocs/base.html | 2 +- docs/theme/mkdocs/header.html | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/theme/mkdocs/base.html b/docs/theme/mkdocs/base.html index 5a78ffe291..f931be2c90 100644 --- a/docs/theme/mkdocs/base.html +++ b/docs/theme/mkdocs/base.html @@ -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(); diff --git a/docs/theme/mkdocs/header.html b/docs/theme/mkdocs/header.html index 9a438d9683..785797f0dc 100644 --- a/docs/theme/mkdocs/header.html +++ b/docs/theme/mkdocs/header.html @@ -31,16 +31,15 @@