travis-web/app/templates/builds.hbs
2016-01-12 16:55:22 +01:00

23 lines
560 B
Handlebars

{{#builds-wrapper contentType=contentType repo=repo}}
{{#if model.isLoaded}}
<ul class="build-list">
{{#each model as |build|}}
{{builds-item build=build}}
{{else}}
{{no-builds repo=noticeData isPR=displayPullRequests isBranch=displayBranches}}
{{/each}}
</ul>
{{#if displayShowMoreButton}}
<p>
{{show-more-button isLoading=isLoading showMore=(action 'showMoreBuilds')}}
{{#if isLoading}}
{{loading-indicator}}
{{/if}}
</p>
{{/if}}
{{else}}
{{loading-indicator}}
{{/if}}
{{/builds-wrapper}}