
Previously we showed only accounts and repositories, to which you have admin access. To improve usability, it's better to show all accounts and all repositories, but explain why part of the repositories are not manageable.
13 lines
373 B
CoffeeScript
13 lines
373 B
CoffeeScript
Travis.AccountIndexController = Em.Controller.extend
|
|
needs: ['profile', 'currentUser']
|
|
hooksBinding: 'controllers.profile.hooks'
|
|
allHooksBinding: 'controllers.profile.allHooks'
|
|
unAdminisetableHooksBinding: 'controllers.profile.unAdminisetableHooks'
|
|
userBinding: 'controllers.currentUser'
|
|
|
|
sync: ->
|
|
@get('user').sync()
|
|
|
|
toggle: (hook) ->
|
|
hook.toggle()
|