diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-10-06 20:33:04 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-10-06 20:33:04 +0200 |
commit | 322a4bc30917741cae30647165670b94f517ebf9 (patch) | |
tree | 2f895e83921027cd70941aabd86fd9ea2521b38d /ui-tag.c | |
parent | 8cdccac758d976a8a92cc39b1581832a889e2058 (diff) | |
download | cgit-322a4bc30917741cae30647165670b94f517ebf9.tar.gz cgit-322a4bc30917741cae30647165670b94f517ebf9.tar.bz2 cgit-322a4bc30917741cae30647165670b94f517ebf9.zip |
ui-tag: make output more similar to commit view
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-tag.c')
-rw-r--r-- | ui-tag.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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) |