mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
Update build details - show author
This commit is contained in:
parent
34c170500a
commit
0531b105db
@ -16,9 +16,15 @@ export class Details extends Component {
|
||||
|
||||
<section className={styles.message} style={{ whiteSpace: "pre-line" }}>
|
||||
{build.message}
|
||||
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<div className={styles.author}>
|
||||
<img src={build.author_avatar} />
|
||||
<span>{build.author}</span>
|
||||
</div>
|
||||
|
||||
<BuildTime
|
||||
start={build.started_at || build.created_at}
|
||||
finish={build.finished_at}
|
||||
|
@ -15,3 +15,20 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.author {
|
||||
display: flex;
|
||||
height: 30px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.author img {
|
||||
border-radius: 50%;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.author span {
|
||||
font-size: 14px;
|
||||
}
|
@ -17,7 +17,7 @@ export class Item extends Component {
|
||||
return (
|
||||
<div className={styles.item}>
|
||||
<div className={styles.icon}>
|
||||
<img src={build.author_avatar} />
|
||||
<img src={build.author_avatar} title={build.author} />
|
||||
</div>
|
||||
|
||||
<div className={styles.body}>
|
||||
|
@ -99,17 +99,17 @@
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-left: 10px;
|
||||
margin-right: 20px;
|
||||
max-width: 22px;
|
||||
min-width: 22px;
|
||||
width: 22px;
|
||||
margin-left: 8px;
|
||||
margin-right: 18px;
|
||||
max-width: 26px;
|
||||
min-width: 26px;
|
||||
width: 26px;
|
||||
}
|
||||
|
||||
.icon img {
|
||||
border-radius: 50%;
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
}
|
||||
|
||||
.status {
|
||||
|
Loading…
Reference in New Issue
Block a user