more template nudging

This commit is contained in:
Lisa Passing 2015-03-24 14:06:30 +01:00
parent 88b128fc3e
commit d0234d5011

View File

@ -3,49 +3,47 @@
<h1>{{view.name}}</h1> <h1>{{view.name}}</h1>
{{!-- {{sync-button user=auth.currentUser}} --}} {{!-- {{sync-button user=auth.currentUser}} --}}
{{#if user.isSyncing}}
{{#if config.pro}} <p class="message loading">
<p>We're only showing you private repositories. You can find your public projects on <a href="https://travis-ci.org" title="travis-ci.org">travis-ci.org</a>.</p> <span>Please wait while we synchronize your data from GitHub</span>
</p>
{{else}} {{else}}
<p>We're only showing you public repositories. You can find your private projects on <a href="https://travis-ci.com" title="travis-ci.com">travis-ci.com</a>.</p> <p class="message">
{{/if}} Last synchronized from GitHub: {{format-time user.syncedAt}}
</header> <a class="sync_now button" {{action "sync"}}>
<section class="profile-getstarted"> Sync now
<a href="#" class="dismiss"><span class="icon icon--dismiss-grey"></span></a> </a>
<ol class="row"> </p>
<li class="columns medium-4"> {{#if config.pro}}
<figure> <p>We're only showing you private repositories. You can find your public projects on <a href="https://travis-ci.org" title="travis-ci.org">travis-ci.org</a>.</p>
<img src="/images/svg/hooks-step-1-01.svg" alt=""> {{else}}
<figcaption>Flick the repository switch on</figcaption> <p>We're only showing you public repositories. You can find your private projects on <a href="https://travis-ci.com" title="travis-ci.com">travis-ci.com</a>.</p>
</figure> {{/if}}
</li> </header>
<li class="columns medium-4">
<figure>
<img src="/images/svg/hooks-step-2-01.svg" alt="">
<figcaption>Add .travis.yml file to your repository</figcaption>
</figure>
</li>
<li class="columns medium-4">
<figure>
<img src="/images/svg/hooks-step-3-01.svg" alt="">
<figcaption>Trigger your first build with a git push</figcaption>
</figure>
</li>
</ol>
</section>
<section class="profile-getstarted">
{{#if user.isSyncing}} <a href="#" class="dismiss"><span class="icon icon--dismiss-grey"></span></a>
<p class="message loading"> <ol class="row">
<span>Please wait while we synchronize your data from GitHub</span> <li class="columns medium-4">
</p> <figure>
{{else}} <img src="/images/svg/hooks-step-1-01.svg" alt="">
<p class="message"> <figcaption>Flick the repository switch on</figcaption>
Last synchronized from GitHub: {{format-time user.syncedAt}} </figure>
<a class="sync_now button" {{action "sync"}}> </li>
Sync now <li class="columns medium-4">
</a> <figure>
</p> <img src="/images/svg/hooks-step-2-01.svg" alt="">
<figcaption>Add .travis.yml file to your repository</figcaption>
</figure>
</li>
<li class="columns medium-4">
<figure>
<img src="/images/svg/hooks-step-3-01.svg" alt="">
<figcaption>Trigger your first build with a git push</figcaption>
</figure>
</li>
</ol>
</section>
<div> <div>
<ul class="profile-hooklist"> <ul class="profile-hooklist">
@ -72,27 +70,25 @@
</ul> </ul>
</div> </div>
{{!-- {{#if hooksWithoutAdmin.length}}
<div id="unadministerable-hooks">
<h3>Repositories without admin access</h3>
<p class="tip">
You only have pull or push access to the repositories below.
</p>
{{!-- {{#if hooksWithoutAdmin.length}} <ul>
<div id="unadministerable-hooks"> {{#each hook in hooksWithoutAdmin}}
<h3>Repositories without admin access</h3> <li {{bind-attr class="hook.active:active"}}>
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow">{{hook.slug}}</a>
<p class="tip"> <p class="description">{{hook.description}}</p>
You only have pull or push access to the repositories below. </li>
</p> {{/each}}
</ul>
<ul> </div>
{{#each hook in hooksWithoutAdmin}} {{/if}} --}}
<li {{bind-attr class="hook.active:active"}}> {{/if}}
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow">{{hook.slug}}</a>
<p class="description">{{hook.description}}</p>
</li>
{{/each}}
</ul>
</div>
{{/if}} --}}
{{/if}}
{{else}} {{else}}
<p class="message loading"> <p class="message loading">
<span>Loading</span> <span>Loading</span>