Improved displayNameLong() - same behaviour like displayName().
This commit is contained in:
parent
67cc6fe469
commit
dbcc5414cf
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,10 @@ class App.Model extends Spine.Model
|
|||
else if @department
|
||||
name = "#{name} (#{@department})"
|
||||
return name
|
||||
if @email
|
||||
return @email
|
||||
if @title
|
||||
return @title
|
||||
return '???'
|
||||
|
||||
@validate: ( data = {} ) ->
|
||||
|
|
Loading…
Reference in a new issue