filter: add page source to email filter
Since the email filter is called from lots of places, the script might benefit from knowing the origin. That way it can modify its contents and/or size depending. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Esse commit está contido em:
2
ui-tag.c
2
ui-tag.c
@@ -77,7 +77,7 @@ 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);
|
||||
cgit_open_filter(ctx.repo->email_filter, info->tagger_email, "tag");
|
||||
html_txt(info->tagger);
|
||||
if (info->tagger_email && !ctx.cfg.noplainemail) {
|
||||
html(" ");
|
||||
|
||||
Referência em uma nova issue
Block a user