diff options
author | Byron Jones <bjones@mozilla.com> | 2012-05-17 11:00:27 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-05-17 11:00:27 +0200 |
commit | 4fdb6971705636255bf0f2a670db9e9ffc5df429 (patch) | |
tree | fe4a3f0191d37aba4d956238f1aeb8b14499e10f | |
parent | 41513b56e105085d701591a7de9a13cb2310e02f (diff) | |
download | bugzilla-4fdb6971705636255bf0f2a670db9e9ffc5df429.tar.gz bugzilla-4fdb6971705636255bf0f2a670db9e9ffc5df429.tar.xz |
Bug 756037: only show "first patch" on patches
-rw-r--r-- | extensions/TagNewUsers/template/en/default/hook/bug/comments-user.html.tmpl | 5 |
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 %] |