change log view from table to divs
authorCillian de Roiste <cillian.deroiste@gmail.com>
Sat, 26 Jan 2008 14:52:30 +0000 (14:52 +0000)
committerCillian de Roiste <cillian.deroiste@gmail.com>
Sat, 26 Jan 2008 14:52:30 +0000 (14:52 +0000)
src/log.c

index ccd3379..de1670c 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -126,6 +126,7 @@ webgit_log_table (struct webgit_query* query, const char* object, int count, int
       html_list_append (table,
                         html (
                               html_tag ("div",
+                                        html_attr ("id", "commit"),
                                         html_attr ("class", (row & 1) ? "odd" : "even")
                                         ),
                               html(html_tag ("div",
@@ -189,7 +190,7 @@ webgit_log_table (struct webgit_query* query, const char* object, int count, int
                                      html(html_tag ("pre"),
                                            webgit_object_commit_message_parse (commit)
                                           )
-                                     ),
+                                     )
                                 )
                           );