travis-web/app/views/profile.coffee
2015-12-22 11:12:12 +01:00

17 lines
446 B
CoffeeScript

`import BasicView from 'travis/views/basic'`
View = BasicView.extend
templateName: 'profile/show'
layoutName: 'layouts/profile'
classNames: ['profile-view']
accountBinding: 'controller.account'
# Can we remove these?
# subscribedBinding: 'account.subscribed'
# educationBinding: 'account.education'
name: (->
@get('account.name') || @get('account.login')
).property('account.name', 'account.login')
`export default View`