summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl10
1 files changed, 4 insertions, 6 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index f9c93efd1..54ae9bec0 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -922,12 +922,10 @@
subtitle = sub.join(", ")
collapsed = active_attachments == 0
%]
- [% INCLUDE bug_modal/attachments.html.tmpl %]
- [% IF obsolete_attachments %]
- <div id="attachments-actions">
- <button type="button" id="attachments-obsolete-btn" class="minor">Show Obsolete Attachments</button>
- </div>
- [% END %]
+ [% INCLUDE bug_modal/attachments.html.tmpl
+ active_attachments = active_attachments
+ obsolete_attachments = obsolete_attachments
+ %]
[% END %]
[% END %]