]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 332034 - Add New Attachment as an option for attachment.cgi when we are not passe...
authorSunil Joshi <joshi_sunil@in.com>
Thu, 19 Sep 2013 02:58:30 +0000 (12:58 +1000)
committerSimon Green <sgreen@redhat.com>
Thu, 19 Sep 2013 02:58:30 +0000 (12:58 +1000)
template/en/default/attachment/choose.html.tmpl

index c6b94d792b1545f630c5e5c7487e214ee624661f..9a82d7c86652bd7da920ead7f8965946dff26ea4 100644 (file)
@@ -7,7 +7,7 @@
   #%]
 
 [% PROCESS global/header.html.tmpl
-   title = "Locate attachment",
+   title = "Locate or Create Attachment",
    onload = "document.forms['choose-id'].id.focus()"
  %]
 
 </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 %]