diff --git a/assets/scripts/app/templates/repos/list.hbs b/assets/scripts/app/templates/repos/list.hbs index 378891fc..17da0889 100644 --- a/assets/scripts/app/templates/repos/list.hbs +++ b/assets/scripts/app/templates/repos/list.hbs @@ -6,34 +6,36 @@
{{#if isLoaded}} - {{#collection Travis.ReposListView contentBinding="this"}} - {{#with view.repo}} -
- - {{#if slug}} - {{#linkTo "repo" this class="slug"}}{{slug}}{{/linkTo}} - {{/if}} -
- {{#with lastBuildHash}} - {{#if repo.slug}} - {{#linkTo "build" repo id class="last_build"}}{{number}}{{/linkTo}} - {{/if}} + {{#linkTo "repo" repo}} + {{#collection Travis.ReposListView contentBinding="this"}} + {{#with view.repo}} +
+ + {{#if slug}} + {{#linkTo "repo" this class="slug"}}{{slug}}{{/linkTo}} + {{/if}} +
+ {{#with lastBuildHash}} + {{#if repo.slug}} + {{#linkTo "build" repo id class="last_build"}}{{number}}{{/linkTo}} + {{/if}} + {{/with}} + +

+ {{t repositories.duration}}: + {{formatDuration lastBuildDuration}} +

+

+ {{t repositories.finished_at}}: + {{formatTime lastBuildFinishedAt}} +

+ +
{{/with}} - -

- {{t repositories.duration}}: - {{formatDuration lastBuildDuration}} -

-

- {{t repositories.finished_at}}: - {{formatTime lastBuildFinishedAt}} -

- -
- {{/with}} - {{else}} -

{{noReposMessage}}

- {{/collection}} + {{else}} +

{{noReposMessage}}

+ {{/collection}} + {{/linkTo}} {{else}}
Loading
{{/if}}