Download 2x images from Gravatar
This will make them look nicer on Retina screens. We may want to make them even bigger if people are increasing the size of the page on Travis, but doing that causes all kinds of alignment issues, so it's not necessary to do now, I think.
This commit is contained in:
parent
c1814fa062
commit
e659659861
|
@ -41,7 +41,7 @@ Travis.reopen
|
|||
userBinding: 'controller.user'
|
||||
|
||||
gravatarUrl: (->
|
||||
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=48&d=mm"
|
||||
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=96&d=mm"
|
||||
).property('user.gravatarId')
|
||||
|
||||
locale: (->
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
).property('user.login', 'user.name')
|
||||
|
||||
gravatarUrl: (->
|
||||
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=24&d=mm"
|
||||
"#{location.protocol}//www.gravatar.com/avatar/#{@get('user.gravatarId')}?s=48&d=mm"
|
||||
).property('user.gravatarId')
|
||||
|
||||
# hrm. how to parametrize bindAttr?
|
||||
|
|
Loading…
Reference in New Issue
Block a user