travis-web/app/views/accounts-info.js
2016-01-04 13:15:14 +01:00

11 lines
324 B
JavaScript

import BasicView from 'travis/views/basic';
export default BasicView.extend({
templateName: 'profile/tabs/user',
userBinding: 'controller.user',
gravatarUrl: function() {
return location.protocol + "//www.gravatar.com/avatar/" + (this.get('user.gravatarId')) + "?s=200&d=mm";
}.property('user.gravatarId')
});