diff options
author | bugreport%peshkin.net <> | 2005-02-21 02:03:09 +0100 |
---|---|---|
committer | bugreport%peshkin.net <> | 2005-02-21 02:03:09 +0100 |
commit | 30a52319c024fefb2b4e4aa7bd974e4af7af30cd (patch) | |
tree | 4ee72b234e27753d291454020d97cc03e8f51a94 /template | |
parent | c1d16e426c2d1f2fe5563c0d20b3b8eb256d8c77 (diff) | |
download | bugzilla-30a52319c024fefb2b4e4aa7bd974e4af7af30cd.tar.gz bugzilla-30a52319c024fefb2b4e4aa7bd974e4af7af30cd.tar.xz |
Bug 252272: Allow extremely large attachments to be stored locally
r=wurblzap.a=justdave
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 12 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 82ad73ce1..43af6e638 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -65,6 +65,18 @@ <input type="file" id="data" name="data" size="50"> </td> </tr> + [% IF Param("maxlocalattachment") %] + <tr> + <th>BigFile:</th> + <td> + <input type="checkbox" id="bigfile" + name="bigfile" value="bigfile"> + <label for="bigfile"> + Big File - Stored locally and may be purged + </label> + </td> + </tr> + [% END %] <tr> <th><label for="description">Description:</label></th> <td> diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 6a29f975d..ac2cba6d3 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -156,6 +156,10 @@ [% title = "Access Denied" %] You are not authorized to access this attachment. + [% ELSIF error == "attachment_removed" %] + [% title = "Attachment Removed" %] + The attachment you are attempting to access has been removed. + [% ELSIF error == "bug_access_denied" %] [% title = "Access Denied" %] You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. @@ -604,6 +608,11 @@ [% title = "Invalid Keyword Name" %] You may not use commas or whitespace in a keyword name. + [% ELSIF error == "local_file_too_large" %] + [% title = "Local File Too Large" %] + Local file uploads must not exceed + [% Param('maxlocalattachment') %] MB in size. + [% ELSIF error == "login_needed_for_password_change" %] [% title = "Login Name Required" %] You must enter a login name when requesting to change your password. |