From 1f9d2e1dea64d828e9982a1ce06a12660563b252 Mon Sep 17 00:00:00 2001 From: Shiv Kumar Date: Wed, 8 Jan 2014 22:13:44 -0800 Subject: [PATCH] add tooltip for user icon when not logged in --- app/assets/javascripts/discourse/templates/header.js.handlebars | 2 +- config/locales/client.en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/header.js.handlebars b/app/assets/javascripts/discourse/templates/header.js.handlebars index 6a8f2de4665..cb443f9dde1 100644 --- a/app/assets/javascripts/discourse/templates/header.js.handlebars +++ b/app/assets/javascripts/discourse/templates/header.js.handlebars @@ -90,7 +90,7 @@ {{#if currentUser}} {{#titledLinkTo 'userActivity.index' currentUser titleKey="current_user" class="icon"}}{{boundAvatar currentUser imageSize="medium" }}{{/titledLinkTo}} {{else}} -
+
{{/if}} diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index df765a6c9bb..6e08c0f6e25 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -584,6 +584,7 @@ en: site_map: "go to another topic list or category" go_back: 'go back' + no_current_user: 'user page with summary of current activity and preferences' current_user: 'go to your user page' favorite: