From 397050be29b557b3312094e325396849e86036eb Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 12 Aug 2015 12:09:40 +0800 Subject: Bug 1193590 - Warning about obsolete patches on an unassigned bug --- .../BMO/template/en/default/hook/attachment/list-warnings.html.tmpl | 2 +- .../template/en/default/hook/bug_modal/attachments-warnings.html.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/BMO/template/en/default/hook') diff --git a/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl b/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl index 11998e12f..bc4480084 100644 --- a/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl +++ b/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl @@ -8,7 +8,7 @@ [% RETURN UNLESS user.in_group('editbugs'); - RETURN UNLESS bug.attachments.size && bug.is_unassigned && bug.has_patch; + RETURN UNLESS bug.attachments.size && bug.is_unassigned && bug.has_current_patch; %] diff --git a/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl index ca2a5a58c..b00eabc1f 100644 --- a/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl @@ -8,7 +8,7 @@ [% RETURN UNLESS user.in_group('editbugs'); - RETURN UNLESS bug.attachments.size && bug.is_unassigned && bug.has_patch; + RETURN UNLESS bug.attachments.size && bug.is_unassigned && bug.has_current_patch; %]
-- cgit v1.2.3-24-g4f1b