mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-02-19 02:19:16 +00:00
fix scm info showing - scm could appear later
This commit is contained in:
parent
7b6e41c43a
commit
9d3b69a474
@ -74,26 +74,27 @@ div.row
|
|||||||
DateTime(date=new Date(this.state.build.endDate))
|
DateTime(date=new Date(this.state.build.endDate))
|
||||||
else
|
else
|
||||||
| -
|
| -
|
||||||
|
- var rev = this.state.build.scm && this.state.build.scm.rev || {};
|
||||||
.col-md-6
|
.col-md-6
|
||||||
p
|
p
|
||||||
i.fa.fa-fw.fa-user
|
i.fa.fa-fw.fa-user
|
||||||
|
|
|
|
||||||
| Commit author
|
| Commit author
|
||||||
|
|
|
|
||||||
span= this.state.build.scm.rev.author
|
span= rev.author || '-'
|
||||||
p
|
p
|
||||||
i.fa.fa-fw.fa-code-fork
|
i.fa.fa-fw.fa-code-fork
|
||||||
|
|
|
|
||||||
| Revision
|
| Revision
|
||||||
|
|
|
|
||||||
span= this.state.build.scm.rev.id
|
span= rev.id || '-'
|
||||||
|
|
||||||
p
|
p
|
||||||
i.fa.fa-fw.fa-comment-o
|
i.fa.fa-fw.fa-comment-o
|
||||||
|
|
|
|
||||||
| Comment
|
| Comment
|
||||||
|
|
|
|
||||||
span= this.state.build.scm.rev.comment
|
span= rev.comment || '-'
|
||||||
|
|
||||||
h2
|
h2
|
||||||
i.fa.fa-fw.fa-terminal
|
i.fa.fa-fw.fa-terminal
|
||||||
|
Loading…
Reference in New Issue
Block a user