It’s a magic trick to determine whether name
should be included by the serializer. If it’s true, you can find that field in the JSON.
After that, Ember model and widget kicks in. Try console.log(u)
in that function so that you can see what’s in the u
. You could access name by u.name
there. And you’ll need some class
for colors probably.
There is a site setting for displaying order of username and name. You could check that site setting and putting the name there.
You might find this useful: