From 0d4babb07e86fa7ea6e3ffbe56a5973277f0c447 Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Mon, 7 Oct 2013 21:00:35 +0200 Subject: [PATCH] wrap the contents of the li, not the whole collection --- assets/scripts/app/templates/repos/list.hbs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/scripts/app/templates/repos/list.hbs b/assets/scripts/app/templates/repos/list.hbs index 17da0889..48f54a87 100644 --- a/assets/scripts/app/templates/repos/list.hbs +++ b/assets/scripts/app/templates/repos/list.hbs @@ -6,8 +6,8 @@
{{#if isLoaded}} - {{#linkTo "repo" repo}} - {{#collection Travis.ReposListView contentBinding="this"}} + {{#collection Travis.ReposListView contentBinding="this"}} + {{#linkTo "repo" this}} {{#with view.repo}}
@@ -32,10 +32,10 @@
{{/with}} - {{else}} -

{{noReposMessage}}

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

{{noReposMessage}}

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