summaryrefslogtreecommitdiff
path: root/web/src/pages/Jobs.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/pages/Jobs.jsx')
-rw-r--r--web/src/pages/Jobs.jsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/src/pages/Jobs.jsx b/web/src/pages/Jobs.jsx
index 8ec0e3d72..d4ef1553f 100644
--- a/web/src/pages/Jobs.jsx
+++ b/web/src/pages/Jobs.jsx
@@ -58,6 +58,12 @@ class JobsPage extends React.Component {
const headerFormat = value => <Table.Heading>{value}</Table.Heading>
const cellFormat = (value) => (
<Table.Cell>{value}</Table.Cell>)
+ const cellJobFormat = (value) => (
+ <Table.Cell>
+ <Link to={this.props.tenant.linkPrefix + '/job/' + value}>
+ {value}
+ </Link>
+ </Table.Cell>)
const cellBuildFormat = (value) => (
<Table.Cell>
<Link to={this.props.tenant.linkPrefix + '/builds?job_name=' + value}>
@@ -69,6 +75,9 @@ class JobsPage extends React.Component {
myColumns.forEach(column => {
let formatter = cellFormat
let prop = column
+ if (column === 'name') {
+ formatter = cellJobFormat
+ }
if (column === 'Last builds') {
prop = 'name'
formatter = cellBuildFormat