diff --git a/app/controllers/owner.coffee b/app/controllers/owner.coffee index 44cf321e..934efcd2 100644 --- a/app/controllers/owner.coffee +++ b/app/controllers/owner.coffee @@ -35,7 +35,8 @@ Controller = Ember.Controller.extend repos = data.repositories.filter (item, index) -> if item.active && item.default_branch.last_build != null item - repos + console.log(item) + repos.reverse() ).property('model') diff --git a/app/routes/owner.coffee b/app/routes/owner.coffee index ee72b479..0aaf21c6 100644 --- a/app/routes/owner.coffee +++ b/app/routes/owner.coffee @@ -3,7 +3,7 @@ `import Ajax from 'travis/utils/ajax'` Route = TravisRoute.extend - needsAuth: true + needsAuth: false # controllerName: 'owner' model: (params) -> diff --git a/app/styles/app/_mixins/vars.sass b/app/styles/app/_mixins/vars.sass index ec945b9a..53158f1b 100644 --- a/app/styles/app/_mixins/vars.sass +++ b/app/styles/app/_mixins/vars.sass @@ -1,4 +1,4 @@ - +$font-size-ml: 18px $font-size-m: 16px $font-size-sm: 14px $line-height-m: 1.3 diff --git a/app/styles/app/layouts/owner.sass b/app/styles/app/layouts/owner.sass index 249f844e..86ad0fbd 100644 --- a/app/styles/app/layouts/owner.sass +++ b/app/styles/app/layouts/owner.sass @@ -5,16 +5,18 @@ a color: #969496 .owner-title - margin: .3em 0 .1em - font-size: 23px + margin: .3em 0 .2em + font-size: 36px font-weight: 400 .owner-handle margin: 0 - font-size: $font-size-sm + font-size: $font-size-ml .icon - width: 1.2em - height: 1.3em + width: 1.1em + height: 1.2em vertical-align: middle + a:hover + text-decoration: underline img border-radius: 50% diff --git a/app/templates/components/owner-repo-tile.hbs b/app/templates/components/owner-repo-tile.hbs index 5e866192..27929e74 100644 --- a/app/templates/components/owner-repo-tile.hbs +++ b/app/templates/components/owner-repo-tile.hbs @@ -16,14 +16,22 @@ {{!-- {{repo.last_build.number}} {{repo.last_build.state}} --}} {{repo.default_branch.last_build.number}} {{repo.default_branch.last_build.state}} {{/link-to}}
-- {{format-sha repo.default_branch.last_build.commit.sha}}
-- - {{format-duration repo.default_branch.last_build.duration}}
-- - {{format-time repo.default_branch.last_build.finished_at}}
+ +{{repo.default_branch.name}}
+ ++ + {{format-duration repo.default_branch.last_build.duration}}
++ + {{format-time repo.default_branch.last_build.finished_at}}
+there is no build
{{/if}} diff --git a/app/templates/footer.hbs b/app/templates/footer.hbs index 9faed1fb..5b9dae5d 100644 --- a/app/templates/footer.hbs +++ b/app/templates/footer.hbs @@ -1,7 +1,14 @@Rigaer Straße 8
10247 Berlin, Germany