ui-tag: show the taggers email

If it's specified there's no point in hiding it.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2008-09-15 22:40:02 +02:00
parent a8305a9543
commit a608ff7ba3

View File

@ -63,6 +63,10 @@ void cgit_print_tag(char *revname)
if (info->tagger) { if (info->tagger) {
html("<tr><td>Tagged by</td><td>"); html("<tr><td>Tagged by</td><td>");
html_txt(info->tagger); html_txt(info->tagger);
if (info->tagger_email) {
html(" ");
html_txt(info->tagger_email);
}
html("</td></tr>\n"); html("</td></tr>\n");
} }
html("<tr><td>Tagged object</td><td>"); html("<tr><td>Tagged object</td><td>");