diff --git a/app/components/builds-item.coffee b/app/components/builds-item.coffee index 1cdd1e8e..52be7376 100644 --- a/app/components/builds-item.coffee +++ b/app/components/builds-item.coffee @@ -1,5 +1,6 @@ `import Ember from 'ember'` `import { gravatarImage } from 'travis/utils/urls'` +`import { githubCommit as githubCommitUrl } from 'travis/utils/urls'` BuildsItemComponent = Ember.Component.extend classNameBindings: ['build.state'] @@ -9,4 +10,8 @@ BuildsItemComponent = Ember.Component.extend gravatarImage(@get('build.commit.authorEmail'), 40) ).property('build.commit.authorEmail') + urlGithubCommit: (-> + githubCommitUrl(@get('build.repo.slug'), @get('build.commit.sha')) + ).property('build.commit.sha') + `export default BuildsItemComponent` diff --git a/app/templates/components/builds-item.hbs b/app/templates/components/builds-item.hbs index ce555266..c2bbbd1b 100644 --- a/app/templates/components/builds-item.hbs +++ b/app/templates/components/builds-item.hbs @@ -31,8 +31,8 @@ {{/link-to}} {{/if}}

-

- +

+ {{format-sha build.commit.sha}} diff --git a/app/templates/repo.hbs b/app/templates/repo.hbs index 0d140b13..baa24ed0 100644 --- a/app/templates/repo.hbs +++ b/app/templates/repo.hbs @@ -23,7 +23,6 @@ {{view 'repo-show-tabs'}}

-

Hello

{{outlet}}