Moved to icons based on model.

This commit is contained in:
Martin Edenhofer 2014-07-24 16:10:21 +02:00
parent 268edd4693
commit 9c2e1e5758
2 changed files with 4 additions and 1 deletions

View file

@ -16,7 +16,7 @@ class App.UserZoom extends App.Controller
url: @url() url: @url()
id: @user_id id: @user_id
class: "" class: ""
iconClass: "user" iconClass: @user.icon()
if @user if @user

View file

@ -33,6 +33,9 @@ class App.User extends App.Model
uiUrl: -> uiUrl: ->
'#user/zoom/' + @id '#user/zoom/' + @id
icon: (user) ->
"user icon"
@_fillUp: (data) -> @_fillUp: (data) ->
# set socal media links # set socal media links