From 322a4bc30917741cae30647165670b94f517ebf9 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Tue, 6 Oct 2009 20:33:04 +0200 Subject: ui-tag: make output more similar to commit view Signed-off-by: Lars Hjemli --- ui-tag.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ui-tag.c') 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("\n"); - htmlf("\n", sha1_to_hex(sha1)); if (info->tagger_date > 0) { - html("\n"); } if (info->tagger) { - html("\n"); } - html("\n"); if (ctx.repo->snapshots) @@ -90,10 +90,10 @@ void cgit_print_tag(char *revname) print_tag_content(info->msg); } else { html("
Tag name"); + htmlf("
tag name"); html_txt(revname); htmlf(" (%s)
Tag date"); + html("
tag date"); cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time); html("
Tagged by"); + html("
tagged by"); html_txt(info->tagger); if (info->tagger_email && !ctx.cfg.noplainemail) { html(" "); @@ -81,7 +81,7 @@ void cgit_print_tag(char *revname) } html("
Tagged object"); + html("
tagged object"); cgit_object_link(tag->tagged); html("
\n"); - htmlf("\n"); - html("\n"); if (ctx.repo->snapshots) -- cgit v1.2.3-70-g09d2
Tag name"); + htmlf("
tag name"); html_txt(revname); html("
Tagged object"); + html("
Tagged object"); cgit_object_link(obj); html("