diff --git a/app/controllers/accounts.coffee b/app/controllers/accounts.coffee index d778bd6d..7286d5b4 100644 --- a/app/controllers/accounts.coffee +++ b/app/controllers/accounts.coffee @@ -1,10 +1,5 @@ `import Ember from 'ember'` -Controller = Ember.ArrayController.extend - tab: 'accounts' - - userName: (-> - @get('user.name') || @get('user.login') - ).property('user.login', 'user.name') +Controller = Ember.ArrayController.extend() `export default Controller` diff --git a/app/controllers/profile.coffee b/app/controllers/profile.coffee index 867f4c7c..bf9443f7 100644 --- a/app/controllers/profile.coffee +++ b/app/controllers/profile.coffee @@ -21,9 +21,4 @@ Controller = Ember.Controller.extend connectTab: (tab) -> @set('tab', tab) - billingUrl: (-> - id = if @get('account.type') == 'user' then 'user' else @get('account.login') - "#{@get('config').billingEndpoint}/subscriptions/#{id}" - ).property('account.login', 'account.type') - `export default Controller` diff --git a/app/templates/components/org-item.hbs b/app/templates/components/org-item.hbs index 850ac31a..830ce530 100644 --- a/app/templates/components/org-item.hbs +++ b/app/templates/components/org-item.hbs @@ -1,14 +1,14 @@
Repositories {{reposCount}}
+Repositories {{account.reposCount}}
{{else}}No repositories{{/if}} {{/link-to}} {{#if isUser}} diff --git a/app/templates/profile/accounts.hbs b/app/templates/profile/accounts.hbs index 7673c395..03b7513b 100644 --- a/app/templates/profile/accounts.hbs +++ b/app/templates/profile/accounts.hbs @@ -11,9 +11,10 @@ {{/each}} + {{#if config.githubOrgsOauthAccessSettingsUrl}}Is an organization missing?
- Review and add your authorized organizations.