aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-10-06 20:33:04 +0200
committerLars Hjemli <hjemli@gmail.com>2009-10-06 20:33:04 +0200
commit322a4bc30917741cae30647165670b94f517ebf9 (patch)
tree2f895e83921027cd70941aabd86fd9ea2521b38d
parent8cdccac758d976a8a92cc39b1581832a889e2058 (diff)
downloadcgit-322a4bc30917741cae30647165670b94f517ebf9.tar.gz
cgit-322a4bc30917741cae30647165670b94f517ebf9.tar.bz2
ui-tag: make output more similar to commit view
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r--ui-tag.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui-tag.c b/ui-tag.c
index cd353c2..39e4cb8 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -64,16 +64,16 @@ void cgit_print_tag(char *revname)
return;
}
html("<table class='commit-info'>\n");
- htmlf("<tr><td>Tag name</td><td>");
+ htmlf("<tr><td>tag name</td><td>");
html_txt(revname);
htmlf(" (%s)</td></tr>\n", sha1_to_hex(sha1));
if (info->tagger_date > 0) {
- html("<tr><td>Tag date</td><td>");
+ html("<tr><td>tag date</td><td>");
cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time);
html("</td></tr>\n");
}
if (info->tagger) {
- html("<tr><td>Tagged by</td><td>");
+ html("<tr><td>tagged by</td><td>");
html_txt(info->tagger);
if (info->tagger_email && !ctx.cfg.noplainemail) {
html(" ");
@@ -81,7 +81,7 @@ void cgit_print_tag(char *revname)
}
html("</td></tr>\n");
}
- html("<tr><td>Tagged object</td><td>");
+ html("<tr><td>tagged object</td><td class='sha1'>");
cgit_object_link(tag->tagged);
html("</td></tr>\n");
if (ctx.repo->snapshots)
@@ -90,10 +90,10 @@ void cgit_print_tag(char *revname)
print_tag_content(info->msg);
} else {
html("<table class='commit-info'>\n");
- htmlf("<tr><td>Tag name</td><td>");
+ htmlf("<tr><td>tag name</td><td>");
html_txt(revname);
html("</td></tr>\n");
- html("<tr><td>Tagged object</td><td>");
+ html("<tr><td>Tagged object</td><td class='sha1'>");
cgit_object_link(obj);
html("</td></tr>\n");
if (ctx.repo->snapshots)