mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
Always show username on hover, unless there's something else more interesting to say.
This commit is contained in:
parent
06f4d7ca8e
commit
2c8c602086
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ Handlebars.registerHelper 'avatar', (user, options) ->
|
||||||
size: options.hash.imageSize
|
size: options.hash.imageSize
|
||||||
extraClasses: Em.get(user, 'extras') || options.hash.extraClasses
|
extraClasses: Em.get(user, 'extras') || options.hash.extraClasses
|
||||||
username: username
|
username: username
|
||||||
title: Em.get(user, 'title') || Em.get(user, 'description')
|
title: Em.get(user, 'title') || Em.get(user, 'description') || username
|
||||||
avatarTemplate: Ember.get(user, 'avatar_template') || options.hash.avatarTemplate
|
avatarTemplate: Ember.get(user, 'avatar_template') || options.hash.avatarTemplate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue