add tooltip for user icon when not logged in

This commit is contained in:
Shiv Kumar 2014-01-08 22:13:44 -08:00
parent adc9a58f4a
commit 1f9d2e1dea
2 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,7 @@
{{#if currentUser}}
{{#titledLinkTo 'userActivity.index' currentUser titleKey="current_user" class="icon"}}{{boundAvatar currentUser imageSize="medium" }}{{/titledLinkTo}}
{{else}}
<div class="icon not-logged-in-avatar" {{action showLogin}}><i class='fa fa-user'></i></div>
<div class="icon not-logged-in-avatar" {{action showLogin}}><i class='fa fa-user' title='{{i18n no_current_user}}'></i></div>
{{/if}}
</li>
</ul>

View File

@ -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: