Show when revisions are missing, but queued for processing
This commit is contained in:
parent
e68142cf91
commit
b8543859c9
3 changed files with 46 additions and 13 deletions
|
|
@ -275,13 +275,28 @@
|
|||
(td ,file-name))))
|
||||
target-derivations)))))))
|
||||
|
||||
(define (compare-unknown-commit commit)
|
||||
(define (compare-unknown-commit base-commit target-commit
|
||||
base-exists? target-exists?
|
||||
base-job target-job)
|
||||
(layout
|
||||
#:body
|
||||
`(,(header)
|
||||
(div (@ (class "container"))
|
||||
(h1 "Unknown commit")
|
||||
(p "No known revision with commit " (strong (samp ,commit)))))))
|
||||
,(if base-exists?
|
||||
'()
|
||||
`(p "No known revision with commit "
|
||||
(strong (samp ,base-commit))
|
||||
,(if (null? base-job)
|
||||
" and it is not currently queued for processing"
|
||||
" but it is queued for processing")))
|
||||
,(if target-exists?
|
||||
'()
|
||||
`(p "No known revision with commit "
|
||||
(strong (samp ,target-commit))
|
||||
,(if (null? target-job)
|
||||
" and it is not currently queued for processing"
|
||||
" but it is queued for processing")))))))
|
||||
|
||||
(define (error-page message)
|
||||
(layout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue