]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 31117 - should have a "submit only my comments" option on midair collision
authordkl%redhat.com <>
Thu, 18 Dec 2008 15:42:45 +0000 (15:42 +0000)
committerdkl%redhat.com <>
Thu, 18 Dec 2008 15:42:45 +0000 (15:42 +0000)
Patch by Dave Lawrence <dkl@redhat.com> - r/a=LpSolit

template/en/default/bug/process/midair.html.tmpl

index d7e980e8c4d726aa0ee49e8a29cbc47af606efc9..ed3be74d3b1e287dfc613cd32b87542155ef394e 100644 (file)
@@ -88,6 +88,17 @@ You have the following choices:
         [% ", except for the added comment(s)" IF comments.size > start_at %].
     </form>
   </li>
+  [% IF cgi.param("comment") %]
+    <li>
+      <form method="post" action="process_bug.cgi">
+        <input type="hidden" name="id" value="[% cgi.param("id") FILTER html %]">
+        <input type="hidden" name="delta_ts" value="[% bug.delta_ts FILTER html %]">
+        <input type="hidden" name="comment" value="[% cgi.param("comment") FILTER html %]">
+        <input type="hidden" name="commentprivacy" value="[% cgi.param("commentprivacy") FILTER html %]">
+        <input type="submit" id="process_comment" value="Submit only my new comment">
+      </form>
+    </li>
+  [% END %]
   <li>
     Throw away my changes, and
     [%+ "revisit $terms.bug $bug.id" FILTER bug_link(bug.id) FILTER none %]