Skip to content

Commit def67d4

Browse files
Peter Bengtssonmythmon
authored andcommitted
title feedback
1 parent 97aa2bd commit def67d4

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

src/App.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,7 @@ th > .column-extra {
145145
font-weight: normal;
146146
margin-right: 20px;
147147
}
148+
149+
h2 .reponame {
150+
color: #666;
151+
}

src/DeployPage.js

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ class DeployPage extends React.Component {
5151
async decodeShortCode() {
5252
const {
5353
history,
54-
location,
55-
match: {
56-
params,
57-
}
54+
match: { params }
5855
} = this.props;
5956
this.startLoad('parameters');
6057
try {
@@ -151,7 +148,19 @@ class DeployPage extends React.Component {
151148
<div>
152149
<h2 className="text-center">
153150
What's Deployed
154-
{owner && repo && ` on ${owner}/${repo}`}?
151+
{owner && repo && (
152+
<span>
153+
{' '}
154+
on{' '}
155+
<a
156+
href={`https://github.com/${owner}/${repo}`}
157+
className="reponame"
158+
>
159+
{owner}/{repo}
160+
</a>
161+
</span>
162+
)}
163+
?
155164
</h2>
156165
{error && <div className="alert alert-danger">{error.toString()}</div>}
157166
{this.isLoading() ? (

src/SetupPage.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ export default class SetupPage extends React.Component {
88
render() {
99
return (
1010
<div>
11-
<h2 className="text-center">
12-
What's Deployed
13-
</h2>
11+
<h2 className="text-center">What's Deployed</h2>
1412
<SetupFormWithRouter />
1513
<PreviousEnvironments />
1614
<WhatIsIt />
@@ -176,7 +174,7 @@ class PreviousEnvironments extends React.Component {
176174
<ul>
177175
{environments.map(env => (
178176
<li key={env.shortlink}>
179-
<Link to={`/s/${env.shortlink}`}>
177+
<Link to={`/s/${env.shortlink}/${env.owner}/${env.repo}`}>
180178
{env.owner}/{env.repo}
181179
</Link>
182180
<span className="names">

0 commit comments

Comments
 (0)