unknown
error-page
issue-page
- list-of-matching-bugs))
+ list-of-matching-bugs
+ list-of-recent-issues))
(define (bug-subject* bug)
(or (bug-subject bug) "(no subject)"))
(bugs-by-severity "important" "open"))
(lambda (a b) (< (bug-num a) (bug-num b))))))
+(define* (list-of-recent-issues #:optional (max 100))
+ (layout
+ #:body
+ `(,(header #:search-bar? #f)
+ (div
+ (@ (class "container"))
+ (h1 "Recent issues")
+ (table
+ (@ (class "table table-borderless table-hover js-sort-table"))
+ (thead
+ (tr (@ (class "heading"))
+ (th (@ (class "js-sort-number")) "ID")
+ (th "Subject")
+ (th "Date submitted")
+ (th "Status")))
+ (tbody
+ ,@(list-of-bugs (recent-bugs max))))))))
+
(define (list-of-matching-bugs query bugs)
(layout
#:body