diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Give the stub and tag rows their full width
Diffstat (limited to 'source/ui-tag.c')
-rw-r--r--source/ui-tag.c14
1 file changed, 7 insertions, 7 deletions
diff --git a/source/ui-tag.c b/source/ui-tag.c
index c384f91..656280e 100644
--- a/source/ui-tag.c
+++ b/source/ui-tag.c
@@ -19,7 +19,7 @@
static void print_object_row(struct object *obj)
{
- html("<tr><td>tagged object</td><td class='oid'>");
+ html("<tr><th>tagged object</th><td class='oid'>");
cgit_object_link(obj);
html("</td></tr>\n");
}
@@ -27,8 +27,8 @@ static void print_object_row(struct object *obj)
static void print_download_row(const char *revname)
{
html("<tr><th>download</th><td class='oid'>");
- cgit_print_snapshot_links(ctx.repo, revname, "<br/>");
- html("</td></tr>");
+ cgit_print_snapshot_links(ctx.repo, revname, "<br>");
+ html("</td></tr>\n");
}
/*
@@ -71,17 +71,17 @@ static void print_annotated_tag(const char *revname,
cgit_print_layout_start();
html("<table class='commit-info'>\n");
- html("<tr><td>tag name</td><td>");
+ html("<tr><th>tag name</th><td>");
html_txt(revname);
htmlf(" (<span class='oid'>%s</span>)</td></tr>\n", oid_to_hex(oid));
if (info->tagger_date > 0) {
- html("<tr><td>tag date</td><td>");
+ html("<tr><th>tag date</th><td>");
html_txt(show_date(info->tagger_date, info->tagger_tz,
cgit_date_mode(DATE_ISO8601)));
html("</td></tr>\n");
}
if (info->tagger) {
- html("<tr><td>tagged by</td><td>");
+ html("<tr><th>tagged by</th><td>");
cgit_open_filter(ctx.repo->email_filter, info->tagger_email,
"tag");
html_txt(info->tagger);
@@ -105,7 +105,7 @@ static void print_lightweight_tag(const char *revname, struct object *obj)
{
cgit_print_layout_start();
html("<table class='commit-info'>\n");
- html("<tr><td>tag name</td><td>");
+ html("<tr><th>tag name</th><td>");
html_txt(revname);
html("</td></tr>\n");
print_object_row(obj);