X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/23296ad648c0e2a9e3cf40a3de322b10ad25cce3..31665579c2779669c0cc56b8eb63f162b7e165df:/ui-tag.c?ds=sidebyside
diff --git a/ui-tag.c b/ui-tag.c
index ab2c66d..0e056e0 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -53,16 +53,21 @@ void cgit_print_tag(char *revname)
return;
}
html("
\n");
- htmlf("| Tag name | %s (%s) |
\n",
- revname, sha1_to_hex(sha1));
+ htmlf("| Tag name | ");
+ html_txt(revname);
+ htmlf(" (%s) |
\n", sha1_to_hex(sha1));
if (info->tagger_date > 0) {
html("| Tag date | ");
- cgit_print_date(info->tagger_date, FMT_LONGDATE);
+ cgit_print_date(info->tagger_date, FMT_LONGDATE, ctx.cfg.local_time);
html(" |
\n");
}
if (info->tagger) {
html("| Tagged by | ");
html_txt(info->tagger);
+ if (info->tagger_email) {
+ html(" ");
+ html_txt(info->tagger_email);
+ }
html(" |
\n");
}
html("| Tagged object | ");
@@ -70,6 +75,15 @@ void cgit_print_tag(char *revname)
html(" |
\n");
html("
\n");
print_tag_content(info->msg);
- }
+ } else {
+ html("\n");
+ htmlf("| Tag name | ");
+ html_txt(revname);
+ html(" |
\n");
+ html("| Tagged object | ");
+ cgit_object_link(obj);
+ html(" |
\n");
+ html("
\n");
+ }
return;
}