]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 389815: Can't edit shared queries if you can't run them - Patch by timeless ...
authorlpsolit%gmail.com <>
Tue, 12 Feb 2008 06:57:27 +0000 (06:57 +0000)
committerlpsolit%gmail.com <>
Tue, 12 Feb 2008 06:57:27 +0000 (06:57 +0000)
template/en/default/account/prefs/saved-searches.html.tmpl

index ee619e16ed48a4f099a059e0700ffe1d3ef878ca..241b12fa252bd7f7d1c0508e83b92e74ee424120 100644 (file)
       <th>
         Run
       </th>
+      <th>
+        Edit
+      </th>
       <th>
         Show in
         Footer
                    [% q.name FILTER url_quote %]&amp;sharer_id=
                    [% q.user.id FILTER url_quote %]">Run</a>
         </td>
+        <td>
+          <a href="query.cgi?[% q.edit_link FILTER html %]&amp;known_name=
+                   [% q.name FILTER url_quote %]">Edit</a>
+        </td>
         <td align="center">
           <input type="checkbox" 
                  name="link_in_footer_[% q.id FILTER html %]"
     [% END %]
     [% IF !found_shared_query %]
       <tr>
-        <td colspan="4" style="text-align: center">
+        <td colspan="6" style="text-align: center">
           &lt;None&gt;
         </td>
       </tr>