Moved to icons based on model.
This commit is contained in:
parent
268edd4693
commit
9c2e1e5758
2 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@ class App.UserZoom extends App.Controller
|
|||
url: @url()
|
||||
id: @user_id
|
||||
class: ""
|
||||
iconClass: "user"
|
||||
iconClass: @user.icon()
|
||||
|
||||
|
||||
if @user
|
||||
|
|
|
@ -33,6 +33,9 @@ class App.User extends App.Model
|
|||
uiUrl: ->
|
||||
'#user/zoom/' + @id
|
||||
|
||||
icon: (user) ->
|
||||
"user icon"
|
||||
|
||||
@_fillUp: (data) ->
|
||||
|
||||
# set socal media links
|
||||
|
|
Loading…
Reference in a new issue