Always show username on hover, unless there's something else more interesting to say.

This commit is contained in:
Robin Ward 2013-02-07 17:40:41 -05:00
parent 06f4d7ca8e
commit 2c8c602086

View file

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