summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-01-17 19:06:23 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-01-17 19:06:23 +0100
commitbf6d6d8c00c8026825f5134a437e2302d6a6d1be (patch)
treeb08f70a79ace8c9cdfbe1beefa417bc878bf9202 /template/en/default/attachment
parent49b2e80891800a6e0badfbf1d27625d38baafa36 (diff)
parente4206816f0392538934de85323b9f0616cd5fcd7 (diff)
downloadbugzilla-bf6d6d8c00c8026825f5134a437e2302d6a6d1be.tar.gz
bugzilla-bf6d6d8c00c8026825f5134a437e2302d6a6d1be.tar.xz
merged with bugzilla/4.2
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/list.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 4ad5e528a..fa8e4774e 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -19,7 +19,7 @@
# Frédéric Buclin <LpSolit@gmail.com>
#%]
-[% RETURN UNLESS attachments.size || Param("maxattachmentsize") %]
+[% RETURN UNLESS attachments.size || Param("maxattachmentsize") || Param("maxlocalattachment") %]
<script type="text/javascript">
<!--
@@ -160,7 +160,7 @@ function toggle_display(link) {
[% END %]
</span>
[% END %]
- [% IF Param("maxattachmentsize") %]
+ [% IF Param("maxattachmentsize") || Param("maxlocalattachment") %]
<a href="attachment.cgi?bugid=[% bugid %]&amp;action=enter">Add an attachment</a>
(proposed patch, testcase, etc.)
[% END %]