diff --git a/app/components/branch-row.coffee b/app/components/branch-row.coffee index 46ee17a0..29f30887 100644 --- a/app/components/branch-row.coffee +++ b/app/components/branch-row.coffee @@ -52,7 +52,10 @@ BranchRowComponent = Ember.Component.extend ).property() canTrigger: (-> - @get('auth.signedIn') + if !@get('auth.signedIn') + return false + else + true ).property() triggerBuild: (-> diff --git a/app/styles/app/layouts/branches.sass b/app/styles/app/layouts/branches.sass index 3cea43a5..8080d1b6 100644 --- a/app/styles/app/layouts/branches.sass +++ b/app/styles/app/layouts/branches.sass @@ -237,7 +237,7 @@ .label-align vertical-align: middle - line-height: 1.4 + line-height: 1.5 // @todo refactor to status-icon module .status-icon diff --git a/app/templates/components/repos-list-item.hbs b/app/templates/components/repos-list-item.hbs index 8a408f1a..ba106a21 100644 --- a/app/templates/components/repos-list-item.hbs +++ b/app/templates/components/repos-list-item.hbs @@ -9,7 +9,18 @@ {{#if repo.slug}} {{#if lastBuild.id}}
- + + + {{#link-to "build" repo lastBuild.id class="last_build"}}{{lastBuild.number}}{{/link-to}}
@@ -18,7 +29,17 @@ {{/with}}
-
+
+
+
Duration:
{{format-duration repo.lastBuildDuration}}
@@ -27,7 +48,7 @@
-