summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/template/en/default/hook')
-rw-r--r--extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl2
2 files changed, 2 insertions, 2 deletions
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;
%]
<tr class="bz_attach_footer">
<td colspan="[% show_attachment_flags ? 3 : 2 %]" id="unassigned_with_patches">
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;
%]
<div id="unassigned_with_patches">
<img src="extensions/BMO/web/images/sign_warning.png" width="16" height="16">