diff options
author | Tristan Cacqueray <tdecacqu@redhat.com> | 2019-01-29 05:15:43 +0000 |
---|---|---|
committer | Tristan Cacqueray <tdecacqu@redhat.com> | 2019-04-03 08:39:40 +0000 |
commit | d6250e9c558b4e8a0106e65dad83a22d883abb34 (patch) | |
tree | 7280a70da7af854e404ff47263599853433b0279 | |
parent | df79fc8802c5bdb2490fd13fde7f214de9c09028 (diff) | |
download | zuul-d6250e9c558b4e8a0106e65dad83a22d883abb34.tar.gz |
web: add tags to jobs list
Change-Id: Ibb2ab9d001877f68094c75dc77c2fddaeedd51bf
-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 7f28433c7..8462d468f 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: { |