summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-09-15 20:40:02 +0000
committerLars Hjemli <hjemli@gmail.com>2008-09-15 20:40:02 +0000
commita608ff7ba371c2dddf9274de3a438bf74e2560f7 (patch)
tree123de14ef13a2ec6cb2890542396387e81954006
parenta8305a9543969206aa7cec03948c5a19950eedb9 (diff)
downloadcgit-a608ff7ba371c2dddf9274de3a438bf74e2560f7.tar
cgit-a608ff7ba371c2dddf9274de3a438bf74e2560f7.tar.gz
cgit-a608ff7ba371c2dddf9274de3a438bf74e2560f7.zip
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>
-rw-r--r--ui-tag.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui-tag.c b/ui-tag.c
index b4db32e..3aea87d 100644
--- a/ui-tag.c
+++ b/ui-tag.c
@@ -63,6 +63,10 @@ void cgit_print_tag(char *revname)
if (info->tagger) {
html("<tr><td>Tagged by</td><td>");
html_txt(info->tagger);
+ if (info->tagger_email) {
+ html(" ");
+ html_txt(info->tagger_email);
+ }
html("</td></tr>\n");
}
html("<tr><td>Tagged object</td><td>");