diff --git a/assets/scripts/app/controllers/profile.coffee b/assets/scripts/app/controllers/profile.coffee index 87150280..1a69c14f 100644 --- a/assets/scripts/app/controllers/profile.coffee +++ b/assets/scripts/app/controllers/profile.coffee @@ -59,4 +59,6 @@ Travis.ProfileController = Travis.Controller.extend @set('params', {}) @set("params.#{key}", params[key]) for key, value of params - + showPrivateReposHint: (-> + Travis.config.show_repos_hint == 'public' + ) .property() diff --git a/assets/scripts/app/templates/profile/tabs/hooks.hbs b/assets/scripts/app/templates/profile/tabs/hooks.hbs index 0c6bb1e1..19e326a8 100644 --- a/assets/scripts/app/templates/profile/tabs/hooks.hbs +++ b/assets/scripts/app/templates/profile/tabs/hooks.hbs @@ -1,3 +1,10 @@ +{{#if showPrivateReposHint}} +
+ We're only showing your public repositories below. + You can find your private projects on travis-ci.com. +
+{{/if}} +Enable your projects below by flicking the switch, add a .travis.yml to your project, and push a new commit to GitHub. @@ -6,7 +13,7 @@ {{#if allHooks.isLoaded}} {{#if user.isSyncing}}
{{else}}