mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-02-14 00:39: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))
|
||||
else
|
||||
| -
|
||||
- var rev = this.state.build.scm && this.state.build.scm.rev || {};
|
||||
.col-md-6
|
||||
p
|
||||
i.fa.fa-fw.fa-user
|
||||
|
|
||||
| Commit author
|
||||
|
|
||||
span= this.state.build.scm.rev.author
|
||||
span= rev.author || '-'
|
||||
p
|
||||
i.fa.fa-fw.fa-code-fork
|
||||
|
|
||||
| Revision
|
||||
|
|
||||
span= this.state.build.scm.rev.id
|
||||
span= rev.id || '-'
|
||||
|
||||
p
|
||||
i.fa.fa-fw.fa-comment-o
|
||||
|
|
||||
| Comment
|
||||
|
|
||||
span= this.state.build.scm.rev.comment
|
||||
span= rev.comment || '-'
|
||||
|
||||
h2
|
||||
i.fa.fa-fw.fa-terminal
|
||||
|
Loading…
Reference in New Issue
Block a user