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()
|
url: @url()
|
||||||
id: @user_id
|
id: @user_id
|
||||||
class: ""
|
class: ""
|
||||||
iconClass: "user"
|
iconClass: @user.icon()
|
||||||
|
|
||||||
|
|
||||||
if @user
|
if @user
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue