summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-05-17 11:00:27 +0200
committerByron Jones <bjones@mozilla.com>2012-05-17 11:00:27 +0200
commit4fdb6971705636255bf0f2a670db9e9ffc5df429 (patch)
treefe4a3f0191d37aba4d956238f1aeb8b14499e10f /extensions
parent41513b56e105085d701591a7de9a13cb2310e02f (diff)
downloadbugzilla-4fdb6971705636255bf0f2a670db9e9ffc5df429.tar.gz
bugzilla-4fdb6971705636255bf0f2a670db9e9ffc5df429.tar.xz
Bug 756037: only show "first patch" on patches
Diffstat (limited to 'extensions')
-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 %]