From 4fdb6971705636255bf0f2a670db9e9ffc5df429 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 17 May 2012 17:00:27 +0800 Subject: Bug 756037: only show "first patch" on patches --- .../TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl b/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl index 316d381bb..8f4e9431d 100644 --- a/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl +++ b/extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl @@ -32,6 +32,9 @@ ELSE %][% comment.author.creation_age FILTER html %] day[% "s" IF comment.author (New to [% terms.Bugzilla %]) [% END %] -[% IF comment.is_about_attachment && comment.author.first_patch_bug_id == bug.id %] +[% IF comment.is_about_attachment + && comment.author.first_patch_bug_id == bug.id + && comment.attachment.ispatch +%] (First Patch) [% END %] -- cgit v1.2.3-24-g4f1b