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-Tag: v1.6.2-rc0~189^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4a24bfc22081a6c2771b62d464222f81c470192c;p=git.git 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/gitweb.perl b/gitweb/gitweb.perl index 951739210..e01e1afe9 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4645,7 +4645,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 "";