]> ruin.nu Git - yawbih.git/commitdiff
Added footer to the list revs page
authorMichael Andreen <harv@ruin.nu>
Mon, 13 Dec 2004 13:55:35 +0000 (13:55 +0000)
committerMichael Andreen <harv@ruin.nu>
Sat, 26 Jan 2008 11:33:18 +0000 (12:33 +0100)
Main.hs

diff --git a/Main.hs b/Main.hs
index 418c16820b88fafff475bcc544eee02f227bcabd..3fcb66788db970fcf0bc036539e124470858634e 100644 (file)
--- a/Main.hs
+++ b/Main.hs
@@ -78,10 +78,12 @@ e _ = True
 
 listRevs db key = do 
        list <- io $ getList db key 
-       standardQuery key $ table $ do
-               tr $ mapM (\header -> th (text header))
-                       ["Id", "Date", "Author", "Comment"]
-               mapM (revRow db key) list
+       standardQuery key $ do
+               table $ do
+                       tr $ mapM (\header -> th (text header))
+                               ["Id", "Date", "Author", "Comment"]
+                       mapM (revRow db key) list
+               footer db key
 
 listKeywords db = do 
        list <- io $ listKeys db