X-Git-Url: https://git.chrismorgan.info/gitweb/blobdiff_plain/185c106939ed40c7d54225b405b32ecfc63dbfb3..3cca22ac8cb362e0187b9a609355db662b23f158:/gitweb.cgi diff --git a/gitweb.cgi b/gitweb.cgi index b182f4c..1de74b6 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -4310,10 +4310,10 @@ sub git_footer_html { insert_file($site_footer); } - print qq!\n!; if (defined $action && $action eq 'blame_incremental') { - print qq!\n!; + print qq!\n!; @@ -4321,17 +4321,20 @@ sub git_footer_html { my ($jstimezone, $tz_cookie, $datetime_class) = gitweb_get_feature('javascript-timezone'); - print qq!\n!; + print qq!\n!; } - print qq!};\n!. - qq!\n!; } print "\n" . @@ -4429,7 +4432,7 @@ sub git_print_page_nav { print "
\n" . (join " | ", map { $_ eq $current ? - $_ : $cgi->a({-href => ($arg{$_}{_href} ? $arg{$_}{_href} : href(%{$arg{$_}}))}, "$_") + $cgi->span({-class => "current"}, $_) : $cgi->a({-href => ($arg{$_}{_href} ? $arg{$_}{_href} : href(%{$arg{$_}}))}, "$_") } @navs); print "
\n$extra" if defined $extra; # pager or formats print "
\n"; @@ -4546,9 +4549,6 @@ sub format_timestamp_html { } my $localtime_format = '(%02d:%02d %s)'; - if ($date->{'hour_local'} < 6) { - $localtime_format = '(%02d:%02d %s)'; - } $strtime .= ' ' . sprintf($localtime_format, $date->{'hour_local'}, $date->{'minute_local'}, $date->{'tz_local'}); @@ -4682,11 +4682,6 @@ sub git_print_log { print format_log_line_html($line) . "
\n"; } - - if ($opts{'-final_empty_line'}) { - # end with single empty line - print "
\n" unless $skip_blank_line; - } } # return link target (what link points to) @@ -5928,13 +5923,12 @@ sub git_log_body { $cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") . " | " . $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree") . - "
\n" . "\n"; git_print_authorship(\%co, -tag => 'span'); - print "
\n\n"; + print "\n"; print "
\n"; - git_print_log($co{'comment'}, -final_empty_line=> 1); + git_print_log($co{'comment'}); print "
\n"; } if ($extra) { @@ -6624,7 +6618,6 @@ sub git_summary { git_header_html(); git_print_page_nav('summary','', $head); - print "
 
\n"; print "\n" . "\n"; if ($owner and not $omit_owner) { @@ -8018,7 +8011,7 @@ sub git_commitdiff { print "
\n"; if (@{$co{'comment'}} > 1) { print "
\n"; - git_print_log($co{'comment'}, -final_empty_line=> 1, -remove_title => 1); + git_print_log($co{'comment'}, -remove_title => 1); print "
\n"; # class="log" }
description" . esc_html($descr) . "