summaryrefslogtreecommitdiffstats
path: root/extensions/TagNewUsers
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/TagNewUsers')
-rw-r--r--extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl5
1 files changed, 4 insertions, 1 deletions
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 %])
</span>
[% 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
+%]
<span class="new_user">(First Patch)</span>
[% END %]