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

13 lines
354 B
JavaScript

import BasicView from 'travis/views/basic';
export default BasicView.extend({
templateName: 'profile/show',
layoutName: 'layouts/profile',
classNames: ['profile-view'],
accountBinding: 'controller.account',
name: function() {
return this.get('account.name') || this.get('account.login');
}.property('account.name', 'account.login')
});