diff options
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/attachment/list.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 2 |
2 files changed, 3 insertions, 3 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 %]&action=enter">Add an attachment</a> (proposed patch, testcase, etc.) [% END %] diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index ee19ab5d6..3fdf56472 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -590,7 +590,7 @@ TUI_hide_default('attachment_text_field'); </tr> [% END %] - [% IF Param("maxattachmentsize") %] + [% IF Param("maxattachmentsize") || Param("maxlocalattachment") %] <tr> <th>Attachment:</th> <td colspan="3"> |