From d0234d5011809089f7ee387d568c8f16aec73bec Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Tue, 24 Mar 2015 14:06:30 +0100 Subject: [PATCH] more template nudging --- app/templates/account.hbs | 116 ++++++++++++++++++-------------------- 1 file changed, 56 insertions(+), 60 deletions(-) diff --git a/app/templates/account.hbs b/app/templates/account.hbs index 9bc68795..5e144d3b 100644 --- a/app/templates/account.hbs +++ b/app/templates/account.hbs @@ -3,49 +3,47 @@

{{view.name}}

{{!-- {{sync-button user=auth.currentUser}} --}} - - {{#if config.pro}} -

We're only showing you private repositories. You can find your public projects on travis-ci.org.

+ {{#if user.isSyncing}} +

+ Please wait while we synchronize your data from GitHub +

{{else}} -

We're only showing you public repositories. You can find your private projects on travis-ci.com.

- {{/if}} - -
- -
    -
  1. -
    - -
    Flick the repository switch on
    -
    -
  2. -
  3. -
    - -
    Add .travis.yml file to your repository
    -
    -
  4. -
  5. -
    - -
    Trigger your first build with a git push
    -
    -
  6. -
-
+

+ Last synchronized from GitHub: {{format-time user.syncedAt}} + + Sync now + +

+ {{#if config.pro}} +

We're only showing you private repositories. You can find your public projects on travis-ci.org.

+ {{else}} +

We're only showing you public repositories. You can find your private projects on travis-ci.com.

+ {{/if}} + - - {{#if user.isSyncing}} -

- Please wait while we synchronize your data from GitHub -

- {{else}} -

- Last synchronized from GitHub: {{format-time user.syncedAt}} - - Sync now - -

+
+ +
    +
  1. +
    + +
    Flick the repository switch on
    +
    +
  2. +
  3. +
    + +
    Add .travis.yml file to your repository
    +
    +
  4. +
  5. +
    + +
    Trigger your first build with a git push
    +
    +
  6. +
+
+ {{!-- {{#if hooksWithoutAdmin.length}} +
+

Repositories without admin access

+

+ You only have pull or push access to the repositories below. +

- {{!-- {{#if hooksWithoutAdmin.length}} -
-

Repositories without admin access

- -

- You only have pull or push access to the repositories below. -

- -
    - {{#each hook in hooksWithoutAdmin}} -
  • - {{hook.slug}} -

    {{hook.description}}

    -
  • - {{/each}} -
-
- {{/if}} --}} - {{/if}} + +
+ {{/if}} --}} + {{/if}} {{else}}

Loading