summaryrefslogtreecommitdiffabout
path: root/ui-tag.c
authorLars Hjemli <hjemli@gmail.com>2008-09-15 20:40:02 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-09-15 20:40:02 (UTC)
commita608ff7ba371c2dddf9274de3a438bf74e2560f7 (patch) (unidiff)
tree123de14ef13a2ec6cb2890542396387e81954006 /ui-tag.c
parenta8305a9543969206aa7cec03948c5a19950eedb9 (diff)
downloadcgit-a608ff7ba371c2dddf9274de3a438bf74e2560f7.zip
cgit-a608ff7ba371c2dddf9274de3a438bf74e2560f7.tar.gz
cgit-a608ff7ba371c2dddf9274de3a438bf74e2560f7.tar.bz2
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>
Diffstat (limited to 'ui-tag.c') (more/less context) (ignore whitespace changes)
-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)
63 if (info->tagger) { 63 if (info->tagger) {
64 html("<tr><td>Tagged by</td><td>"); 64 html("<tr><td>Tagged by</td><td>");
65 html_txt(info->tagger); 65 html_txt(info->tagger);
66 if (info->tagger_email) {
67 html(" ");
68 html_txt(info->tagger_email);
69 }
66 html("</td></tr>\n"); 70 html("</td></tr>\n");
67 } 71 }
68 html("<tr><td>Tagged object</td><td>"); 72 html("<tr><td>Tagged object</td><td>");