From: Jakub Narebski Date: Tue, 9 Dec 2008 22:46:16 +0000 (+0100) Subject: gitweb: Move 'lineno' id from link to row element in git_blame X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/dae73140f5764108d779c335845ffd7e43913b112d9627a6819d9b9000c1918a gitweb: Move 'lineno' id from link to row element in git_blame Move l ID from link element inside table row (inside cell element for column with line numbers), to encompassing table row element. It was done to make it easier to manipulate result HTML with DOM, and to be able write 'blame_incremental' view with the same, or nearly the same result. Signed-off-by: Jakub Narebski Acked-by: Luben Tuikov Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 912fdfa..e319f7b 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -4646,7 +4646,7 @@ HTML if ($group_size) { $current_color = ++$current_color % $num_colors; } - print "\n"; + print "\n"; if ($group_size) { print " $parent_commit); print ""; print $cgi->a({ -href => "$blamed#l$orig_lineno", - -id => "l$lineno", -class => "linenr" }, esc_html($lineno)); print "";