summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorSunil Joshi <joshi_sunil@in.com>2013-09-19 04:58:30 +0200
committerSimon Green <sgreen@redhat.com>2013-09-19 04:58:30 +0200
commitb933a4e928489eb3fd91ddacfba041fdede20055 (patch)
treedfe33fefbe238738f90a56fdde2b8cccf6434e39 /template/en/default/attachment
parent674e70900d55c2d403ce88f9b6a0761b778ef104 (diff)
downloadbugzilla-b933a4e928489eb3fd91ddacfba041fdede20055.tar.gz
bugzilla-b933a4e928489eb3fd91ddacfba041fdede20055.tar.xz
Bug 332034 - Add New Attachment as an option for attachment.cgi when we are not passed any parameters\nr=simon, a=glob
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/choose.html.tmpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/template/en/default/attachment/choose.html.tmpl b/template/en/default/attachment/choose.html.tmpl
index c6b94d792..9a82d7c86 100644
--- a/template/en/default/attachment/choose.html.tmpl
+++ b/template/en/default/attachment/choose.html.tmpl
@@ -7,7 +7,7 @@
#%]
[% PROCESS global/header.html.tmpl
- title = "Locate attachment",
+ title = "Locate or Create Attachment",
onload = "document.forms['choose-id'].id.focus()"
%]
@@ -20,10 +20,16 @@
</form>
<form method="get" action="show_bug.cgi">
- <p>Or, access it from the list of attachments in its associated [% terms.bug %] report:</p>
+ <p>Or, Access it from the list of attachments in its associated [% terms.bug %] report:</p>
<p>[% terms.Bug %] ID: <input name="id" size="6">
<input type="submit" name="action" value="View" id="action">
</p>
</form>
+<form method="get" action="attachment.cgi">
+ <p>Or, Create a new attachment by entering its [% terms.bug %] Id below:</p>
+ <p>[% terms.Bug %] ID: <input name="bugid" size="6">
+ <button name="action" value="enter" id="action">New Attachment</button>
+ </p>
+</form>
[% PROCESS global/footer.html.tmpl %]