diff options
author | Zuul <zuul@review.opendev.org> | 2019-05-16 20:41:49 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2019-05-16 20:41:49 +0000 |
commit | 190129623994a4f1472c1785057427d39d359edc (patch) | |
tree | 2381709721fa1ec29987f4cb90b59375b71ba7e4 /web | |
parent | 34bfeaadfa8361b99246d660773fa80cb2661616 (diff) | |
parent | d6250e9c558b4e8a0106e65dad83a22d883abb34 (diff) | |
download | zuul-190129623994a4f1472c1785057427d39d359edc.tar.gz |
Merge "web: add tags to jobs list"
Diffstat (limited to 'web')
-rw-r--r-- | web/src/containers/jobs/Jobs.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/src/containers/jobs/Jobs.jsx b/web/src/containers/jobs/Jobs.jsx index f5adafddf..aa670f7cd 100644 --- a/web/src/containers/jobs/Jobs.jsx +++ b/web/src/containers/jobs/Jobs.jsx @@ -18,6 +18,7 @@ import { connect } from 'react-redux' import { Link } from 'react-router-dom' import { Checkbox, + Badge, Form, FormGroup, FormControl, @@ -77,6 +78,12 @@ class JobsList extends React.Component { {job.description && ( <span style={{marginLeft: '10px'}}>{job.description}</span> )} + {job.tags && job.tags.map((tag, idx) => ( + <Badge + key={idx} + pullRight> + {tag} + </Badge>))} </React.Fragment>), icon: 'fa fa-cube', state: { |