summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-03-30 19:27:05 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-03-30 19:28:27 +0200
commited096349eefeff5d5571eceb853a4a5f6eda7260 (patch)
treecea30c699673579a952f92d53ceaffe0facaaf33
parentdc47d6d15d770daf245ea9c7ad3f018cb0a878ee (diff)
view/html: index: Include list of recent and priority bugs.
Don't use JavaScript for this.
-rw-r--r--mumi/web/view/html.scm9
1 files changed, 2 insertions, 7 deletions
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm
index 2161b63..a0567f7 100644
--- a/mumi/web/view/html.scm
+++ b/mumi/web/view/html.scm
@@ -173,14 +173,9 @@
(th "Status")))
(tbody
(tr (@ (class "bg-light")) (th (@ (colspan 4)) "Recent activity"))
- (tr (@ (id "snippet-recent"))
- (td (@ (colspan 4)) (img (@ (src "/img/spin.gif")))))
+ ,@(list-of-bugs (recent-bugs 10))
(tr (@ (class "bg-light")) (th (@ (colspan 4)) "Priority bugs"))
- (tr (@ (id "snippet-priority"))
- (td (@ (colspan 4)) (img (@ (src "/img/spin.gif")))))))
- (script
- (@ (type "text/javascript")
- (src "/js/mumi.js")))))))
+ ,@(priority-bugs)))))))
(define (help)
(layout