diff --git a/public/language/en_GB/global.json b/public/language/en_GB/global.json index 93df8c550b..6bb720802f 100644 --- a/public/language/en_GB/global.json +++ b/public/language/en_GB/global.json @@ -56,5 +56,10 @@ "posted": "posted", "in": "in", - "recentposts": "Recent Posts" + "recentposts": "Recent Posts", + + "online": "Online", + "away": "Away", + "donotdisturb": "Do not disturb", + "invisible": "Invisible" } diff --git a/public/src/app.js b/public/src/app.js index 868e6af112..b8ef17422e 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -501,7 +501,7 @@ var socket, userLabel.find('img').attr('src', data.picture); } if (data.username) { - userLabel.find('span').html(data.username); + userLabel.find('#user-profile-link>span').html(data.username); } $('#logout-link').on('click', app.logout); diff --git a/public/templates/header.tpl b/public/templates/header.tpl index 5fc649f008..434e1e46ea 100644 --- a/public/templates/header.tpl +++ b/public/templates/header.tpl @@ -129,6 +129,19 @@ + +
  • + [[global:online]] +
  • +
  • + [[global:away]] +
  • +
  • + [[global:donotdisturb]] +
  • +
  • + [[global:invisible]] +