Chris Morgan
›
Git
›
gitweb
› commitdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
716b1f7
)
commit
grep
author
committer
pickaxe
?
search:
re
Use <th> where appropriate
author
Chris Morgan
<me@chrismorgan.info>
Sat, 8 Jan 2022 04:54:18 +0000
committer
Chris Morgan
<me@chrismorgan.info>
Sat, 8 Jan 2022 06:05:57 +0000
gitweb.cgi
patch
|
blob
|
history
diff --git
a/gitweb.cgi
b/gitweb.cgi
index f57ed5a65700e539c8a0054866873f39ddec79e7..b182f4cfbbd5a4f90a304745aa6bae4824f278b9 100755
(executable)
--- a/
gitweb.cgi
+++ b/
gitweb.cgi
@@
-4583,7
+4583,7
@@
sub git_print_authorship_rows {
@people = ('author', 'committer') unless @people;
foreach my $who (@people) {
my %wd = parse_date($co->{"${who}_epoch"}, $co->{"${who}_tz"});
@people = ('author', 'committer') unless @people;
foreach my $who (@people) {
my %wd = parse_date($co->{"${who}_epoch"}, $co->{"${who}_tz"});
- print "<tr><t
d>$who</td
><td>" .
+ print "<tr><t
h>$who</th
><td>" .
format_search_author($co->{"${who}_name"}, $who,
esc_html($co->{"${who}_name"})) . " " .
format_search_author($co->{"${who}_email"}, $who,
format_search_author($co->{"${who}_name"}, $who,
esc_html($co->{"${who}_name"})) . " " .
format_search_author($co->{"${who}_email"}, $who,
@@
-6626,12
+6626,12
@@
sub git_summary {
print "<div class=\"title\"> </div>\n";
print "<table class=\"projects_list\">\n" .
print "<div class=\"title\"> </div>\n";
print "<table class=\"projects_list\">\n" .
- "<tr id=\"metadata_desc\"><t
d>description</td
><td>" . esc_html($descr) . "</td></tr>\n";
+ "<tr id=\"metadata_desc\"><t
h>description</th
><td>" . esc_html($descr) . "</td></tr>\n";
if ($owner and not $omit_owner) {
if ($owner and not $omit_owner) {
- print "<tr id=\"metadata_owner\"><t
d>owner</td
><td>" . esc_html($owner) . "</td></tr>\n";
+ print "<tr id=\"metadata_owner\"><t
h>owner</th
><td>" . esc_html($owner) . "</td></tr>\n";
}
if (defined $cd{'rfc2822'}) {
}
if (defined $cd{'rfc2822'}) {
- print "<tr id=\"metadata_lchange\"><t
d>last change</td
>" .
+ print "<tr id=\"metadata_lchange\"><t
h>last change</th
>" .
"<td>".format_timestamp_html(\%cd)."</td></tr>\n";
}
"<td>".format_timestamp_html(\%cd)."</td></tr>\n";
}
@@
-6654,7
+6654,7
@@
sub git_summary {
# without ability to add tags, don't show if there are none
my $cloud = git_populate_project_tagcloud($ctags);
print "<tr id=\"metadata_ctags\">" .
# without ability to add tags, don't show if there are none
my $cloud = git_populate_project_tagcloud($ctags);
print "<tr id=\"metadata_ctags\">" .
- "<t
d>content tags</td
>" .
+ "<t
h>content tags</th
>" .
"<td>".git_show_project_tagcloud($cloud, 48)."</td>" .
"</tr>\n";
}
"<td>".git_show_project_tagcloud($cloud, 48)."</td>" .
"</tr>\n";
}
@@
-6725,7
+6725,7
@@
sub git_tag {
print "<div class=\"title_text\">\n" .
"<table class=\"object_header\">\n" .
"<tr>\n" .
print "<div class=\"title_text\">\n" .
"<table class=\"object_header\">\n" .
"<tr>\n" .
- "<t
d>object</td
>\n" .
+ "<t
h>object</th
>\n" .
"<td>" . $cgi->a({-class => "list", -href => href(action=>$tag{'type'}, hash=>$tag{'object'})},
$tag{'object'}) . "</td>\n" .
"<td class=\"link\">" . $cgi->a({-href => href(action=>$tag{'type'}, hash=>$tag{'object'})},
"<td>" . $cgi->a({-class => "list", -href => href(action=>$tag{'type'}, hash=>$tag{'object'})},
$tag{'object'}) . "</td>\n" .
"<td class=\"link\">" . $cgi->a({-href => href(action=>$tag{'type'}, hash=>$tag{'object'})},
@@
-7602,9
+7602,9
@@
sub git_commit {
print "<div class=\"title_text\">\n" .
"<table class=\"object_header\">\n";
git_print_authorship_rows(\%co);
print "<div class=\"title_text\">\n" .
"<table class=\"object_header\">\n";
git_print_authorship_rows(\%co);
- print "<tr><t
d>commit</td
><td class=\"sha1\">$co{'id'}</td></tr>\n";
+ print "<tr><t
h>commit</th
><td class=\"sha1\">$co{'id'}</td></tr>\n";
print "<tr>" .
print "<tr>" .
- "<t
d>tree</td
>" .
+ "<t
h>tree</th
>" .
"<td class=\"sha1\">" .
$cgi->a({-href => href(action=>"tree", hash=>$co{'tree'}, hash_base=>$hash),
class => "list"}, $co{'tree'}) .
"<td class=\"sha1\">" .
$cgi->a({-href => href(action=>"tree", hash=>$co{'tree'}, hash_base=>$hash),
class => "list"}, $co{'tree'}) .
@@
-7621,7
+7621,7
@@
sub git_commit {
foreach my $par (@$parents) {
print "<tr>" .
foreach my $par (@$parents) {
print "<tr>" .
- "<t
d>parent</td
>" .
+ "<t
h>parent</th
>" .
"<td class=\"sha1\">" .
$cgi->a({-href => href(action=>"commit", hash=>$par),
class => "list"}, $par) .
"<td class=\"sha1\">" .
$cgi->a({-href => href(action=>"commit", hash=>$par),
class => "list"}, $par) .