[PATCH 1 of 3] gitweb: wrap table rows of annotate view into a <tbody> element

Denis Laxalde denis at laxalde.org
Thu Jun 22 14:40:10 UTC 2017


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1498057341 -7200
#      Wed Jun 21 17:02:21 2017 +0200
# Node ID a67c2d37caf130131d7a5c659c9ec1428ee75451
# Parent  6d79e9109908c2cb468c9eeaf8869aa1926fbea8
# Available At http://hg.logilab.org/users/dlaxalde/hg
#              hg pull http://hg.logilab.org/users/dlaxalde/hg -r a67c2d37caf1
gitweb: wrap table rows of annotate view into a <tbody> element

We will use this element to hook data attribute for the followlines.js script
to be plugged in annotate view. Also this gets symmetrical with paper style
which already has a <tbody> element.

diff --git a/mercurial/templates/gitweb/fileannotate.tmpl b/mercurial/templates/gitweb/fileannotate.tmpl
--- a/mercurial/templates/gitweb/fileannotate.tmpl
+++ b/mercurial/templates/gitweb/fileannotate.tmpl
@@ -66,7 +66,9 @@ annotate |
 </div>
 <div class="page_body">
 <table>
+<tbody>
 {annotate%annotateline}
+</tbody>
 </table>
 </div>
 


More information about the Mercurial-devel mailing list