mirror of
https://git.zx2c4.com/cgit
synced 2025-08-29 22:19:27 +02:00
filter: add support for email filter
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
800380dde7
commit
a5e1553726
9 changed files with 47 additions and 2 deletions
2
ui-tag.c
2
ui-tag.c
|
@ -77,11 +77,13 @@ void cgit_print_tag(char *revname)
|
|||
}
|
||||
if (info->tagger) {
|
||||
html("<tr><td>tagged by</td><td>");
|
||||
cgit_open_filter(ctx.repo->email_filter, info->tagger_email);
|
||||
html_txt(info->tagger);
|
||||
if (info->tagger_email && !ctx.cfg.noplainemail) {
|
||||
html(" ");
|
||||
html_txt(info->tagger_email);
|
||||
}
|
||||
cgit_close_filter(ctx.repo->email_filter);
|
||||
html("</td></tr>\n");
|
||||
}
|
||||
html("<tr><td>tagged object</td><td class='sha1'>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue