Try to show email address if no name exists.

This commit is contained in:
Martin Edenhofer 2013-02-12 23:40:53 +01:00
parent f7b79bf40a
commit 0f758886f4

View file

@ -11,6 +11,8 @@ class App.Model extends Spine.Model
name = name + ' ' name = name + ' '
name = name + @lastname name = name + @lastname
return name return name
if @email
return @email
return '???' return '???'
displayNameLong: -> displayNameLong: ->