Skip to content

Commit

Permalink
Merge pull request #6 from taban03/development
Browse files Browse the repository at this point in the history
Add commit url
  • Loading branch information
taban03 authored Oct 11, 2019
2 parents 0690a5c + bb13baa commit d06a067
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/components/Tile/Tile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default class Tile extends Component {

render() {
const { tile } = this.props;
const repoUrl = <Link href={`https://github.com/zowe/${ tile.repository}`}>
const repoUrl = <Link href={`https://github.com/zowe/${tile.repository}`}>
{`https://github.com/zowe/${ tile.repository}`}
</Link>
return (
Expand All @@ -91,9 +91,8 @@ export default class Tile extends Component {
{tile.name}
</CardTitle>
<CardBlock className="commit-hash">
Commit Hash:
<Link href="http://example.com">
{this.shortenCommithash(tile.currentRelease.commitHash)}
<Link href={`https://github.com/zowe/${tile.repository}/commit/${tile.currentRelease.commitHash}`}>
Release Commit Url
</Link>
</CardBlock>
<CardBlock className="tile-notes">{tile.currentRelease.notes}</CardBlock>
Expand Down

0 comments on commit d06a067

Please sign in to comment.