Fix repository hint on accounts pages.
Accounts and the profile are currently separate controllers, so whenever you switched the account, the message would be hidden.
This commit is contained in:
parent
2e6e896c74
commit
2fa2ea533b
|
@ -10,3 +10,11 @@ Travis.AccountIndexController = Em.Controller.extend
|
||||||
|
|
||||||
toggle: (hook) ->
|
toggle: (hook) ->
|
||||||
hook.toggle()
|
hook.toggle()
|
||||||
|
|
||||||
|
showPrivateReposHint: (->
|
||||||
|
Travis.config.show_repos_hint == 'private'
|
||||||
|
) .property()
|
||||||
|
|
||||||
|
showPublicReposHint: (->
|
||||||
|
Travis.config.show_repos_hint == 'public'
|
||||||
|
) .property()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user