FEATURE: first pass at user summary page

This commit is contained in:
Sam Saffron
2016-01-20 15:11:52 +11:00
parent 9ad226aaa8
commit 7303f8f309
16 changed files with 292 additions and 7 deletions
@@ -0,0 +1,13 @@
export default Ember.Controller.extend({
needs: ['user'],
user: Em.computed.alias('controllers.user.model'),
moreTopics: function(){
return this.get('model.topics').length > 5;
}.property('model'),
moreReplies: function(){
return this.get('model.replies').length > 5;
}.property('model'),
moreBadges: function(){
return this.get('model.badges').length > 5;
}.property('model')
});